Commit graph

14 commits

Author SHA1 Message Date
Clownacy
03250d62a0 Make variables more accurate
This commit changes which variables are static: the Mac (and
presumably the Linux) debug data tells you what variables are static,
by prefixing their names with double_underscores.

The variable names themselves also hint at this: global variables are
prefixed with 'g', and use upper-camelcase, while static variables
use whatever_you_call_this.
2020-05-03 20:28:56 +01:00
Clownacy
b6d689aaa6 More-accurate Fade.cpp variable arrangement 2020-01-07 06:06:54 +00:00
Clownacy
80e217edf3 Clean-up Fade.cpp 2019-11-15 20:24:53 +00:00
Gabriel Ravier
f840be28c7 Added better comment for random self-assign in Fade.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01:00
Clownacy
c80b593a3f Some #include fixes
Finally figured out how to get include-what-you-use working
2019-06-06 18:44:28 +00:00
Gabriel Ravier
960fa6f456 Removed all trailing spaces and added newline at EOF (when not present)
Also changed a "linux" to "Linux"

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 11:55:42 +02:00
Clownacy
421a3c46cd Made signed chars explicit
The default sign varies between hardware.

Text seems to always be ambiguously 'char', so I've left those
2019-05-06 20:04:47 +01:00
Clownacy
2d23396d0d Made Fade.cpp actually ASM-accurate 2019-02-25 23:28:27 +00:00
Clownacy
5754da507d Made gFade static
We don't need to leak all this
2019-02-21 20:23:24 +00:00
Clownacy
5ba0454bc8 Made Fade.cpp ASM-accurate 2019-02-21 19:46:52 +00:00
Clownacy
0bb9760d87 Rearranged #includes 2019-02-18 21:30:22 +00:00
Clownacy
e5caff593c Removed the SDL dependency from Draw.h
Should make compiling with VC++ 2003 simpler
2019-02-18 20:40:07 +00:00
Clownacy
132d3c5110 Applied SURFACE_ID constants to everything 2019-02-18 14:36:58 +00:00
cuckydev
a7f62c01a5 added fading 2019-01-22 10:48:16 -05:00