734 Commits

Author SHA1 Message Date
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
twinaphex
db71169967 Add diff file 2019-07-27 17:14:15 +02:00
Twinaphex
6950ee0da6
Merge pull request #104 from Ferk/framerate
Smoother framerate and interpolation for moving sectors, doors and scrolling walls
2019-06-29 17:59:25 +02:00
Fernando Carmona Varo
92586c697b Don't advance tic fraction with gameplay paused 2019-06-29 03:04:55 +02:00
Fernando Carmona Varo
d397879cbd Enable interpolation for sector movement and texture scrolling 2019-06-29 02:27:14 +02:00
Fernando Carmona Varo
6e747c39a2 Do not refresh screen on RunTryTics
The display will be refreshed only from D_DoomLoop.
This fixes some timing issues and also fixes the speed of
the wiping animation.
2019-06-29 02:22:36 +02:00
twinaphex
e887dc6b6f Cleanup 2019-06-22 16:35:49 +02:00
twinaphex
843f60b62f Simplify input code 2019-06-22 16:33:28 +02:00
twinaphex
eb8e0a5b75 Update - add new RETRO_ENVIRONMENT_GET_INPUT_BITMASKS 2019-06-21 11:37:00 +02:00
Twinaphex
e9abcb8199
Merge pull request #103 from Sakitoshi/sigil_title_theme
Sigil title theme
2019-06-20 11:09:20 +02:00
Sakitoshi
ffa1b791a1 better check if not -1 2019-06-19 00:57:31 -04:00
Sakitoshi
76ba6333a0 wait for sigil title theme to end 2019-06-19 00:36:55 -04:00
twinaphex
ffaa1dc8e6 Update libretro-common 2019-06-14 13:28:18 +02:00
Twinaphex
956e4b550b
Merge pull request #101 from BringerethOfLight/master
fixes some of the malloc/free/access errors
2019-06-14 13:20:29 +02:00
BringerethOfLight
6cef14e62b fixes some of the malloc/free/access errors. more remain where that came from. 2019-06-14 10:40:54 +00:00
Twinaphex
b81621b72f
Merge pull request #100 from Ferk/hud
Alternate Heads Up Display
2019-06-13 02:52:48 +02:00
Fernando Carmona Varo
a0f643c5f0 Fix missing separators 2019-06-11 20:16:04 +02:00
Fernando Carmona Varo
309cda5388 Remember the screen size configuration
The screenblocks setting was not being respected, and it was still
being defined as 3-11 which was no longer useful since the screensize
is currently binary (either fullscreen or with status bar).
2019-06-11 19:29:44 +02:00
Fernando Carmona Varo
25abd49a22 key_zoomin/key_hud will alternate HUD mode 2019-06-11 19:04:08 +02:00
Fernando Carmona Varo
1a608db5c5 Some options to enable/disable parts of the HUD 2019-06-11 19:00:00 +02:00
Fernando Carmona Varo
0adeb698d0 Allow using the Heads UP Display
The options hud_display and hud_distributed were merged into a single
"hud_mode" option.

The position of health/armor and stats/keys in the distributed layout
were switched.

The stats line was optimized for screen space, removing the static "STS"
text as well as some of the spacing, and the items collected+total was
combined in an items left count.

The keys line won't be shown if there are no keys.
2019-06-10 17:54:55 +02:00
Twinaphex
ee78786f3f
Merge pull request #99 from Ferk/dehack
Dehardcode some monster behavior and expand dehacked
2019-06-10 00:41:29 +02:00
Fernando Carmona Varo
7e8a8f9626 Add flags to dehardcode some Lost Souls logic
The following flags are available for dehacked:

- ISMONSTER
   for all monsters, even those that don't count in the level's kill
   percentage

- DONTFALL
   won't fall down to the floor after being killed even if it's flying
2019-06-09 21:50:40 +02:00
Fernando Carmona Varo
8058941dad Add flags to dehardcode Archvile targetting logic
The following flags were added to dehacked:

- NOTARGET
   actor won't be targetted even if it hurts someone else

- QUICKTORETALIATE
   actor will immediately switch target if attacked
2019-06-09 20:56:03 +02:00
Fernando Carmona Varo
56e01caf60 Additional flags for Spider & Cyberdemon
Dehardcodes some of the logic regarding immunity to explosions and the
louder alert and death sounds. New flags:

- FULLVOLSIGHT
   Plays its alert sound at full volume (Cyber and Spider)

- FULLVOLDEATH
   Plays its death sound at full volume (Cyber and Spider)

- NORADIUSDMG
   Radius (explosive) damage doesnt harm it (Cyber and Spdier)
2019-06-09 20:39:36 +02:00
Fernando Carmona Varo
1fb16f3a20 Dehardcode mob-specific P_CheckMissileRange logic
This is based on the PrBoom+ fork from Graf Zahl.
It adds the following new actor properties, for use with dehacked, based
on equivalent DECORATE ones from ZDoom:

- MeleeThreshold value
    The actor with this property set will not attack its target with a
    missile attack if it is within the specified range, but rather (if
    chasing) attempt to close in to engage in melee.

- MaxTargetRange
    A monster with this property set will not attack its target unless
    it is within the specified range.

- Min Missile Chance
    This is one part of the missile attack probability calculation. The
    lower this value is the more aggressive the monster is. This can be
    combined with the MISSILEMORE. Default 200.

The following flag was added, equivalent to the DECORATE actor flag of
same name:

- MISSILEMORE
    Increases the probability of a missile attack from farther away
2019-06-09 19:24:57 +02:00