Commit graph

30 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
220f48a98b Backport some undefined-behaviour fixes 2020-07-06 15:11:45 +01:00
Clownacy
a5bf854408 Document gMC.equip
All raw values have been replaced with enums
2020-06-27 19:27:57 +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
5e6a57d6a5 Clean-up NpcAct140.cpp
More ASM-accuracy-improvements.

...How the heck did I miss all of these?
2019-11-14 18:23:49 +00:00
Clownacy
f596f89736 Shut up more Clang warnings 2019-10-29 12:20:48 +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
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
fc57b8e607
Cleaned up NpcAct140.cpp 2019-05-15 13:19:16 +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
819be3b600 Made NpcAct140.cpp ASM-accurate 2019-02-25 02:26:38 +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
cuckydev
9e62a6d814 added core npc stuff 2019-02-06 22:26:42 -05:00
Clownacy
a9e8b37d49 Widescreen/tallscreen fixes 2019-02-06 20:18:09 +00:00
Clownacy
e5c40c5163 More NPCs 2019-02-06 10:34:37 +00:00
Clownacy
bb78f44a2f Added Labyrinth NPCs 2019-02-06 09:44:29 +00:00
Clownacy
916e835b1f Added more NPCs 2019-02-06 00:13:47 +00:00
Clownacy
e1d8d30d3c Added the NPCs for the first room of the Labyrinth 2019-02-05 23:34:20 +00:00
Clownacy
ee88e805b3 Fix some errors and prevent some GCC warnings 2019-02-05 22:51:44 +00:00
Clownacy
593995d410 Added more NPCs
That should be Sand Zone done.
2019-02-05 18:49:21 +00:00
cuckydev
ed4d67b0cb nope 2019-01-31 10:58:04 -05:00
Clownacy
ba13b8aeea More NPCs 2019-01-30 21:06:06 +00:00
Clownacy
25b58cc072 More NPCs 2019-01-29 20:12:49 +00:00