Commit graph

1259 commits

Author SHA1 Message Date
Clownacy
7c33b0ac5f More-accurate MiniMap.cpp variable arrangement 2020-01-07 06:47:55 +00:00
Clownacy
295e70ded8 Correct a misnamed variable 2020-01-07 06:43:04 +00:00
Clownacy
86412f0528 More-accurate Map.cpp variable arrangement 2020-01-07 06:40:58 +00:00
Clownacy
d83665ff2a More-accurate Main.cpp variable arrangement 2020-01-07 06:29:04 +00:00
Clownacy
bd6f2fe81d More-accurate GenericLoad.cpp variable arrangement 2020-01-07 06:25:12 +00:00
Clownacy
34bee5073f More-accurate Generic.cpp variable arrangement
Also found some authentic variable names
2020-01-07 06:23:19 +00:00
Clownacy
fb64e057ca More-accurate Frame.cpp variable arrangement 2020-01-07 06:09:46 +00:00
Clownacy
e0a8bd5114 More-accurate Flash.cpp variable arrangement 2020-01-07 06:08:23 +00:00
Clownacy
b6d689aaa6 More-accurate Fade.cpp variable arrangement 2020-01-07 06:06:54 +00:00
Clownacy
b1dbce8743 More-accurate Ending.cpp variable arrangement 2020-01-07 06:05:07 +00:00
Clownacy
0ceb8955d2 More-accurate Caret.cpp variable arrangement 2020-01-07 05:54:44 +00:00
Clownacy
25369bcf67 More-accurate Bullet.cpp variable arrangement 2020-01-07 05:51:54 +00:00
Clownacy
f33b7b386b More-accurate BulHit.cpp variable arrangement 2020-01-07 05:37:40 +00:00
Clownacy
1ea4031de8 More-accurate BossX.cpp variable-arrangement 2020-01-07 05:34:05 +00:00
Clownacy
c1abe80682 More-accurate BossTwinD.cpp variable arrangement 2020-01-07 05:31:03 +00:00
Clownacy
a22f4acd58 More-accurate BossPress.cpp variable arrangement 2020-01-07 05:29:21 +00:00
Clownacy
d137369a93 More-accurate BossIronH.cpp variable arrangement 2020-01-07 05:26:54 +00:00
Clownacy
3fdd459ad2 More-accurate BossFrog.cpp variable arrangement 2020-01-07 05:25:24 +00:00
Clownacy
15f9297ec7 More-accurate BossBallos.cpp variable arrangement 2020-01-07 05:23:10 +00:00
Clownacy
de7ea5a251 More-accurate BossAlmo2.cpp variable arrangement 2020-01-07 05:20:36 +00:00
Clownacy
a0813edd2b More-accurate Boss.cpp variable arrangement 2020-01-07 05:15:56 +00:00
Clownacy
36f203ca16 More-accurate Back.cpp variable arrangement 2020-01-07 05:11:43 +00:00
Clownacy
e70074cf64 More-accurate ArmsItem.cpp variable arrangement 2020-01-07 05:07:47 +00:00
Clownacy
dbe773f01a ...Remove more C-compatibility stuff 2020-01-07 04:50:15 +00:00
Clownacy
30968a626c Remove all the C-compatibility stuff 2020-01-07 04:46:58 +00:00
Clownacy
7f953924eb Make VS2003 compile everything as C++ again
As recent findings in #41 have shown, the codebase appears to be
C++98, not C89.
2020-01-07 04:40:27 +00:00
Clownacy
098647f7fd More-accurate TextScr.cpp variable arrangement 2020-01-07 04:39:14 +00:00
Clownacy
8a860c57f3 Deleted Types.h
Leftover from the Linux port, where it seemed to contains standard
types like int32_t and __quad_t.

Personally, I think Linux port implementation details like this are
out of the scope of the project.
2020-01-06 21:21:33 +00:00
Clownacy
58d7a45392 Empty Tags.h
There's no evidence Tags.h contained these variables (if anything, it
appears that Pixel manually declared them in every file that used
them).

