Commit graph

1153 commits

Author SHA1 Message Date
Clownacy
e7ce855121 Clean-up NpcAct300.cpp 2019-11-14 12:29:04 +00:00
Clownacy
f1331214fe Clean-up NpcAct320.cpp 2019-11-14 12:06:32 +00:00
Clownacy
e5d5939f18 Clean-up NpcAct340.cpp 2019-11-14 11:52:29 +00:00
Clownacy
d79a8c801a Clean-up ActNpc340 2019-11-14 02:31:49 +00:00
Clownacy
58bd3533d9 Clean-up NpChar.cpp 2019-11-14 02:22:29 +00:00
Clownacy
6862347c37 Clean-up NpcHit.cpp 2019-11-14 02:22:16 +00:00
Clownacy
696df90d19 Clean-up NpcTbl.cpp
Also added a TODO
2019-11-14 02:04:03 +00:00
Clownacy
5987a5a8d7 Clean-up Organya.cpp 2019-11-14 01:55:28 +00:00
Clownacy
e04d3b8592 Clean-up PixTone.cpp 2019-11-14 01:47:51 +00:00
Clownacy
15f711b2ec ASM-accuracy improvement for Profile.cpp
I don't know how I missed an entire function before
2019-11-14 01:42:06 +00:00
Clownacy
9468659b43 Clean-up Shoot.cpp 2019-11-14 01:06:04 +00:00
Clownacy
156e47438c Stage.cpp cleanup 2019-11-14 00:23:50 +00:00
Clownacy
e4ff51dc83 More Star.cpp cleanup 2019-11-14 00:18:10 +00:00
Clownacy
b1f698f863 Star.cpp cleanup 2019-11-14 00:15:04 +00:00
Clownacy
d641f508f2 TextScr.cpp cleanup 2019-11-14 00:15:03 +00:00
Clownacy
82454c3a62 Comment style tweaks in the last three files 2019-11-14 00:15:02 +00:00
Clownacy
d8d789a780 Triangle.cpp cleanup 2019-11-14 00:15:02 +00:00
Clownacy
64adc87f99 Clean up and accuracy fix for ValueView.cpp 2019-11-14 00:15:01 +00:00
Clownacy
c5d6109df2 Comment tweaks 2019-11-10 12:17:07 +00:00
Clownacy
01db50d0e7
Merge pull request #75 from GabrielRavier/betterComments
Improved quite a few comments
2019-11-10 12:14:25 +00:00
Gabriel Ravier
f7a3eee9b5 betterComments : Some stuff for the PR to accurate
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-10 13:09:05 +01:00
Gabriel Ravier
9461b141f1 Documentation : Removed comment which talks about an issue fixed by commit e34f492418
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:39:28 +01:00
Gabriel Ravier
058881e4eb Documentation : Tried to clarify comment on random conversion to short
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01:00
Gabriel Ravier
5b18283e5f Documentation : Made some comments clearer
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01:00
Gabriel Ravier
f840be28c7 Added better comment for random self-assign in Fade.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01:00
Gabriel Ravier
17f7f66fc9 Documentation : Comment an always true expression
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:37:10 +01:00
Gabriel Ravier
ffc6e3e75b Documentation : Comment duplicate line
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
512b2e4951 Documentation : Comment always true condition
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
a45592302f Documentation : Commented the fact that "swPlay % 2" is always true
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
32d29eb63e Documentation : Note that the fact 96 is already listed results in the condition always being false 2019-11-09 23:36:09 +01:00
Gabriel Ravier
ab4a265cd9 Documentation : Add note about duplicate block of code 2019-11-09 23:36:09 +01:00
Gabriel Ravier
6b1f82e78e Documentation : Document identical function bodies for InitBullet and ClearBullet
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
bda9fc391a Documentation : Comment redundant if
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
6635cc58ed Documentation : Comment identical case branches in NpcAct280 2019-11-09 23:36:09 +01:00
Gabriel Ravier
6f0ffe546f Documentation : Add note about identical case branches in NpcAct020
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:09 +01:00
Gabriel Ravier
c9e63c7694 Documentation : Document the identical HitMyCharMap case branches 2019-11-09 23:36:08 +01:00
Gabriel Ravier
1891591586 Documentation : Document identical case branches in ActBullet
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:08 +01:00
Gabriel Ravier
7ddcbfaa73 Add note about identical case branches
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:08 +01:00
Gabriel Ravier
347f9282fe Documentation : Commented redundant check
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:08 +01:00
Gabriel Ravier
073a15b41b Documentation : Comment implicit truncation 2019-11-09 23:36:08 +01:00
Gabriel Ravier
fa304081fe Documentation : Add note about irreproductability of __DATE
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-09 23:36:08 +01:00
Clownacy
9c56888ffd Deobfuscare more values 2019-11-09 15:40:15 +00:00
Clownacy
9df9ea76f6 Deobfuscate some code
Still ASM-accurate
2019-11-09 15:19:34 +00:00
Clownacy
266bb13be2 Compare some pointers to NULL
Doesn't affect ASM-accuracy - I just think it looks neater.
2019-11-09 14:53:34 +00:00
Clownacy
5026964d98 Fix some more incorrectly-decompiled code 2019-11-09 14:48:11 +00:00
Clownacy
e34f492418 Accuracy fixes for Igor
Includes an ASM-accuracy fix I somehow missed before.
2019-11-09 14:39:23 +00:00
Clownacy
cb87f05057
Merge pull request #77 from GabrielRavier/cmpUnclear
Make cmp usage clearer
2019-11-09 14:05:04 +00:00
Clownacy
bac98f7402
Merge pull request #81 from GabrielRavier/surroundMacroWithParentheses
Surrounded the IS_COMMAND macro with parentheses
2019-11-09 14:00:14 +00:00
Clownacy
69ec37c1cc
Merge pull request #82 from GabrielRavier/correctEnumTypeBeingConvertedToBool
Check "no" against MUS_SILENCE instead of converting it to a bool
2019-11-09 13:54:42 +00:00
Gabriel Ravier
401a8f0d42 Bug : Fix wrong == to != 2019-11-06 20:21:56 +01:00