ProffieOS
ProffieOS copied to clipboard
Add OLED images attempt2
Github indentation might be weird.
So, In ProffieOS 6.x, I added some basic stuff for using custom display controllers. I think we need to write a custom controller for blasters so that it's only used for blasters. Might take a little more coding to make it actually work though...
Cool. So maybe just the in, out, preon, and pstoff ones for saber for now?
Yes, that seems reasonable.
Yes, that seems reasonable.
Would it be ok to just comment those parts out for now as a To-do reminder? Too messy?
In my tests, defining OLED_USE_BLASTER_IMAGES used a total of 32 additional bytes of memory.
I'm sure there's a better way to consolidate all the float-dur stuff, I don't know the syntax. something like: void Set_Duration(EffectType effect, float dur) { font_config.ProffieOS *Effect ImageDuration == 0 ? SaberBase::sound_length * 1000 : font_config.ProffieOS *Effect ImageDuration; ShowFile(&IMG_*Effect), round (dur); }