Commit graph

41 commits

Author SHA1 Message Date
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
90d57b7d1b More direction macros 2020-08-05 22:06:53 +01:00
Clownacy
4c758bb926 Apply more direction macros 2020-08-05 22:03:51 +01:00
Clownacy
a3692d1c40 Add Caret enums 2020-08-05 21:45:59 +01:00
Clownacy
6fd6a416cd Fix another out-of-bounds array access
This one involves the Spur.
2020-07-15 16:51:11 +01:00
Clownacy
13985fb349 Added SoundMode enum
Controls whether a PlaySoundObject call start, stops, or loops a
sound
2020-07-08 18:52:32 +01:00
Clownacy
220f48a98b Backport some undefined-behaviour fixes 2020-07-06 15:11:45 +01:00
Gabriel Ravier
3092c34681 src: Add #include <stddef.h> where appropriate in order to have NULL/size_t and others from the proper header
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 18:26:44 +02:00
Clownacy
ae66ede214
Merge pull request #105 from GabrielRavier/accuratePortableBugs2SisterPR
Noted a bunch of npc->cond = 0 bugs and gTS.data-related crashes
2020-04-06 13:51:52 +01:00
Clownacy
5d37391882 Document bullets a little 2020-04-04 00:13:20 +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
25369bcf67 More-accurate Bullet.cpp variable arrangement 2020-01-07 05:51:54 +00:00
Clownacy
16c03115c9 Clean-up Bullet.cpp 2019-11-15 21:55:48 +00:00
Gabriel Ravier
6b1f82e78e Documentation : Document identical function bodies for InitBullet and ClearBullet
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
1891591586 Documentation : Document identical case branches in ActBullet
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:08 +01:00
Gabriel Ravier
cc23ef2718 Corrected forgotten RECT formatting and made comment more accurate
Added a TODO note to emphasize the fact we don't actually know what Pixel did here

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 19:24:41 +02:00
Gabriel Ravier
f0e53b87e7 Correct RECT declaration formatting
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 18:20:31 +02:00
Gabriel Ravier
2fd3ed2245 Fix declarations formatting (to be consistent)
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 14:49:35 +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
0eaca9966c Made Bullet.cpp ASM-accurate 2019-05-06 16:49:52 +01:00
Clownacy
2d0607df32 Made NpcAct300.cpp ASM-accurate 2019-02-25 17:02:21 +00:00
Clownacy
01ddc5e923 Fixed some warning MSVC2003 was giving in /W3 mode 2019-02-23 21:45:57 +00: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
b5ebf7a54f More NPCs 2019-02-08 00:24:03 +00:00
Clownacy
ee88e805b3 Fix some errors and prevent some GCC warnings 2019-02-05 22:51:44 +00:00
Clownacy
025a30fd41 Added all the remaining bullet types 2019-02-05 21:47:42 +00:00
Clownacy
00ed53ea95 Added Bubbler projectile 2019-02-04 14:22:47 +00:00
cuckydev
de6bf5209c whimsical star done 2019-02-03 13:41:15 -05:00
Clownacy
c8cef08e5e Added Super Missiles I think 2019-02-03 18:05:42 +00:00
Clownacy
e1b5d525c4 Missile Launcher part 3 2019-02-03 17:38:08 +00:00
Clownacy
f32b4b392f Maybe finished missile launcher now? 2019-02-03 17:33:33 +00:00
Clownacy
0b59c55fa9 Finished missiles maybe? 2019-02-03 17:24:31 +00:00
cuckydev
b7decf07f2 missile man bad 2019-02-02 22:27:27 -05:00
cuckydev
66e96f47b7 omega 2019-02-02 01:19:12 -05:00
Clownacy
82ebe0a722 Unuglied gBulTbl 2019-02-01 15:15:21 +00:00
cuckydev
79e4e567e9 fixed bullet 2019-01-30 16:10:19 -05:00
cuckydev
bea22e72e0 bullet 2019-01-30 16:03:10 -05:00