Commit Graph

616 Commits

Author SHA1 Message Date
Vladimir Serbinenko
6ce9d90685 retro_run: Don't attempt to run domm lop after exit
This fixes crash on exit on 3DS
2020-03-15 16:55:57 +01:00
twinaphex
991016b3c7 MSVC buildfix 2020-02-29 08:45:59 +01:00
Twinaphex
888535fd61
Merge pull request #130 from Ferk/master
Make sure variable declaration is C89 compatible
2020-02-28 17:59:59 +01:00
Twinaphex
aa7d285a7a
Merge pull request #131 from Ferk/fixed_t
Use fixed point in precise flat calculation
2020-02-22 19:00:25 +01:00
Fernando Carmona Varo
6040efcc4c Use fixed point in precise flat calculation
This should work well now also in ARM and other platforms
2020-02-22 18:48:58 +01:00
Fernando Carmona Varo
4b1089193a Make sure variable declaration is C89 compatible 2020-02-22 16:24:10 +01:00
Twinaphex
e43161588d
Merge pull request #129 from phcoder/axis
Add joystick axis to the control descriptors
2020-02-22 07:50:51 +01:00
Vladimir Serbinenko
aecfb4141c Add joystick axis to the control descriptors
This allows to easily remap them in frontend
2020-02-21 01:33:25 +01:00
twinaphex
1e5faec9ba C89 buildfixes 2020-02-18 00:18:02 +01:00
Twinaphex
4e141d4e0f
Merge pull request #128 from Ferk/state
Interpolation on state serialization
2020-02-18 00:14:25 +01:00
Fernando Carmona Varo
9eb4a04874 Increase size of savestate to fit MAP19
Also fix attempt to realloc savebuffer
2020-02-17 22:30:42 +01:00
Fernando Carmona Varo
e07ea35440 Fix savestate load from non-level state to level 2020-02-17 19:45:23 +01:00
Fernando Carmona Varo
2bda71a1bb Avoid glitchy mobj interpolation when rewinding
Non-player objects position won't be as smooth when rewinding, but we
can save size of the savestate with not much of an impact.
2020-02-17 18:45:20 +01:00
Fernando Carmona Varo
fcd7e5e506 Fix warnings on mingw64 2020-02-17 16:50:51 +01:00
Fernando Carmona Varo
ab7f6b5a64 Do not alter gameaction on G_DoSaveGameToBuffer
This save action is independent of game logic actions or menu options,
It's triggered from libretro at arbitrary time, changing gameaction could
cause conflicts if unlucky.
2020-02-17 16:33:12 +01:00
Fernando Carmona Varo
1d9867f6d4 Determine if "gameless" savestate from "gamestate"
It should be GS_LEVEL whenever a level is loaded.
No need to have it saved in a separate extra variable
2020-02-17 16:31:57 +01:00
Fernando Carmona Varo
1bb5f0ff3e Interpolation support for serialized states 2020-02-17 15:06:34 +01:00
Fernando Carmona Varo
0e11406f9c Only tick menu when active 2020-02-17 12:01:09 +01:00
Fernando Carmona Varo
f6d6ac2be4 Use gametic instead of skullAnimCounter 2020-02-17 11:56:10 +01:00
Fernando Carmona Varo
d9d59f7909 Fix menu skull blinking 2020-02-17 11:49:58 +01:00
Fernando Carmona Varo
d8a6b1101a Do not reallocate or memcpy save state buffer
The save buffer does not need to be reallocated, we can operate
directly with the buffer provided by libretro without needing to copy
it over.
2020-02-16 21:37:14 +01:00
twinaphex
d70600e7b7 C89 buildfixes 2020-02-16 16:41:19 +01:00
Twinaphex
268281d00b
Merge pull request #126 from phcoder/state
Implement retro_serialize and retro_unserialize.
2020-02-16 13:25:32 +01:00
Vladimir Serbinenko
e4113e85c7 Implement retro_serialize and retro_unserialize.
This allows among other things rewinding.
2020-02-16 05:19:32 +01:00
Twinaphex
c20322a23f
Merge pull request #127 from phcoder/doublefree
Fix double-free on failed load
2020-02-12 07:53:18 +01:00
Vladimir Serbinenko
2487001e31 Fix double-free on failed load 2020-02-12 00:55:11 +01:00
twinaphex
0d729b7a5c Add 300fps/360fps modes 2020-01-07 18:29:34 +01:00
twinaphex
32911c265a Fix MSVC solutions 2020-01-07 15:27:48 +01:00
twinaphex
0128c1e0b8 (MSVC 2017) Buildfix - not yet complete 2020-01-07 00:15:15 +01:00
Twinaphex
2bee75833e
Merge pull request #125 from ToadKing/fix-emscripten
fix emscripten
2020-01-04 19:52:20 +01:00
Toad King
a6a157106c fix emscripten 2020-01-04 12:11:53 -06:00
twinaphex
74c8fb7d33 Revert auto framerate option until issues are resolved 2019-10-21 04:28:58 +02:00
Twinaphex
aca275c1c3
Merge pull request #122 from Ferk/master
Fixes for eternall.wad and musinfo
2019-10-20 03:12:36 +02:00
Fernando Carmona Varo
0d955dd93a Fix scanner not reading token if last in input
If a token is the last in the input (there's no ending newline) the
token was never being read.
2019-10-19 23:33:06 +02:00
Fernando Carmona Varo
d80b4c6ccc Some tweaks to log levels and output format 2019-10-19 16:12:47 +02:00
Fernando Carmona Varo
f09c368af0 Route Doom logging functions through libretro log 2019-10-19 15:55:42 +02:00
Fernando Carmona Varo
0d92eaafdc Add missing header guards 2019-10-19 14:54:06 +02:00
Fernando Carmona Varo
498a0c2b30 Fix some LGTM warnings 2019-10-19 14:47:52 +02:00
Fernando Carmona Varo
633374e78b Do not leave drawseg scalestep uninitialized 2019-10-19 13:27:40 +02:00
Fernando Carmona Varo
244ba7d274 Load musinfo from the corresponding map correctly 2019-10-19 13:27:32 +02:00
Twinaphex
ae955431b7
Merge pull request #121 from fjtrujy/pspSupport
PSP1 Fix compilation issue
2019-10-16 01:07:06 +02:00
Francisco Javier Trujillo Mata
38dae75c2a Include missing header in the PSP1 compilation 2019-10-16 00:50:37 +02:00
Twinaphex
739bc22324
Merge pull request #120 from Ferk/prboom+
Add MUSINFO support and support for several PrBoom+ actors/spriteframes
2019-10-12 14:44:56 +02:00
Fernando Carmona Varo
6e0baebaa8 Add MUSINFO documentation
Based on https://doomwiki.org/wiki/MUSINFO
With corrections about the use of 14100, which
is actually not supported at the moment in
ZDoom, Eternity or the original PrBoom-plus.
2019-10-12 13:42:59 +02:00
Fernando Carmona Varo
19249bf828 Be a bit more helpful when describing syntax error 2019-10-12 12:51:49 +02:00
Fernando Carmona Varo
e21b182e6c Skip invalid first level entries in umapinfo 2019-10-12 12:51:32 +02:00
Fernando Carmona Varo
2131bbf102 Updated docs with actorname and doomednum info 2019-10-12 12:29:25 +02:00
Fernando Carmona Varo
25f0f7b278 Show name on scanner errors for context 2019-10-12 03:03:13 +02:00
Fernando Carmona Varo
80ac8aa94d Add missing DONTFALL flag to Lost Souls 2019-10-12 03:03:13 +02:00
Fernando Carmona Varo
6a4c262ac7 cleanup/refactor deh Bits/Bits2 logic 2019-10-12 03:03:13 +02:00