Clownacy
4d3aae328b
Merge branch 'accurate' into portable
2020-07-07 23:50:43 +01:00
Clownacy
41f699fcea
Restore removed code from accurate branch
...
It's best to leave things like these around, just commented-out
2020-07-06 15:32:43 +01:00
Clownacy
220f48a98b
Backport some undefined-behaviour fixes
2020-07-06 15:11:45 +01:00
Clownacy
1321ba522d
Merge branch 'accurate' into portable
2020-07-06 13:46:09 +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
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
99fd64462b
Merge pull request #133 from GabrielRavier/portableMinimizeHeaders
...
portable: Cleaned up includes to only (and always) include what we use
2020-07-02 14:56:34 +01:00
Clownacy
720b1dfea7
Reword a comment
2020-07-02 14:55:18 +01:00
Clownacy
47ed4d7bfd
Restore stddef.h
in Main.cpp
...
`NULL` is used in this file
2020-07-02 14:54:15 +01:00
Clownacy
9549f68b77
Merge branch 'portable' into portableMinimizeHeaders
2020-07-02 14:50:06 +01:00
Clownacy
8880c599b4
Merge branch 'accurate' into portable
2020-07-02 14:46:06 +01:00
Clownacy
143f3b9646
Backport header improvements from #133
...
Thanks to GabrielRavier for these
2020-07-02 14:42:53 +01:00
Gabriel Ravier
ca8b5ccaa1
Merge branch 'portable' into portableMinimizeHeaders
...
# Conflicts:
# src/BulHit.cpp
2020-07-02 15:26:33 +02:00
Gabriel Ravier
81edd4db52
src: Restored SDL.h includes to conform to project style of including SDL2
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-02 14:59:55 +02:00
Gabriel Ravier
41c3afd927
src/Sound.cpp: Re-added Main.h include but commented it out with an explanation as to why
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-02 14:54:29 +02:00
Gabriel Ravier
187847fbcc
src: Fixed not including headers that are included for detection of conflicting definitions
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-02 14:43:47 +02:00
Clownacy
6cc976d4d6
Wii U audio tweaks
...
Clean-up better, and neaten-up some code
2020-07-02 02:31:55 +01:00
Clownacy
28964f166c
Merge branch 'accurate' into portable
2020-07-02 02:24:15 +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
Gabriel Ravier
3620e31bf8
src/BackendS/Platform/WiiU.cpp: Add explicit include of <stddef.h>
for NULL
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-01 18:33:25 +02:00
Gabriel Ravier
32c8795ead
src: Cleaned up includes to only (and always) include what we use
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-07-01 18:26:22 +02: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
cf6a3d9a48
Add Aeon Genesis to licence file
...
Also update details
2020-06-30 22:42:39 +01:00
Clownacy
99fa3868d3
Merge branch 'accurate' into portable
2020-06-30 21:36:48 +01:00
Clownacy
1bf110269c
Correct some constants
...
Have been incorrect since f43a3c1130
2020-06-30 21:30:56 +01:00
Clownacy
1d76e25c35
Better Wii U audio cleanup
2020-06-30 20:39:20 +01:00
Clownacy
e0c67b421a
Add constant to control number of Wii U buffers
2020-06-30 20:38:28 +01:00
Clownacy
371d66255b
Fix popping in the Wii U audio backend
2020-06-30 20:37:16 +01:00
Clownacy
44465ee4f9
Fix a bug in SDL2
...
https://bugzilla.libsdl.org/show_bug.cgi?id=5143
Ikuyo noticed that `wcslcat` wasn't linking properly on their setup.
2020-06-30 17:34:09 +01:00
Clownacy
a3a8c4df94
Remove an include which isn't needed
2020-06-30 17:33:03 +01:00
Clownacy
e934cae696
Merge branch 'accurate' into portable
2020-06-30 17:32:19 +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
Clownacy
946667ab60
Replace Noto Japanese font with Migu 1M
...
Noto is massive, and draws too far down for some reason. Also, it
draws too big at 20x20 (the size needed to get MS Gothic to display
accurately). This new font has none of those problems.
Big thanks to joexyz for recommending this font.
2020-06-30 16:08:28 +01:00
Clownacy
770f3be74e
Make font sizes more accurate to the vanilla EXE
...
This is such a nightmare
2020-06-30 16:04:25 +01:00
Clownacy
78da025796
Merge pull request #130 from GabrielRavier/portableSupportPathsAboveFilenameMax
...
Support paths above PATH_MAX (for portable)
2020-06-30 14:09:57 +01:00
Clownacy
47367614a3
More accuracy improvements
...
That one comment should go in the accurate branch, not here
2020-06-30 14:04:53 +01:00
Clownacy
56bf0f8c76
Fix some typos
2020-06-30 13:52:11 +01:00
Clownacy
ccffba8a80
Remove user-sabotage
...
They could have their reasons.
2020-06-30 13:49:14 +01:00
Clownacy
27a1fd900f
Revert more unnecessary edits
2020-06-30 13:48:46 +01:00
Clownacy
2970242ff7
Remove unused attributes
2020-06-30 13:00:34 +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
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
Clownacy
a5c09b67f7
Wii U renderer cleanup
2020-06-29 22:13:03 +01:00