Commit graph

1491 commits

Author SHA1 Message Date
Clownacy
4ebfe064ff Fix compilation 2020-01-22 23:33:59 +00:00
Clownacy
d50c012446 Input.cpp corrections
Typical Microsoft: make the return type a BOOL, but the make the
actual values some random enum.
2020-01-21 11:58:29 +00:00
Clownacy
6764f17ab9 Added bugfix for StartDirectDraw failure
The original code didn't account for it failing, which leads to
annoying bugs happening whenever it does fail.

Now, the game just closes, like it does with any other init error.
2020-01-17 10:35:43 +00:00
Clownacy
727b3eee0d Capitalise 'Clang' 2020-01-15 08:16:57 +00:00
Clownacy
48651f0b94 Backport a readme line from the portable branch 2020-01-15 08:02:50 +00:00
Clownacy
dba45f7d0f Makefile: Specify file extensions
This matches the portable branch's CMakeLists.txt, and make mixed
C/C++ code less awkward-looking.
2020-01-15 07:54:33 +00:00
Clownacy
a09f73f2ea Specify that WARNINGS enables compiler warnings 2020-01-15 07:46:02 +00:00
Clownacy
a1937b4730 Backport the portable branch's warnings 2020-01-15 07:45:36 +00:00
Clownacy
78a066ce75 Note some inaccurate stack frames 2020-01-09 06:58:04 +00:00
Clownacy
3c7a1b285d Ignore the build folder, and tweak paths 2020-01-09 06:38:14 +00:00
Clownacy
2752deccdf Ignore some more files 2020-01-09 06:36:24 +00:00
Clownacy
35e4c6e766 Mark TSC files as binary, not text 2020-01-09 06:32:10 +00:00
Clownacy
406087bebb Added a missing #include in Organya.cpp 2020-01-08 13:34:54 +00:00
Clownacy
a5df6ebc72 Remove SET_RECT macro
I should probably remove WindowsWrapper.h from this branch now, and
just make files use windows.h directly.
2020-01-07 23:15:33 +00:00
Clownacy
cb4bd02ab5 More-accurate ValueView.cpp variable arrangement
Finally done with this
2020-01-07 22:20:22 +00:00
Clownacy
5adc06536b More-accurate Triangle.cpp variable arrangement 2020-01-07 22:13:37 +00:00
Clownacy
3f2d5c3e25 More-accurate Stage.cpp variable arrangement 2020-01-07 22:08:10 +00:00
Clownacy
32d635581a Sound.cpp variable arrangement tweaks
Not much can be done for this file, considering how heavily it was
modified in the Linux port.

While I was here, I noted the unused .wav loading function.
2020-01-07 22:03:49 +00:00
Clownacy
e459364a33 More-accurate Shoot.cpp variable arrangement 2020-01-07 21:58:35 +00:00
Clownacy
cef901792b More-accurate SelStage.cpp variable arrangement 2020-01-07 21:53:21 +00:00
Clownacy
74cd1b0473 More-accurate Profile.cpp variable arrangement 2020-01-07 21:50:36 +00:00
Clownacy
10a014dabd More-accurate PixTone.cpp variable arrangement
Also added the Linux port's optimisation, for anyone that's curious
2020-01-07 21:45:43 +00:00
Clownacy
5abf8a8878 More-accurate Organya.cpp variable arrangement
Also found some authentic variable names
2020-01-07 21:38:34 +00:00
Clownacy
718cb714ee More-accurate NpcTbl.cpp variable arrangement
For some reason, the Linux debug data notes a 2000-line gap before
any declarations. Might be the SDL header or something.
2020-01-07 20:58:46 +00:00
Clownacy
ce4373481b More-accurate NpcHit.cpp variable arrangement 2020-01-07 20:52:58 +00:00
Clownacy
63e855c7fa More-accurate NpChar.cpp variable arrangement 2020-01-07 20:48:21 +00:00
Clownacy
affaf25e5c Sorted out the other NPCs' variables too 2020-01-07 20:35:15 +00:00
Clownacy
6e20f4cc15 More-accurate NpcAct000.cpp variable arrangement 2020-01-07 07:10:30 +00:00
Clownacy
6d400cfcd4 Minor code style tweak 2020-01-07 07:06:02 +00:00
Clownacy
e978543dad More-accurate MycParam.cpp variable arrangement 2020-01-07 07:05:26 +00:00
Clownacy
24b36ccda8 More-accurate MycHit.cpp variable arrangement 2020-01-07 06:57:03 +00:00
Clownacy
f0273ecf3f More-accurate MyChar.cpp variable arrangement 2020-01-07 06:52:36 +00:00
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