Commit graph

26 commits

Author SHA1 Message Date
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
a3692d1c40 Add Caret enums 2020-08-05 21:45:59 +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
d6bbb013f9 Deobfuscate some BOOLs 2020-07-08 02:57:00 +01:00
Clownacy
220f48a98b Backport some undefined-behaviour fixes 2020-07-06 15:11:45 +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
affaf25e5c Sorted out the other NPCs' variables too 2020-01-07 20:35:15 +00:00
Clownacy
42a986b980 Clean-up NpcAct180.cpp 2019-11-14 16:51:44 +00:00
Clownacy
9df9ea76f6 Deobfuscate some code
Still ASM-accurate
2019-11-09 15:19:34 +00:00
Clownacy
a9265e8b45 Fix some errors when compiled with Visual Studio 6
Thanks to Mint for testing VS6. The compiler would complain about
the declaration of these variables being skipped by the switch's
labels. Pretty sure this is perfectly-legal C++98, but whatever.

...

Stupid old compilers.
2019-10-17 00:47:25 +01:00
Clownacy
3e34136f69 Overhauled the NPC_flags, and applied them everywhere
No more raw values floating about in the decompiled code.
Been wanting to do this for ages.
2019-08-21 17:59:06 +00:00
Gabriel Ravier
6d462c6fc6
Clean up NpcAct180.cpp 2019-05-15 19:36:45 +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
53b39cfa72 Note some bad code 2019-02-27 21:56:16 +00:00
Clownacy
65be197fdf Made NpcAct180.cpp 2019-02-25 10:12:56 +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
d7813fd900 Fixed some warnings 2019-02-13 15:43:35 +00:00
Clownacy
aa08331c36 Added IronHead and relevant NPCs
Also added the AMJ TSC command, so getting the Spur works
2019-02-07 15:10:46 +00:00
Clownacy
f47f036e36 Added Core and more NPCs 2019-02-07 14:08:53 +00:00
cuckydev
9e62a6d814 added core npc stuff 2019-02-06 22:26:42 -05:00
Clownacy
66d9de1572 More NPCs 2019-02-06 22:46:28 +00:00
Clownacy
613d2262b4 More NPCs 2019-02-06 22:26:14 +00:00
Clownacy
916e835b1f Added more NPCs 2019-02-06 00:13:47 +00:00
Clownacy
91a7c0185c Added more NPCs
Started on Sand Zone NPCs
2019-02-04 21:16:41 +00:00
Clownacy
c29543001d Added more NPCs and Balfrog 2019-02-04 18:58:30 +00:00