Commit graph

23 commits

Author SHA1 Message Date
Clownacy
5167a341aa Made NpChar.cpp ASM-accurate
SetBulletObject has a commented-out if, it seems, and the leftover
braces affected the ASM.
2019-06-30 00:57:19 +01:00
Gabriel Ravier
06e65cad6e
Revamped NpChar, NpcHit and NpcTbl
Also changed regex to "((//|\;)[^
\t\n]|(for|while|if|while|do|void|int|bool)\((for|while|if|while|do)\
\(.*\)\;|\(\ |\ \)|//\ [a-z]|\ \ )|break;\n[\t]*[^\n\t\}(\/\/
Fallthrough]|[^\t\n]\{[^\n]|[^\n\t]\}[^\n]"

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-06-13 20:39:46 +02:00
Clownacy
676ee004fe Removed the dependency on stdint.h
This doesn't exist in MSVC2003, and nothing in the Linux port's debug
symbols indicate Pixel used it.
2019-05-13 15:18:33 +01:00
Clownacy
fb87b8dd57 Made NpChar.cpp almost ASM-accurate
For some damn reason I can't replicate SetBulletObject stack frame
layout.
2019-05-12 23:47:31 +01:00
Clownacy
f8d4ae7014 Made Stage.cpp ASM-accurate 2019-05-07 13:52:50 +01: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
25e68bfb9d Mark string pointers as const 2019-05-06 20:18:24 +01:00
Clownacy
3e5f44f8de Changed some things to BOOL/BOOLEAN, for ASM-accuracy 2019-02-22 22:23:57 +00:00
Clownacy
55f1d3a9fe Fixed some problems found while compiling most of this with VC++2003
I could compile most of this, but not link it (SDL2's .lib files must
be too new).
2019-02-20 03:55:05 +00:00
Clownacy
84945aa898 Removed some old unimplemented-function stuff that we no longer need 2019-02-19 00:55:01 +00:00
Clownacy
0bb9760d87 Rearranged #includes 2019-02-18 21:30:22 +00:00
Clownacy
809fb95b26 Fix Surface_Ids crash 2019-02-18 20:40:51 +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
c44186d93a Ditched SDL's file IO for stdio and our own convenience functions
ASM-accurate file stuff can come later.
2019-02-15 20:33:08 +00:00
cuckydev
66e96f47b7 omega 2019-02-02 01:19:12 -05:00
cuckydev
eee18d71a3 Finally, bullets murder NPCS, also fixed SetExpObjects to not crash... oops! 2019-01-30 18:44:31 -05:00
Clownacy
81f22c2bb8 Added more NPCs
Mostly, if not all, Egg Corridor.
2019-01-29 18:48:43 +00:00
cuckydev
10d946aca2 map system doesn't work 2019-01-29 09:17:13 -05:00
cuckydev
11bbcde9f8 worked on tsc some more, fixed Surface2Surface, blah blah blah happy birthday to me 2019-01-27 01:28:14 -05:00
zxin
50ca5e37a2 Fixed NPC000. 2019-01-26 15:55:53 +00:00
cuckydev
cbc5542cca added some stuff 2019-01-24 22:19:56 -05:00
cuckydev
51638079c7 worked on npc stuff 2019-01-22 22:04:35 -05:00
cuckydev
f43a3c1130 Org and sound 2019-01-19 21:23:04 -05:00