Clownacy
e2b5809990
Remove another explicit array size
2020-09-04 01:19:42 +01:00
Clownacy
5579c57738
Remove some explicit array sizes
...
These are just annoying, and chances are the source code never did
this.
I might just remove *all* of these at some point.
2020-09-04 00:54:23 +01:00
Clownacy
0c367cecf7
Add FIX_MAJOR_BUGS option
...
This one specifically fixes bugs that either invoke undefined
behaviour or cause memory leaks. Essentially, they affect stability.
Bugs that just affect gameplay will remain covered by FIX_BUGS.
2020-09-03 21:05:14 +01:00
Clownacy
d12ee0813f
Remove some trailing commas
2020-08-05 22:09:05 +01:00
Clownacy
a305151302
Apply some direction macros
2020-08-05 21:47:50 +01:00
Clownacy
a3692d1c40
Add Caret enums
2020-08-05 21:45:59 +01:00
Clownacy
d41b3993f5
Document caret stuff some more
2020-08-05 20:55:50 +01:00
Clownacy
8adf593403
Caret documentation/cleanup
2020-08-05 19:51:06 +01:00
Clownacy
220f48a98b
Backport some undefined-behaviour fixes
2020-07-06 15:11:45 +01:00
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
Gabriel Ravier
6f114d0da5
Bullet, Caret, NpcAct1{2,4,8}0, TextScr: Add a note about some overflow bugs
2020-03-17 15:31:02 +01:00
Clownacy
a762f28837
Note some out-of-bounds array accesses
...
Thanks, Gabe
2020-02-01 12:45:32 +00:00
Clownacy
0ceb8955d2
More-accurate Caret.cpp variable arrangement
2020-01-07 05:54:44 +00:00
Clownacy
9c32a5dd05
Clean-up Caret.cpp
2019-11-15 21:14:08 +00:00
Gabriel Ravier
569c2c28b6
Fix bad RECT declaration spacing
...
Yes I'm that bad at search & replace
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 18:48:18 +02:00
Gabriel Ravier
ef00d064ab
Reverted RECT formatting changes
...
That's actually how the code is supposed to be formatted
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 17:47:21 +02:00
Gabriel Ravier
e8875bd051
Redid formatting for files starting with [C-E]
...
Also fixed potentially erroneous macro MAX_STRIP (would have problems with operation order in operations)
Btw used regex "((//|\;)[^ \t]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;|\(\ |\ \)|//\ [a-z])" for this
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 15:39:59 +02: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
6816f92b6d
Fix error
2019-05-06 18:13:22 +01:00
Clownacy
75e062c775
Made Caret.cpp ASM-accurate
2019-05-06 17:23:18 +01:00
Clownacy
ec148c1072
Made the spriterects C++03-compatible
2019-02-19 22:30:43 +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
Clownacy
ee88e805b3
Fix some errors and prevent some GCC warnings
2019-02-05 22:51:44 +00:00
Clownacy
1dfab3521d
Added the rest of the carets
2019-02-03 20:08:33 +00:00
cuckydev
d152ff5ef9
Added the pop effect taht had been missing
2019-01-30 20:24:29 -05:00
cuckydev
db4a565104
Fixed some issues
2019-01-30 18:53:48 -05:00
cuckydev
eee18d71a3
Finally, bullets murder NPCS, also fixed SetExpObjects to not crash... oops!
2019-01-30 18:44:31 -05:00
cuckydev
bea22e72e0
bullet
2019-01-30 16:03:10 -05:00
cuckydev
1e7b07a102
working on arms and items
2019-01-28 12:26:35 -05:00
cuckydev
7fa14698f0
ADDED OUCHIE
2019-01-27 14:54:05 -05:00
cuckydev
b41dab1de9
oop
2019-01-26 22:20:14 -05:00
cuckydev
4fb84866a5
stuff
2019-01-26 22:15:10 -05:00
cuckydev
cbc5542cca
added some stuff
2019-01-24 22:19:56 -05:00