AmigaPorts / ACE

Amiga C Engine
Mozilla Public License 2.0
158 stars 26 forks source link

WIP AGA Support #151

Open Vairn opened 2 years ago

Vairn commented 2 years ago

Working on Adding AGA support, and AGA Features to ACE. https://github.com/AdamENESS/ACE/tree/AGA

Vairn commented 1 year ago

Even though there is no "Utils/Fade", I have added support for AGA Palette fades to the fading included with Germz.

tehKaiN commented 1 year ago

there are fade fns in utils/palette.h though. Perhaps it's the right place for them? Still, contrary to fade fns from ACE, the fade util from germz is instanced and is meant for more elaborate usage, like dimming audio etc. So perhaps it should be in separate file. We could add it as utils/fade, I think.

Vairn commented 1 year ago

I meant I tested it with the fade you Made for GermZ.

The PaletteDIM in palette.c/h is where I added some AGA support code. Which is then used by the fade from Germz.

Vairn commented 1 year ago

As per convo in Discord.

The palette format will be changed to this. Header

UWORD colourCount
UBYTE flags

Followed by n UWORDS if OCS/ECS or n ULONGS if AGA. Where n is the number of Colours.

Atm, the flags just say whether it is in 24bit AGA colour or 12bit OCS/ECS