Commit graph

1474 commits

Author SHA1 Message Date
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
Gabriel Ravier
ff25ddfef0 src/TextScr.cpp: Do not crash when TSC files are too big with FIX_BUGS
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-02 16:43:13 +02:00
Clownacy
143f3b9646 Backport header improvements from #133
Thanks to GabrielRavier for these
2020-07-02 14:42:53 +01:00
Clownacy
5983b8e234 Don't mark out as static
Causes it to be put in the wrong part of the EXE for some reason,
even though we know from the Mac port that it *was* static.
2020-07-01 21:57:57 +01:00
Clownacy
c99d38274d
Merge pull request #132 from GabrielRavier/accurateAddStddefWhenNeeded
Add stddef.h when needed
2020-06-30 22:56:07 +01:00
Gabriel Ravier
bede1a16f5 src/Sound.cpp: Remove duplicate stddef.h include
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 23:48:34 +02:00
Gabriel Ravier
08062e9823 Merge branch 'accurate' into accurateAddStddefWhenNeeded
# Conflicts:
#	src/Sound.cpp
2020-06-30 23:47:23 +02:00
Clownacy
1bf110269c Correct some constants
Have been incorrect since f43a3c1130
2020-06-30 21:30:56 +01:00
Gabriel Ravier
3092c34681 src: Add #include <stddef.h> where appropriate in order to have NULL/size_t and others from the proper header
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 18:26:44 +02:00
Clownacy
353798bf41
Merge pull request #131 from GabrielRavier/accurateMinimizeIncludes
Remove unnecessary includes
2020-06-30 17:25:31 +01:00
Gabriel Ravier
a62141e185 src: Added back stddef.h where accurate to get NULL/size_t properly (stdio.h provides them, but it's for file I/O, not essential definitions and types)
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 01:52:38 +02:00
Gabriel Ravier
66e4995135 src: Remove unnecessary includes
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-06-30 00:12:17 +02:00