Commit graph

1485 commits

Author SHA1 Message Date
Clownacy
92d50ae187 Comment on a weird-ass Sleep call 2020-09-04 02:35:31 +01:00
Clownacy
e2b5809990 Remove another explicit array size 2020-09-04 01:19:42 +01:00
Clownacy
b311888a12 Remove ccache in Travis file
This matches the portable branch
2020-09-04 00:57:00 +01:00
Clownacy
5579c57738 Remove some explicit array sizes
These are just annoying, and chances are the source code never did
this.

I might just remove *all* of these at some point.
2020-09-04 00:54:23 +01:00
Clownacy
c81829e99a Remove a trailing comma
IIRC C89 doesn't allow them in enums. So who knows where else they're
not allowed?
2020-09-04 00:23:07 +01:00
Clownacy
9bba04b395 Rename some background enums 2020-09-04 00:19:49 +01:00
Clownacy
d16aa4cc70 Apply background constants to stage table 2020-09-04 00:09:38 +01:00
Clownacy
fe7765c914 Change some awkward wording 2020-09-03 23:57:07 +01:00
Clownacy
d5cf991733 Make the stage table neater 2020-09-03 23:56:44 +01:00
Clownacy
dce5e215c8 Explain the gamepad button limit 2020-09-03 21:54:10 +01:00
Clownacy
9c63e5994b Document SelStage.cpp a little 2020-09-03 21:52:05 +01:00
Clownacy
aa396092b5 Translate error messages with FIX_BUGS 2020-09-03 21:39:36 +01:00
Clownacy
7cff891452 Remove that FRAMERATE thing 2020-09-03 21:31:49 +01:00
Clownacy
0c367cecf7 Add FIX_MAJOR_BUGS option
This one specifically fixes bugs that either invoke undefined
behaviour or cause memory leaks. Essentially, they affect stability.
Bugs that just affect gameplay will remain covered by FIX_BUGS.
2020-09-03 21:05:14 +01:00
Clownacy
e43160825e Add bugfix for the broken Waterway TSC script 2020-09-03 20:35:51 +01:00
Clownacy
541ec3695e Ignore error.log, remove enhanced branch stuff 2020-09-03 17:23:29 +01:00
Clownacy
9724f9d81b Scrub the enhanced branches from PHILOSOPHY.md 2020-09-03 17:20:32 +01:00
Clownacy
20cbb8cc73 Unlist the dead branches, and reformat the readme
Now actually readable in a text editor
2020-08-29 17:04:01 +01:00
Clownacy
c8e1e7aa0a Another authentic struct name 2020-08-11 00:24:10 +01:00
Clownacy
e41d4472ec Another authentic struct name 2020-08-11 00:24:10 +01:00
Clownacy
a2ecd75271 Restore an original struct name
This was buried in the Linux port
2020-08-11 00:24:04 +01:00
Clownacy
d12ee0813f Remove some trailing commas 2020-08-05 22:09:05 +01:00
Clownacy
90d57b7d1b More direction macros 2020-08-05 22:06:53 +01:00
Clownacy
4c758bb926 Apply more direction macros 2020-08-05 22:03:51 +01:00
Clownacy
a305151302 Apply some direction macros 2020-08-05 21:47:50 +01:00
Clownacy
a3692d1c40 Add Caret enums 2020-08-05 21:45:59 +01:00
Clownacy
d41b3993f5 Document caret stuff some more 2020-08-05 20:55:50 +01:00
Clownacy
8adf593403 Caret documentation/cleanup 2020-08-05 19:51:06 +01:00
Clownacy
02295489d2 More background documentation 2020-08-05 19:42:18 +01:00
Clownacy
a18be9c450 Document background stuff a little more 2020-08-05 19:30:13 +01:00
Clownacy
b016b22a1e Do some NPC documentation 2020-08-05 16:56:26 +01:00
Clownacy
98c2a8880e Convert NPC 0's rects to decimal 2020-08-05 16:56:26 +01:00
Clownacy
6a1d49d6b1 Fix sound enum typo 2020-08-05 16:56:25 +01:00
Clownacy
ea9952c2d0 Clean-up PixTone code a little
This is still ASM-accurate
2020-08-05 16:56:25 +01:00
Clownacy
6fd6a416cd Fix another out-of-bounds array access
This one involves the Spur.
2020-07-15 16:51:11 +01:00
Clownacy
f7a8a260a4 Added OTHER_RECT struct
Unifies the weird not-RECTs
2020-07-08 19:30:11 +01:00
Clownacy
bfc255478c Remove unit-conversion macros 2020-07-08 19:15:11 +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
53c8d2e55c Remove invalid comment 2020-07-08 17:01:44 +01:00
Clownacy
ccf79e2559 Code style tweak 2020-07-08 16:54:31 +01:00
Clownacy
5652756129 Deobfuscate some 'tiles-to-units' calculations 2020-07-08 16:46:28 +01:00
Clownacy
b6af751f7b Convert NPC 129's rects to decimal 2020-07-08 16:41:49 +01:00
Clownacy
92ce7aeb5d Use fixed-size types for the WAV header struct
This matches the WAVEFORMATEX struct
2020-07-08 16:35:09 +01:00
Clownacy
d6bbb013f9 Deobfuscate some BOOLs 2020-07-08 02:57:00 +01:00
Clownacy
788e5ea2d8 Add some sound fixes and documentation 2020-07-08 02:07:22 +01:00
Clownacy
85ccda7829 Add missing functions to header 2020-07-08 01:57:15 +01:00
Clownacy
220f48a98b Backport some undefined-behaviour fixes 2020-07-06 15:11:45 +01:00
Clownacy
ffa4b16376 Deobfustate some NPC_MAX values 2020-07-02 20:20:12 +01:00
Clownacy
f7b428752f
Merge pull request #137 from GabrielRavier/accurateFixBugsTscBufferSizeCrash
accurate:  Do not crash when TSC files are too big with FIX_BUGS
2020-07-02 15:52:53 +01:00
Clownacy
90de32a83d
Fix bugs in bugfix
These checks would leak the FILE*. Also did some pedantic style tweaks.
2020-07-02 15:52:37 +01:00