Commit graph

848 commits

Author SHA1 Message Date
Gabriel Ravier
6c5aea8a2c
Cleaned up NpcAct220.cpp 2019-05-15 21:18:34 +02:00
Gabriel Ravier
5412390860
Cleaned up NpcAct200.cpp 2019-05-15 21:08:23 +02:00
Gabriel Ravier
6d462c6fc6
Clean up NpcAct180.cpp 2019-05-15 19:36:45 +02:00
Gabriel Ravier
edaf94f3c2
Cleaned up NpcAct160.cpp 2019-05-15 19:20:22 +02:00
Clownacy
b49d3acf2c
Merge pull request #32 from GabrielRavier/makeFlagsMacros
Make some of the Flags.cpp stuff simpler
2019-05-15 15:49:54 +00:00
Gabriel Ravier
0e0cbf9409
Simplify a comment in Flags.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-15 17:46:14 +02:00
Gabriel Ravier
92a2327187
Removed BIT macros in Flags.cpp
Just directly define the FLAG macros as those
2019-05-15 13:25:13 +02:00
Gabriel Ravier
fc57b8e607
Cleaned up NpcAct140.cpp 2019-05-15 13:19:16 +02:00
Clownacy
42d5bfae5f
Merge pull request #34 from GabrielRavier/improveF
Improve files starting with F
2019-05-14 09:52:42 +00:00
Gabriel Ravier
ccb37e12b1
Remove space before commented out code
ಠ_ಠ

Co-Authored-By: Clownacy <Clownacy@users.noreply.github.com>
2019-05-14 11:22:38 +02:00
Gabriel Ravier
601e511bff
Did formatting for NpcAct120.cpp 2019-05-14 09:40:56 +02:00
Gabriel Ravier
9b3b7039da
Did formatting for NpcAct100.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-14 09:31:34 +02:00
Gabriel Ravier
06a7e86c63
Corrected formatting in NpcAct080.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-14 08:54:03 +02:00
Gabriel Ravier
57767f338e
More formatting stuff
Also "Mahin the sex god" 😂

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-14 08:50:22 +02:00
Gabriel Ravier
c596abdad5
Changed "init" to "Initialize" 2019-05-14 08:46:23 +02:00
Gabriel Ravier
cc9fbbd1c0
Corrected formatting in NpcAct040.cpp 2019-05-14 08:44:46 +02:00
Gabriel Ravier
e8cacce5e7
Did formatting stuff in NpcAct020.cpp 2019-05-14 08:41:08 +02:00
Gabriel Ravier
45fb8940af
Correct style in Font.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-14 08:24:52 +02:00
Gabriel Ravier
1343e408b1
Merge branch 'master' into feature/makeFlagsMacros 2019-05-14 08:15:43 +02:00
Gabriel Ravier
107fd3551d
Merge branch 'master' into feature/improveNpcAct 2019-05-14 08:15:38 +02:00
Gabriel Ravier
12c633a64a
Merge branch 'master' into feature/improveF 2019-05-14 08:15:35 +02:00
Gabriel Ravier
5a2f98ece4
Merge pull request #20 from Clownacy/master
Merge Clownacy/master into master
2019-05-14 08:09:58 +02:00
Clownacy
b2812053b7 Shut up a warning GCC was giving me 2019-05-14 01:47:30 +01:00
Clownacy
00ca00f5dd Weed out some usage of C++ bools
Pixel used BOOL, the C89-friendly Windows-specific equivalent
2019-05-14 01:35:04 +01:00
Clownacy
9de26337dc
Merge pull request #13 from GabrielRavier/addBetterMakefileDebugFlags
Add better Makefile debug flags
2019-05-13 22:52:55 +00:00
Clownacy
d5dd2c9575 Made TextScr.cpp almost ASM-accurate
TextScriptProc is all that's left, but it's being a pain, so I'm
commiting this now, and dealing with the straggler later.
2019-05-13 23:51:11 +01:00
Clownacy
e1d3898d59 Made SelStage.cpp ASM-accurate 2019-05-13 21:31:14 +01:00
Clownacy
c9d5b3d03a Made Ending.cpp ASM-accurate 2019-05-13 20:43:43 +01:00
Gabriel Ravier
bce894210d
Move macros in Flags.cpp right below the includes
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-13 20:54:43 +02:00
Clownacy
d3af5e372f Made ArmsItem.cpp ASM-accurate 2019-05-13 19:00:48 +01:00
Gabriel Ravier
2cd6692a00
Merge branch 'develop' into feature/makeFlagsMacros 2019-05-13 19:41:44 +02:00
Gabriel Ravier
81a1df6ed4
Merge branch 'develop' into feature/improveNpcAct 2019-05-13 19:41:36 +02:00
Gabriel Ravier
e9d766677e
Merge branch 'develop' into feature/improveF 2019-05-13 19:41:15 +02:00
Gabriel Ravier
843677bd7a
Merged 'develop'. 2019-05-13 19:31:15 +02:00
Gabriel Ravier
11f6bf9f16
Merge pull request #18 from Clownacy/master
Merge Clownacy/master into master
2019-05-13 19:17:40 +02:00
Gabriel Ravier
a0f4bae094
Moved and renamed flag macros
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-13 18:58:29 +02:00
Clownacy
9b82baeb02 Made MiniMap.cpp actually ASM-accurate 2019-05-13 17:50:09 +01: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
Clownacy
cc1df04fab Fix broken code in MyChar.cpp 2019-05-13 16:28:02 +01:00
Clownacy
9398314af6 Shut up some MSVC2003 warnings, and comment on another one
I'm not fixing that last one, since I'd rather futureproof the code in
the event the SDL2 devs update the function to use size_t.
2019-05-13 15:45:45 +01:00
Clownacy
c8630a8669 Removed the stdint.h replacement for MSVC2003 2019-05-13 15:24:34 +01: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
a94d9a4367 Made NpcAct100.cpp ASM-accurate
See #74. Finally, I figured out what might be causing the register
differences. Considering how long this NPC's code is, it makes sense
that there might be some vestigial checks.
2019-05-13 14:23:08 +01:00
Clownacy
f04872b91b Made MyChar.cpp ASM-accurate
See #74
2019-05-13 14:17:03 +01:00
Gabriel Ravier
7f75ad6ef8
Added comment for macros 2019-05-13 14:20:39 +02:00
Gabriel Ravier
df119e69d7
Removed redundant semi-colons 2019-05-13 14:19:58 +02:00
Clownacy
d4d82d0ba8 Made MycHit.cpp ASM-accurate 2019-05-13 12:19:04 +01:00
Clownacy
3bccba6236 Made NpcHit.cpp ASM-accurate 2019-05-13 02:46:07 +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
a711b34de7
Merge pull request #29 from GabrielRavier/addCommentsToBosses
Add comments to bosses
2019-05-12 19:56:25 +00:00