Commit graph

958 commits

Author SHA1 Message Date
Gabriel Ravier
fc57b8e607
Cleaned up NpcAct140.cpp 2019-05-15 13:19:16 +02: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
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
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
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
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
Clownacy
106f81130c
Merge pull request #30 from GabrielRavier/improveAToE
Improve files starting with A to E
2019-05-12 19:56:01 +00:00
Gabriel Ravier
16140d1903 Revert bad "clip rect" changes
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-12 16:52:13 +02:00
Gabriel Ravier
983dad37f8 Merge branch 'master' into addCommentsToBosses 2019-05-12 16:04:24 +02:00
Gabriel Ravier
9f9e319127 Merge branch 'master' into improveAToE 2019-05-12 16:04:11 +02:00
Gabriel Ravier
da07dc5ab5 Merge branch 'master' into improveGToK 2019-05-12 16:04:10 +02:00
Gabriel Ravier
22f994eee7 Merge branch 'master' into makeFlagsMacros 2019-05-12 16:04:06 +02:00
Clownacy
9da92097a8 Deobfuscate some TimeCounter-related values 2019-05-11 02:22:10 +01:00
Clownacy
69a2697a0a Made MycParam.cpp ASM-accurate 2019-05-11 01:20:11 +01:00
Clownacy
f3d073affe Made Profile.cpp mostly ASM-accurate
The original code used MessageBoxA, but we haven't ported any of the
WinAPI stuff yet, so there's no hWnd available.
2019-05-10 20:40:58 +01:00
Gabriel Ravier
bf4aa6b6c0 Did some formatting and grammatical/orthographic corrections
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-10 09:46:05 +02:00
Gabriel Ravier
18ae3e6bf7 Corrected technically orthographically false comment
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-10 09:15:31 +02:00
Gabriel Ravier
cc01791f68 Merge branch 'master' into addCommentsToBosses 2019-05-10 08:50:43 +02:00