Commit graph

1268 commits

Author SHA1 Message Date
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
Clownacy
67c4156764 Shut up another Clang warning 2019-11-17 17:59:33 +00:00
Clownacy
87f74bcb6b Clean-up ActNpc169 2019-11-17 17:53:58 +00:00
Clownacy
dabf04f8ab Remove leftover macro 2019-11-17 17:53:50 +00:00
Clownacy
64412196f1 Shut up some clang warnings
This seems to produce the same assembly code
2019-11-17 17:14:08 +00:00
Clownacy
1a0cb626f8 Clean-up ArmsItem.cpp 2019-11-17 16:51:44 +00:00
Clownacy
5914ce01ef Clean-up Back.cpp 2019-11-17 16:31:34 +00:00
Clownacy
4e82665819 Clean-up Boss.cpp 2019-11-17 16:18:06 +00:00
Clownacy
d7033994ac Clean-up BossAlmo1.cpp 2019-11-17 16:05:42 +00:00
Clownacy
bcbab0745c Clean-up BossAlmo2.cpp
Pixel's way of converting tiles to units is inconsistent: the ASM
shows he sometimes does '* 0x200 * 0x10', other times it's
'* 0x10 * 0x200', and in this file he does '* 0x2000'.

This means TILES_TO_UNITS won't be usable for every case, so I'm not
sure if we should even have it. It's pretty clear that Pixel just
multiplied things manually, without a macro to keep things
consistent. And if we're getting rid of that, then what does that
mean for PIXELS_TO_UNITS?
2019-11-17 15:10:33 +00:00
Clownacy
519acb5db1 Clean-up BossBallos.cpp 2019-11-17 14:50:03 +00:00
Clownacy
e04f4184f4 Clean-up BossFrog.cpp
Also removed SECONDS_TO_FRAMES because Pixel inconsistently times to
50FPS and 60FPS, making assumptions like this too shaky.
2019-11-17 14:29:25 +00:00
Clownacy
d6d063ab9a Clean-up BossIronH.cpp 2019-11-16 01:48:23 +00:00
Clownacy
55447a6c49 Clean-up BossLife.cpp 2019-11-16 01:48:13 +00:00
Clownacy
379365fd86 Clean-up BossOhm.cpp 2019-11-16 01:37:05 +00:00
Clownacy
04c2f4c055 Clean-up BossPress.cpp 2019-11-16 01:22:50 +00:00
Clownacy
ab4763d2a3 Clean-up BossTwinD.cpp 2019-11-16 01:13:10 +00:00
Clownacy
4f60a939af Clean-up BossX.cpp 2019-11-16 00:59:47 +00:00
Clownacy
93e5812e6c Clean-up BulHit.cpp 2019-11-16 00:33:25 +00:00
Clownacy
16c03115c9 Clean-up Bullet.cpp 2019-11-15 21:55:48 +00:00
Clownacy
9c32a5dd05 Clean-up Caret.cpp 2019-11-15 21:14:08 +00:00
Clownacy
ed242f8d90 Clean-up Config.cpp 2019-11-15 21:03:20 +00:00
Clownacy
989013168c Clean-up Draw.cpp 2019-11-15 21:00:29 +00:00
Clownacy
a3fd87e581 Clean-up Ending.cpp 2019-11-15 20:53:31 +00:00
Clownacy
b4e651398a Clean-up Escape.cpp 2019-11-15 20:34:29 +00:00
Clownacy
80e217edf3 Clean-up Fade.cpp 2019-11-15 20:24:53 +00:00
Clownacy
b3843d596c Clean-up Flags.cpp 2019-11-15 20:15:47 +00:00
Clownacy
3bc95d875d Clean-up Flash.cpp 2019-11-15 20:14:53 +00:00
Clownacy
826abb343f Clean-up Frame.cpp 2019-11-15 20:12:41 +00:00
Clownacy
5e49d734c9 Clean-up Game.cpp 2019-11-15 20:00:43 +00:00
Clownacy
262fcfbaa3 Clean-up Generic.cpp
Also applied some windows.h constants over raw values
2019-11-15 19:44:44 +00:00
Clownacy
f39e80efc3 Clean-up GenericLoad.cpp
Another ASM-inaccuracy. Dammit.
2019-11-15 18:50:45 +00:00
Clownacy
c5a8fec289 Clean-up Input.cpp 2019-11-15 18:44:59 +00:00
Clownacy
57391868f9 Clean-up KeyControl.cpp 2019-11-15 18:32:52 +00:00
Clownacy
6c2ca988a8 Clean-up Main.cpp
Found an ASM-inaccuracy. Yay.
2019-11-15 18:31:48 +00:00
Clownacy
9513a04f45 Clean-up Map.cpp 2019-11-15 14:24:21 +00:00
Clownacy
0c245b995f Clean-up MapName.cpp 2019-11-15 12:56:47 +00:00
Clownacy
02f6972ef8 Clean-up MiniMap.cpp 2019-11-15 12:44:02 +00:00
Clownacy
30ad5189f6 Clean-up MyChar.cpp 2019-11-15 12:32:35 +00:00
Clownacy
7df1eb9c58 Clean-up MycHit.cpp
Found some ASM-inaccuracies in here too
2019-11-14 23:58:33 +00:00
Clownacy
dcc0f14266 Clean-up MycParam.cpp 2019-11-14 23:02:10 +00:00
Clownacy
de50e49f1c Clean-up NpcAct000.cpp 2019-11-14 22:42:36 +00:00