Fernando Carmona Varo
ab6dd01bac
Improve readability of deh output
2019-10-12 03:03:13 +02:00
Fernando Carmona Varo
596c20d63e
Add cheat to spawn map things (for testing)
2019-10-12 03:03:13 +02:00
Fernando Carmona Varo
dd7ff26e6f
Added some simple fallback logic for spriteframes
...
Also explicitly prevent rendering TNT1 sprite, instead of expecting it
to be a transparent/empty image.
This way we avoid errors when running without prboom.wad
2019-10-12 03:03:13 +02:00
Fernando Carmona Varo
3a332d9f2b
Add MUSINFO support
...
Based on prboom-plus support.
However, unlike prboom-plus this will also support the music files
configured in prboom.cfg, if configured to do so.
Another difference is that the doom id 14165 is used for changing the
music to the default level track. Which is what ZDoom does.
See: https://zdoom.org/wiki/Classes:MusicChanger
Also, support for 14100 was added too since crispy/doom retro do that.
See: https://zdoom.org/wiki/MUSINFO
2019-10-12 03:03:13 +02:00
Twinaphex
7fb105888f
Merge pull request #119 from Ferk/framerate
...
Support RETRO_ENVIRONMENT_GET_TARGET_REFRESH_RATE
2019-10-09 20:37:51 +02:00
Fernando Carmona Varo
486b09767f
Support RETRO_ENVIRONMENT_GET_TARGET_REFRESH_RATE
...
Add "auto" Framerate option to use the reported framerate from the
frontend targeted refresh rate.
It'll also be set as the new default for the Framerate option.
It'll fallback to 60 FPS if not obtained.
2019-10-09 19:39:29 +02:00
Twinaphex
896549f7b2
Merge pull request #117 from Ferk/umapinfo
...
Some Fixes to improve UMAPINFO support
2019-10-07 19:44:09 +02:00
Fernando Carmona Varo
93b3af1f0f
Play PrBoom+/UMAPINFO demos flagged
...
PrBoom+/UMAPINFO port prepends a 255 byte to the version of the demo
whenever UMAPINFO is being used, so that incompatible engines will
fail to detect the version.
This adds support for it allowing the rest of the versioning system
to be kept as it is and let UMAPINFO be used with all existing
formats. In case of a mismatch an error will be printed but the demo
be allowed to play regardless of the mismatch.
2019-10-07 19:39:18 +02:00
Fernando Carmona Varo
ecfb6701fe
Improvements to avoid crashes on invalid UMAPINFO
2019-10-03 14:55:28 +02:00
Fernando Carmona Varo
740f002d50
Prevent crash on UMAPINFO unknown property
...
Just ignore any unknown property since the standard might be extended in
the future.
2019-10-03 13:41:01 +02:00
Fernando Carmona Varo
baacfaeab9
Show bunny ending in UMAPINFO
...
Doom 2 would still try to show it if configured, but
if there are missing lumps those won't show.
2019-10-03 12:32:39 +02:00
Fernando Carmona Varo
66d07cc370
Cast ending should work also in Doom 1
...
When configured to be used from UMAPINFO
2019-10-03 12:01:40 +02:00
Fernando Carmona Varo
49cd7d3810
Fallback to CREDIT if Cast background is missing
2019-10-03 10:37:46 +02:00
Fernando Carmona Varo
ed3d48a076
Fix cast ending not showing in UMAPINFO
2019-10-03 10:33:16 +02:00
Fernando Carmona Varo
00249db8c3
Do not output too much garbage on bad texture lumps
2019-10-03 10:23:52 +02:00
Fernando Carmona Varo
79aa3e8cda
Prevent ChangeMusic from crashing on unknown lumps
2019-10-03 10:20:54 +02:00
Twinaphex
3f6b2abe38
Merge pull request #116 from Ferk/umapinfo
...
Add UMAPINFO support
2019-10-01 03:10:04 +02:00
Fernando Carmona Varo
768140bd56
Support UMAPINFO episodes also in Doom2 wads
2019-09-30 21:25:41 +02:00
Fernando Carmona Varo
e3cb649182
Check to not try to unlock invalid lumps
...
Otherwise we might be accessing invalid memory
2019-09-30 21:05:12 +02:00
Fernando Carmona Varo
6005a6985c
Check dehacked buffer size before reading content
2019-09-30 21:05:12 +02:00
Fernando Carmona Varo
68346549a6
Initialize to zero new realloced space
2019-09-30 21:05:12 +02:00
Fernando Carmona Varo
dc4b114a19
Moved actornames to the mobj definitions
...
This groups actor info in one place and orevents mistakes when the order is wrong causing mismatches.
There was actually already some mismatches found and fixed while doing this (meat3).
2019-09-30 21:05:12 +02:00
Fernando Carmona Varo
5a995122e3
Add UMAPINFO support
...
Implements support for the new UMAPINFO format, which allows configuring
new episodes, intermission texts, secret levels and map properties.
See https://www.doomworld.com/forum/topic/93793-umapinfo-discussion/
2019-09-30 21:05:06 +02:00
Twinaphex
4cca2e0cc4
Merge pull request #115 from yoshisuga/tvos_support
...
(tvOS) support building
2019-09-14 06:56:59 +02:00
Yoshi Sugawara
555142ef19
(tvOS) support building
2019-09-13 16:02:56 -07:00
Twinaphex
030d1d0efd
Merge pull request #114 from Ferk/warnfix
...
Fix some more memory issues
2019-09-13 00:14:18 +02:00
Fernando Carmona Varo
f71cca85e4
Cast preemptively to fix possible int overflows
2019-09-13 00:01:47 +02:00
Fernando Carmona Varo
1d5e03d05b
Use Doom's memory allocation system consistently
...
See https://doom.fandom.com/wiki/Zone_memory
Mixing up allocators causes segfaults
2019-09-12 23:39:58 +02:00
Fernando Carmona Varo
48e7b976f7
Checks for strlen & malloc
2019-09-12 20:40:41 +02:00
Fernando Carmona Varo
d944c83896
Fix some possible issues detected with valgrind
2019-09-02 23:34:03 +02:00
Twinaphex
aa0e7c134a
Merge pull request #109 from webgeek1234/master
...
Fix mingw cross compile, fix wii-u compile on newer devkitpro versions, and fix 3ds compile
2019-09-02 03:39:19 +02:00
Twinaphex
7babd47ac8
Merge pull request #111 from Ferk/warnfix
...
Warning fixes/supressions
2019-09-02 03:39:11 +02:00
Fernando Carmona Varo
f9ce4b13d8
Error handling fixes
2019-08-29 23:56:28 +02:00
Fernando Carmona Varo
2e72155084
libretro_sound: respect HAVE_LIBMAD
2019-08-29 23:50:12 +02:00
Fernando Carmona Varo
8382160016
String arrays for S_CHOICE must be NULL terminated
...
M_IndexInChoices could cause a crash if the current string is out of
bounds.
2019-08-28 00:37:55 +02:00
Fernando Carmona Varo
919c21ef57
Initialize all menu structs to prevent issues in some platforms
2019-08-28 00:37:45 +02:00
Fernando Carmona Varo
ea465fb0a4
Warning fixes/supressions
...
With this there are no more warnings when compiling with mingw and with
clang from android-ndk.
There are some remaining implicit declaration and int conversion
warnings in libretro-common when compiling using latest gcc on linux.
But maybe they should be first fixed first in the upstream
libretro-common so they are not reintroduced later on.
2019-08-26 13:28:50 +02:00
Aaron Kling
363f6d48a1
libretro: fix 3ds and wiiu compile
2019-08-15 02:24:01 -05:00
Aaron Kling
be9e71c7ee
Do not clear env LDFLAGS
...
This is to allow arch cross compile
2019-08-15 02:24:01 -05:00
Aaron Kling
bb293df3b2
libretro: allow mingw cross compile
2019-08-15 02:24:01 -05:00
Twinaphex
d2cf93ff39
Merge pull request #108 from yoshisuga/ios-arm64-buildbot-fix
...
iOS: support for building using buildbot recipe
2019-08-14 17:58:02 +02:00
Yoshi Sugawara
835f5bc984
iOS: support for building using buildbot recipe
2019-08-13 11:08:58 -10:00
twinaphex
d469c089ea
Check if this is the problematic code on Android
2019-08-04 06:35:18 +02:00
twinaphex
54188e4591
Fix prboom for MSVC 2003
2019-07-30 04:06:21 +02:00
twinaphex
3938f13b89
(Fluidsynth) Get this back to compilable/linkable state - still crashes
...
at startup though
2019-07-29 06:34:17 +02:00
twinaphex
39ecffe58e
Enhanced core options
2019-07-28 20:15:40 +02:00
twinaphex
4c403f4fa2
Add 90fps/240fps/244fps
2019-07-28 19:49:59 +02:00
twinaphex
1f49908a6f
Backport
...
ca2107f8a3
- wiggle fix now also fixes flats/floors
2019-07-28 18:13:28 +02:00
twinaphex
51ea3fa8e8
remove this
2019-07-27 19:21:06 +02:00
twinaphex
5307c1f9dc
Implement wiggle geometry fix
2019-07-27 19:20:54 +02:00