Clownacy
94dd419858
Add explicit parameter for render targets
...
With the new Wii U upscaling code, 640x480 uses too much MEM1.
Honestly, maybe I should just overhaul how render targets work on the
Wii U. Surely there's a way to dynamically allocate only one colour
buffer at a time?
2020-10-04 14:19:16 +01:00
Clownacy
ba797d0fea
Merge branch 'accurate' into portable
2020-09-14 20:04:41 +01:00
Clownacy
55b473a490
Document Flash.cpp some more
2020-09-14 17:01:00 +01:00
Clownacy
5b33d0280d
Merge branch 'accurate' into portable
2020-09-12 00:30:03 +01:00
Clownacy
f47ffea577
Remove a bugfix
...
It can't be saved...
2020-09-12 00:01:42 +01:00
Clownacy
4078182ee8
Add a bugfix for the blinking text cursor
2020-09-08 04:20:17 +01:00
Clownacy
71199c7693
Merge branch 'accurate' into portable
2020-09-03 21:58:40 +01:00
Clownacy
aa396092b5
Translate error messages with FIX_BUGS
2020-09-03 21:39:36 +01:00
Clownacy
a05b802904
Merge branch 'accurate' into portable
2020-09-03 21:11:16 +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
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
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
Clownacy
4a8877713e
Merge branch 'accurate' into portable
2020-07-02 15:52:19 +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
28964f166c
Merge branch 'accurate' into portable
2020-07-02 02:24:15 +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
27a1fd900f
Revert more unnecessary edits
2020-06-30 13:48:46 +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
0477b1b633
Merge branch 'accurate' into portable
2020-04-07 14:03:54 +01:00
Clownacy
409453a6a1
Note some null characters
2020-04-07 14:03:15 +01:00
Clownacy
10f389b52e
Merge branch 'accurate' into portable
2020-04-06 13:53:22 +01:00
Clownacy
ae66ede214
Merge pull request #105 from GabrielRavier/accuratePortableBugs2SisterPR
...
Noted a bunch of npc->cond = 0 bugs and gTS.data-related crashes
2020-04-06 13:51:52 +01:00
Clownacy
135035bb1a
Change 'PlatformBackend' namespace to 'Backend'
2020-04-04 20:31:27 +01:00
Clownacy
c2f6ccdeb6
Merge branch 'accurate' into portable
2020-04-04 01:49:39 +01:00
Clownacy
90714cb7a4
Apply some missing BOOL constants
2020-04-03 23:16:40 +01:00
Clownacy
584ea57c5d
Split SDL2 code from Profile.cpp and TextScr.cpp
2020-03-31 16:28:28 +01:00
Gabriel Ravier
6f114d0da5
Bullet, Caret, NpcAct1{2,4,8}0, TextScr: Add a note about some overflow bugs
2020-03-17 15:31:02 +01:00
Clownacy
169a755ec3
Wrap UTF-8 strings in C89-style comments
...
This should prevent compilation errors when compilers don't read the
source files as UTF-8.
MSVC in certain codepages previously misread some UTF-8 comments as
containing newlines, causing it to try to process the rest of the
comment as code. This was fixed by forcing MSVC to read the files as
UTF-8 using the `/utf-8` flag, but this doesn't seem to be supported
in older versions.
Since the issue was caused by newlines being added where they didn't
belong, using C89-style comments instead should avoid the problem
altogether.
I'll still keep the utf-8 flag around for supported compilers - just
in case.
2020-03-14 14:12:53 +00:00
Clownacy
4f7bd116f6
Add missing SDL.h #includes
2020-01-26 23:57:09 +00:00
Clownacy
84626ea710
Merge branch 'accurate' into portable
2020-01-07 04:55:16 +00:00
Clownacy
098647f7fd
More-accurate TextScr.cpp variable arrangement
2020-01-07 04:39:14 +00:00
Clownacy
58d7a45392
Empty Tags.h
...
There's no evidence Tags.h contained these variables (if anything, it
appears that Pixel manually declared them in every file that used
them).
gg Pixel
2020-01-06 21:20:17 +00:00
Clownacy
9498fe13be
Made TextScr.cpp valid C89
...
See #41
2020-01-06 21:15:42 +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
d4f13cea8a
Merge branch 'accurate' into portable
2020-01-04 21:53:06 +00:00
Clownacy
9bfaeb5390
Apply some more missing constants
2020-01-04 21:48:52 +00:00
Clownacy
0ec5d85d56
Merge branch 'accurate' into portable
2019-11-17 18:30:44 +00:00
Clownacy
262fcfbaa3
Clean-up Generic.cpp
...
Also applied some windows.h constants over raw values
2019-11-15 19:44:44 +00:00
Clownacy
d641f508f2
TextScr.cpp cleanup
2019-11-14 00:15:03 +00:00
Clownacy
82454c3a62
Comment style tweaks in the last three files
2019-11-14 00:15:02 +00:00
Clownacy
8344716548
Merge branch 'accurate' into portable
2019-11-09 14:24:55 +00:00
Gabriel Ravier
571a7ca723
Bug : Put parentheses around IS_COMMAND and its parameters
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-05 17:33:16 +01:00
Clownacy
2faf387c9e
Merge branch 'accurate' into portable
2019-10-16 15:42:18 +01:00