Hey (kucalc),
I was thinking that keeping revfx in one .c source file is not very neat.
Maybe split the source code into something like:
graphics.c for generic graphics stuff
sprite.c for sprite operations (take a bit space)
portio.c for the ReadPorts
rtc.c for you-know-what
machine.h for those hardware structs (st_cpg, st_wdt etc.)
serial.c
grayscale.c
And of course their respective header files.
If it is split like this, only the source files containing the required functions are compiled and linked (I think). That means space reduction and of course a cleaner file tree. I can comment your code if you want, if you fix this
Knowing how your own code works is no excuse for not writing comments in a public project
Andreas.
Revolution-FX cleanup/refactoring
Started by
Andreas B
, Sep 20 2007 07:41 PM
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users