Clownacy
afb2b22e58
Merge branch 'accurate' into portable
2020-10-23 19:10:36 +01:00
Clownacy
d81c46a79c
Release custom code under the MIT licence
...
Of course, Pixel's code is still proprietary.
2020-10-23 19:09:55 +01:00
Clownacy
adb09e19b7
Merge branch 'accurate' into portable
2020-07-08 19:42:28 +01:00
Clownacy
13985fb349
Added SoundMode enum
...
Controls whether a PlaySoundObject call start, stops, or loops a
sound
2020-07-08 18:52:32 +01:00
Clownacy
3d7ee30314
Clean-up ArmsItem
...
Undoes edits unrelated to the PR, and adds an include
2020-06-30 12:58:59 +01:00
Gabriel Ravier
771b944d17
src: Some cleanup for the MAX_PATH std::string PR
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-29 19:02:25 +02:00
Gabriel Ravier
564d42dbd2
src: Change from using asprintf-based code to using std::string-based code
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-29 18:33:22 +02:00
Gabriel Ravier
32a879ca58
src: Removed MAX_PATH and made the path/string handling better in general (ported over from supportPathsAboveFilenameMax)
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-29 00:14:30 +02:00
Clownacy
2f682a102f
Merge branch 'accurate' into portable
2020-05-04 18:17:39 +01:00
Clownacy
03250d62a0
Make variables more accurate
...
This commit changes which variables are static: the Mac (and
presumably the Linux) debug data tells you what variables are static,
by prefixing their names with double_underscores.
The variable names themselves also hint at this: global variables are
prefixed with 'g', and use upper-camelcase, while static variables
use whatever_you_call_this.
2020-05-03 20:28:56 +01:00
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