Commit graph

37 commits

Author SHA1 Message Date
Clownacy
a18be9c450 Document background stuff a little more 2020-08-05 19:30:13 +01:00
Clownacy
b016b22a1e Do some NPC documentation 2020-08-05 16:56:26 +01:00
Clownacy
98c2a8880e Convert NPC 0's rects to decimal 2020-08-05 16:56:26 +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
90714cb7a4 Apply some missing BOOL constants 2020-04-03 23:16:40 +01:00
Clownacy
6e20f4cc15 More-accurate NpcAct000.cpp variable arrangement 2020-01-07 07:10:30 +00:00
Clownacy
de50e49f1c Clean-up NpcAct000.cpp 2019-11-14 22:42:36 +00: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
c596abdad5
Changed "init" to "Initialize" 2019-05-14 08:46:23 +02:00
Gabriel Ravier
0651f1b910
Cleaned up NpcAct000.cpp
Also changed regex to "((//|\;)[^ \t\n]|(for|while|if|while|do|void|int|bool)\((for|while|if|while|do)\ \(.*\)\;|\(\ |\ \)|//\ [a-z]|\ \ )|break;\n[\t]*case"

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-13 18:35: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
532661b0cf Made Map.cpp and some of NpcAct020.cpp ASM-accurate
Also added a new constant 'NONPORTABLE', for enabling bits of code that
are non-portable, but needed for accuracy
2019-02-24 14:35:35 +00:00
Clownacy
3fc8ceb0a6 Made NpcAct000.cpp *really* ASM-accurate
Unlike the other files, I've gone out of my way to get accurate stack
frame layouts. The Devilution comparer tool really comes in handy here.
2019-02-24 02:34:19 +00:00
Clownacy
ff4352ffde Made more NPCs ASM-accurate
Geez, there has to be a faster way to do this. This is tedious as all
hell.
2019-02-19 15:52:25 +00:00
Clownacy
754bed870c Got NpcAct000.cpp to compile in MSVC2003 and made NPCs 0/1 ASM-accurate 2019-02-19 04:33:50 +00:00
Clownacy
0bb9760d87 Rearranged #includes 2019-02-18 21:30:22 +00:00
Clownacy
f08c1c3aa6 Added some bugfixes and cleanup 2019-02-18 13:24:10 +00:00
Clownacy
1042d3fcf2 Note a difference in the old Linux port 2019-02-18 02:56:27 +00:00
Clownacy
f9a4ea9ed4 Fixed an inaccuracy in NPC002 (Behemoth)
Was missing some calls for the sound effects, screen rumble, and smoke
NPC
2019-02-18 02:39:38 +00:00
Clownacy
ee88e805b3 Fix some errors and prevent some GCC warnings 2019-02-05 22:51:44 +00:00
Clownacy
eab0523c7c Cleanup 2019-02-01 20:04:48 +00:00
Clownacy
d0b1ee7617 More NPCs 2019-02-01 15:15:27 +00:00
Clownacy
9988a8060b Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2 2019-01-31 16:57:55 +00:00
cuckydev
be3056c8bb FRig 2019-01-31 11:35:05 -05:00
cuckydev
ed4d67b0cb nope 2019-01-31 10:58:04 -05:00
Clownacy
28dfac081b More NPCs 2019-01-31 15:29:19 +00:00
Clownacy
8954e9aaca More NPCs, and added Flash.cpp 2019-01-31 13:26:59 +00:00
Clownacy
25b58cc072 More NPCs 2019-01-29 20:12:49 +00:00
Clownacy
81f22c2bb8 Added more NPCs
Mostly, if not all, Egg Corridor.
2019-01-29 18:48:43 +00:00
Clownacy
56d249283d Made NPC000 use a switchcase 2019-01-28 17:36:51 +00:00
Clownacy
0f87d1ee8f Added bunch of First Cave objects 2019-01-28 17:36:50 +00:00
Clownacy
27cfd5a575 Added NPC015, NPC018, and NPC020 (chest close, door, and chest open) 2019-01-27 12:18:21 +00:00
Clownacy
8056f42e9c Added NPC017 (health refill) 2019-01-27 11:32:04 +00:00
Clownacy
1861c02819 Added NPC016 (save point) 2019-01-27 11:16:49 +00:00
zxin
50ca5e37a2 Fixed NPC000. 2019-01-26 15:55:53 +00:00
cuckydev
a6f65f66a6 added npc 006, and uhhhhhhhhhhh changed gitignore idkidkidk 2019-01-26 10:47:12 -05:00
cuckydev
c04092df89 added first 6 npcs, npc map collision, player map collision, fixed huge issue with map drawing, causing there to be 50+% cpu usage. bluh 2019-01-25 22:38:50 -05:00