ProffieOS icon indicating copy to clipboard operation
ProffieOS copied to clipboard

Add OLED images attempt2

Open NoSloppy opened this issue 2 years ago • 5 comments

Github indentation might be weird.

NoSloppy avatar Jun 21 '22 06:06 NoSloppy

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...

profezzorn avatar Jun 21 '22 23:06 profezzorn

Cool. So maybe just the in, out, preon, and pstoff ones for saber for now?

NoSloppy avatar Jun 22 '22 03:06 NoSloppy

Yes, that seems reasonable.

profezzorn avatar Jun 29 '22 18:06 profezzorn

Yes, that seems reasonable.

Would it be ok to just comment those parts out for now as a To-do reminder? Too messy?

NoSloppy avatar Jun 29 '22 18:06 NoSloppy

In my tests, defining OLED_USE_BLASTER_IMAGES used a total of 32 additional bytes of memory.

NoSloppy avatar Jul 05 '22 21:07 NoSloppy

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); }

NoSloppy avatar Oct 19 '22 02:10 NoSloppy