gg Pixel
2020-01-06 21:20:17 +00:00
Clownacy
9498fe13be Made TextScr.cpp valid C89
See #41
2020-01-06 21:15:42 +00:00
Clownacy
65682dd913 Made Dialog.cpp valid C89
See #41
2020-01-06 21:01:17 +00:00
Clownacy
fb8ba25d0f Made Stage.cpp valid C89
See #41
2020-01-06 20:57:20 +00:00
Clownacy
33c1ea8f20 Made ValueView.cpp valid C89 2020-01-06 20:05:49 +00:00
Clownacy
c838e8ebcb Add and apply the enum_ESCRETURN enum
Restored from the original source code, as it survived in the Linux
port's debug data.
2020-01-06 19:19:17 +00:00
Clownacy
b5ad6f5154 Made Star.cpp compile as C89 in VS2003
I hope this doesn't get *too* invasive.
2020-01-06 18:39:23 +00:00
Clownacy
f36fc61de3 Made Input.cpp more ASM-accurate
There was one ASM-inaccuracy I missed last time, but now I've also
made the file's memory layout accurate (it appears that global
variable initialisation actually affects the order they reside in
memory).
2020-01-06 16:57:41 +00:00
Clownacy
38484613d5 Better GUID-printing bugfix
%hhx is a C99 thing, apparently.
2020-01-05 04:44:32 +00:00
Clownacy
354f23cf3f Improved accuracy of Input.cpp
Applied some missing constants/macros, and corrected an
ASM-inaccuracy.

I always wondered why the original code only passed the first member
of the GUID struct, but it turned out it didn't: it actually passed
the whole thing.

Also, it's starting to bother me how many ASM-inaccuracies have
sneaked-through. v2.0 was *meant* to have fixed all this already.
2020-01-05 03:48:02 +00:00
Clownacy
9bfaeb5390 Apply some more missing constants 2020-01-04 21:48:52 +00:00
Clownacy
5b4d343df4 Apply missing constants
Yay WinAPI
2020-01-04 19:45:39 +00:00
Clownacy
b35fa162e0 Remove a pair of variable declarations
Besides, these are defined in Main.cpp, not KeyControl.cpp.

Anyway, according to the Linux debug data, these two were never
declared outside of Main.cpp, showing they were never declared in a
header file.
2020-01-04 01:01:11 +00:00
Clownacy
6052a09074 Apply missing KEY_ESCAPE constant 2020-01-04 00:52:57 +00:00
Clownacy
5cb06c9b76 Use $(info instead of echo 2019-12-05 15:53:49 +00:00
Clownacy
5985fceaee Indent non-recipe Makefile lines with spaces
Apparently tabs should only be used for recipies
2019-12-05 15:46:38 +00:00
Clownacy
20ed61a1f4 Define NDEBUG in RELEASE builds 2019-12-05 15:04:53 +00:00
Clownacy
b8c70473dc Make Makefile CXXFLAGS overriding safe
The new mingw-w64-make package on Arch Linux's AUR enables
cross-compiling by overriding the CC, CXXFLAGS, and LDFLAGS
variables, but previously CSE2's Makefile wasn't designed to allow
this, causing it to break. Now, it should work properly.
2019-12-05 12:51:57 +00:00
Clownacy
0af9bcc89b Fix ASM-inaccuracy
I have no idea how that snuck through.
2019-12-03 19:27:26 +00:00
Clownacy
16b9f1f0a4 Clean-up PixTone.cpp some more 2019-11-21 19:50:20 +00:00
Clownacy
4154b8c1bd Minor cleanup to IsEnableBitmap 2019-11-17 18:25:23 +00:00
Clownacy
7e2e2c1406 Add warnings to Makefile, and fix WINDRES 2019-11-17 18:04:20 +00:00