Commit graph

1198 commits

Author SHA1 Message Date
Clownacy
7f0b8ac40d Missed an 'SDLTexture', there 2019-10-14 22:35:47 +00:00
Clownacy
0b8c49b984 Rename SDL RENDERER options
Been meaning to do this for ages
2019-10-14 22:20:21 +00:00
Clownacy
13e5f446af Merge branch 'accurate' into portable 2019-10-14 22:17:20 +00:00
Clownacy
253b33d34f Turns out this isn't debug-related
Or if it was, it was repurposed: <NUM is used by the 'you got X
missiles' script.
2019-10-14 21:00:04 +00:00
Clownacy
ddd0c17257 Undo that last edit in this branch
We need these
2019-10-13 01:56:33 +00:00
Clownacy
3bbc0286bc Merge branch 'accurate' into portable 2019-10-13 01:55:54 +00:00
Clownacy
883f5470db Remove leftover bin2h stuff from Makefile 2019-10-13 01:55:40 +00:00
Clownacy
da9a976960 Merge branch 'accurate' into portable 2019-10-13 01:54:13 +00:00
Clownacy
aad7e41ded Remove leftover DoConfig stuff from the Makefile 2019-10-13 01:46:27 +00:00
Clownacy
7be98ac50f Merge branch 'accurate' into portable 2019-10-13 01:45:24 +00:00
Clownacy
709065d716 Use a sizeof instead of this raw value 2019-10-12 16:54:58 +00:00
Clownacy
869bff3da1 These values are arbitrary, not the screen size 2019-10-12 16:41:40 +00:00
Clownacy
63858fc31e Add a TODO 2019-10-10 19:28:05 +00:00
Clownacy
9239b1ea80 Merge branch 'accurate' into portable 2019-10-02 15:33:15 +00:00
Clownacy
591236398f ...And don't break the indentation
Am I rusty, or something? Jeez.
2019-10-02 15:28:21 +00:00
Clownacy
5329a6d1b7 ...goddammit I didn't save 2019-10-02 15:25:43 +00:00
Clownacy
8f6403f233 Catch another instance of Shift-JIS
Also removed the translation because it's ASM-inaccurate
2019-10-02 15:24:36 +00:00
Clownacy
b1513dd85e Merge branch 'accurate' into portable 2019-09-28 15:38:09 +00:00
Clownacy
a8fb0839fa Note Shift-JIS strings 2019-09-28 15:35:41 +00:00
Clownacy
c759498169 Merge branch 'accurate' into portable 2019-09-27 15:20:56 +00:00
Clownacy
99f9629376 Remove the SHIFT-JIS from the stage table
Clang never stops complaining about it, so instead we just use raw
hex values, and have the original Japanese in UTF-8 as a comment.
2019-09-27 15:16:12 +00:00
Clownacy
5838eaba1f Add a FOSS Japanese font
It doesn't seem that great at 320x240, but I don't speak Japanese so
what do I know?
2019-09-27 11:18:26 +00:00
Clownacy
7bf3109019 Cast X_TO_UNITS and UNITS_TO_X values to int
This shuts up some MSVC warnings about implicitly casting doubles to
ints when the macros' results are assigned to variables.
2019-09-25 17:29:22 +01:00
Clownacy
d2df9d9104
Merge pull request #55 from GabrielRavier/commentArmsItem
Comment ArmsItem
2019-09-25 16:45:10 +01:00
Gabriel Ravier
a67700d927
Clarify vague comment
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-24 10:12:05 +02:00
Gabriel Ravier
bf1239c4a1
Commented all members of ARMS
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-24 09:32:21 +02:00
Gabriel Ravier
6645b85139
Change gArmsEnergyX stuff from hexadecimal to decimal. Also commented some more stuff.
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-24 09:30:44 +02:00
Gabriel Ravier
b2b9d8ab12
Used tabs instead of spaces before trailing comments
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 20:29:09 +02:00
Gabriel Ravier
417fce45b3
Fixed other static function 2019-09-23 20:25:55 +02:00
Gabriel Ravier
e2c7ea8996
Left long lines long instead of making them take several lines
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 20:22:49 +02:00
Gabriel Ravier
818640781b
Fixed switch formatting
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 20:18:49 +02:00
Gabriel Ravier
5ca917bc97
Removed usage of TILES_TO_PIXELS/PIXELS_TO_TILES in PutCampObject
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 20:16:09 +02:00
Gabriel Ravier
07dc0aff9f
Removed static from MoveArmsCursor to fix function ordering
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 20:12:20 +02:00
Gabriel Ravier
e5e01b2b3e
Re-added accidentally removed spacing
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 19:59:16 +02:00
Gabriel Ravier
3f6c744e16
Re-added accidentally removed statement
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 19:57:00 +02:00
Gabriel Ravier
ba8f2138b8
Finished commenting ArmsItem basically
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 19:52:34 +02:00
Gabriel Ravier
4fc38593d2
More comments in ArmsItem
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 19:47:34 +02:00
Gabriel Ravier
b4ef218dca
Removed unnecessary "and" from comment
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 10:34:07 +02:00
Gabriel Ravier
d73f82cfcf
Removed wrong FIX_BUGS
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 10:32:23 +02:00
Gabriel Ravier
c94d1f1379
Corrected some comments in ArmsItem
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 09:25:55 +02:00
Gabriel Ravier
6cd2a49829
Corrected comment
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 08:46:38 +02:00
Gabriel Ravier
9d8018e901
More comments in ArmsItem
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-23 07:28:48 +02:00
Gabriel Ravier
eb46198635
Add some comments for the searching of codes
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 20:06:09 +02:00
Gabriel Ravier
f6ed183687
Remove macros for searching for codes
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 20:04:54 +02:00
Gabriel Ravier
986ab280e4
Revert change from GAME_FLAG_IS_CONTROL_ENABLED to GAME_FLAG_IS_CONTROL_DISABLED and clarify its documentation
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 19:26:58 +02:00
Gabriel Ravier
337c81da4d
Changed GAME_FLAG_IS_CONTROL_ENABLED to GAME_FLAG_IS_CONTROL_DISABLED
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 18:48:12 +02:00
Gabriel Ravier
63a8385c54
Documented bit 2 of g_GameFlags
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 18:40:24 +02:00
Gabriel Ravier
ac5439cdf5
Added TBD notes to GameFlag enum
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 15:25:36 +02:00
Gabriel Ravier
f68ee5c4e5
Added an enum for g_GameFlags and a few comments in CampLoop
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 15:22:42 +02:00
Gabriel Ravier
7de9ecf1e7
Some commenting
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-21 12:14:17 +02:00