Clownacy
9cbaa0be00
Merge branch 'accurate' into portable
2020-01-08 13:16:21 +00:00
Clownacy
e70074cf64
More-accurate ArmsItem.cpp variable arrangement
2020-01-07 05:07:47 +00:00
Clownacy
df9dc3e22d
Merge branch 'accurate' into portable
2020-01-06 19:39:36 +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
0ec5d85d56
Merge branch 'accurate' into portable
2019-11-17 18:30:44 +00:00
Clownacy
1a0cb626f8
Clean-up ArmsItem.cpp
2019-11-17 16:51:44 +00:00
Clownacy
c759498169
Merge branch 'accurate' into portable
2019-09-27 15:20:56 +00: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
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
Gabriel Ravier
55cc349dd6
Moar commenting stuff
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-20 20:25:51 +02:00
Gabriel Ravier
453ce04e8b
Added a few comments and a newline
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-20 19:16:31 +02:00
Gabriel Ravier
79d8e175a2
Documented some variables and macro-ed some stuff
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-19 10:30:14 +02:00
Gabriel Ravier
6a9abb9a0d
Moar commenting of stuff and macro-ing of certain things
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-18 08:29:20 +02:00
Gabriel Ravier
372872eeea
Some comments and a FIX_BUGS
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-17 11:54:00 +02:00
Gabriel Ravier
38a00ec88a
More tabs to spaces for trailing comments
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-17 11:09:29 +02:00
Gabriel Ravier
3a837a1090
Commented some code
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-17 11:04:30 +02:00
Gabriel Ravier
4766172c3b
Replaced tabs before comments with spaces, shortened a few lines and formatted some switches
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-17 10:48:05 +02:00
Gabriel Ravier
f2a2b3fd0c
Commented some func decls in ArmsItem.h and changed a "32" to "0x20" in the cpp
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-17 10:25:18 +02:00
Gabriel Ravier
9bb916e99d
Set PutCampObject as static and commented some func decls
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-17 09:56:33 +02:00
Gabriel Ravier
358423aa38
Some nice commenting and reordering of stuff and staticing of stuff
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-16 15:30:38 +02:00
Clownacy
5ea356a3bd
Weed out a lot of the Windows dependency
...
Storytime: Cucky's original SDL2 port work involved using SDL2's
threading API to emulate the original WinAPI threading.
I can't be assed with that stuff, so I used the same trick Cucky did
for the Wii port, and hooked Organya up to the SDL2 audio callback.
This actually opens up the possibility for perfectly-synchronised
Organya playback. By that I mean, instead of needing a super
low-latency audio callback, I can have the callback synchronise its
audio mixing with Organya itself. I haven't done it yet, I plan to
soon.
2019-09-04 00:28:23 +01:00
Clownacy
fd855ee732
Restore the new renderers
2019-09-02 22:46:36 +01:00
Clownacy
03e513365b
PATH_LENGTH is actually Windows's MAX_PATH
...
When MAX_PATH isn't available, use FILENAME_MAX. This might be a bad
idea.
2019-08-31 01:44:53 +01:00
Clownacy
a9940c9ca9
ArmsItem.cpp code cleanup and accuracy improvements
2019-06-29 23:29:44 +01:00
Clownacy
00ca00f5dd
Weed out some usage of C++ bools
...
Pixel used BOOL, the C89-friendly Windows-specific equivalent
2019-05-14 01:35:04 +01:00
Clownacy
c9d5b3d03a
Made Ending.cpp ASM-accurate
2019-05-13 20:43:43 +01:00
Clownacy
d3af5e372f
Made ArmsItem.cpp ASM-accurate
2019-05-13 19:00:48 +01:00
Clownacy
9b82baeb02
Made MiniMap.cpp actually ASM-accurate
2019-05-13 17:50:09 +01:00
Gabriel Ravier
1790f74857
Removed bad parentheses spacing
...
Basically for all "( expr )" I removed the spaces to be consistent with the rest
Also I used this enormous regex here : "((//|\;)[^ \t]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;|\(\ |\ \))"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-05-07 14:07:07 +02:00