Christoph Oelckers
65c52b9825
- Backend update.
2020-10-16 23:25:18 +02:00
Christoph Oelckers
ef7a7cc39d
- moved console command line buffer tab completion into their own files.
...
- layout fixes in load/save menu and confirmation screen.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
a6842b6482
- ensure that sfxinfo_t is always fully initialized, regardless how the setup is performed.
...
The recent pitch additions did not do this on all possible paths.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
4deb7593b5
- final update of menu code from Raze.
2020-10-16 22:57:30 +02:00
Christoph Oelckers
fa4ab53e7c
- script side support for menu transitions.
2020-10-16 22:57:29 +02:00
Christoph Oelckers
cf7518fe43
- added two more system callbacks for menu customization.
2020-10-16 22:57:29 +02:00
Christoph Oelckers
881a77b3a1
- backport of menu transition code from Raze.
2020-10-16 22:57:29 +02:00
Christoph Oelckers
62138decfe
- use Raze's layout for load and save game menus.
...
This has a lot less black void on screen.
2020-10-16 22:57:28 +02:00
Christoph Oelckers
b8281f4758
- Backend update from Raze.
2020-10-16 22:57:28 +02:00
Christoph Oelckers
3ea0658449
- split the savegame manager into a game dependent and a reusable game indepenent part.
...
- added menu/advance sound alias.
2020-10-16 22:57:28 +02:00
Christoph Oelckers
504f85e6d4
- moved date code to its own file.
2020-10-16 22:57:27 +02:00
Christoph Oelckers
f99ac8b28b
- allow struct extensions in zscript.
...
This is mainly for splitting the Doom specific content off the main definitions for easier reuse.
2020-10-16 22:57:27 +02:00
Christoph Oelckers
3a81c07ecf
- moved language switching code to 'common'.
2020-10-16 22:57:27 +02:00
Christoph Oelckers
a08d87beb3
- added a customization hook class for the menu.
...
Currently the only thing it does is abstracting the menu caption, but more can be added here.
Not exposed to modding yet, though, that's for later.
2020-10-16 22:57:26 +02:00
Christoph Oelckers
4b77064fc4
- moved most of the menu code into the backend.
2020-10-16 22:57:25 +02:00
Christoph Oelckers
f6240ef428
- merged string table callbacks with system callbacks.
2020-10-16 22:57:25 +02:00
Christoph Oelckers
f30285b0ce
- route menu's CheckGame call through SysCallbacks.
...
Needed to be able to move the menu into the backend.
2020-10-16 22:57:25 +02:00
Christoph Oelckers
46043f6278
- moved AutomapBindings export into common code.
2020-10-16 22:57:24 +02:00
Alexander Kromm
aa16fefd88
add a message for the failure case for resetcvar command
2020-10-14 20:19:07 +02:00
Alexander Kromm
92d68d05db
rename reset command to resetcvar and do not create a new CVAR
2020-10-14 20:19:07 +02:00
Alexander Kromm
18a8fafd7d
add console command to reset a CVAR to default value
...
Rationale:
1. Now to reset a CVAR to default, the user doesn't need to remember the default value.
2. If a modder wants to reset a CVAR via menu command, they don't need to keep menudef and cvarinfo in sync.
2020-10-14 20:19:07 +02:00
alexey.lysiuk
43a3188bdf
- fixed compilation warnings reported by GCC and Clang
...
src/common/filesystem/file_ssi.cpp:78:20: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
src/common/filesystem/file_ssi.cpp:130:38: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
2020-10-10 17:26:51 +03:00
Rachael Alexanderson
a2f0c27651
- add option to texture hqresize resize model skins.
2020-10-08 00:30:12 -04:00
Christoph Oelckers
756caede51
- fixed misnamed variable and removed restriction for draw pass in GetFullscreenRect.
2020-10-05 18:32:16 +02:00
Christoph Oelckers
63a338fd73
- changed display in key binding menu to list all bound keys for an action, not just the first two.
2020-10-04 19:28:20 +02:00
Christoph Oelckers
f1b0f32786
- add an option to the ListMenu class to draw to a fixed virtual screen size.
...
This allows proper dimensions in the stock menus and should make menu layout for mods a lot easier because coordinates are more predictable than with the clean factors.
The feature is opt-in for custom content. As long as only stock elements are used, the menu will be able to switch between both on its own, but as soon as custom classes or custom elements are used, the virtual size must be declared explicitly, defaulting to clean scaling.
2020-10-04 15:03:29 +02:00
Wohlstand
4bfcbb4b18
libADLMIDI: Fixed a mistake with Volume Model setup
...
Don't set a bank number instead of a volume model!
2020-10-04 08:14:23 +02:00
Christoph Oelckers
f9ee465741
- backport of some enhancements for Cyrillic font support for Raze.
...
Now the identical looking characters can be mapped to their Latin counterpart if they do not have their own glyphs.
2020-10-04 08:11:56 +02:00
Christoph Oelckers
ff62d7a8a3
- made sysCallbacks a value variable instead of a pointer to simplify the checks for it.
2020-10-03 16:47:47 +02:00
Christoph Oelckers
2016f56a7e
- added a new scaling mode to the level summary screen to scale to a given size.
...
In this mode the clean scaling factors are ignored and content is always scaled to fit the screen as efficently as possible.
For the default summary screens an option was added to use this mode, which is a lot closer to the original look of this screen.
It is not 100% identical because it still factors in the author, if given and long level names that may be broken into multiple lines of text.
2020-10-03 13:32:18 +02:00
Christoph Oelckers
bd68ef917e
- this too.
2020-10-03 08:54:41 +02:00
Nikolay Ambartsumov
da97b51c35
Show CVar's default value in addition to current
2020-10-03 07:37:08 +02:00
C.W. Betts
b07c9550cf
Update iwadpicker_cocoa.mm
...
Use proper integer types for ObjC protocols.
2020-09-29 21:47:10 +02:00
Christoph Oelckers
92d630eb45
- keep mouse coordinates as floats for as long as possible.
2020-09-28 22:12:44 +02:00
Christoph Oelckers
3cfd19b2ef
- removed const that erorred out.
2020-09-28 21:38:48 +02:00
Christoph Oelckers
51518d63a4
- cleanup of mouse input code and removal of all magic factors.
...
Sensitivity scaling of both axes is now exposed as a raw factor to the user instead of obscuring it behind an unclear 'prescale' boolean.
This also consolidates the coordinate processing code to prevent such discrepancies as were present here from happening again.
Migration code for old config settings is present so that this change does not affect existing configurations.
2020-09-28 21:13:34 +02:00
Christoph Oelckers
3ef806c2e9
- do not set CTF_Indexed for the software canvas and do not check for the shader to make decisions.
...
Always check the flag.
2020-09-27 19:55:04 +02:00
alexey.lysiuk
99a0ab2372
- restored old mouse scaling for Cocoa backend
...
This reverts commit cc07c56c36
.
2020-09-27 17:25:28 +03:00
Christoph Oelckers
5595eb6280
Revert "- make SDL mouse scaling match that of Windows for consistency."
...
This reverts commit 8578c11789
.
This caused more problems than it cured.
2020-09-27 16:20:17 +02:00
Christoph Oelckers
1d863d6cab
- made player indexing consistent in i_net.cpp.
2020-09-27 16:19:34 +02:00
Christoph Oelckers
baf93b51af
- handle SoftLightLevel properly in the 2D drawer.
2020-09-27 16:09:35 +02:00
Jaime Moreira
fd4d600694
SDL joystick events now work while in menus
...
- DirectInput axes are now X first, Y second.
- Menu axes controls swapped/fixed.
- Added SDL DualShock3 buttons in menu actions.
- Fixed SDL mouse system cursor; it could appear in-game.
2020-09-27 15:05:15 +02:00
Player701
3a526c9e5a
- Implement return type covariance for ZScript virtual functions
2020-09-27 14:18:15 +02:00
Christoph Oelckers
df3dc91514
- fixed crash on texture init.
2020-09-27 13:32:30 +02:00
Christoph Oelckers
348f9ae68c
- moved i_net into 'common' to bring it in line with Raze.
2020-09-27 12:30:54 +02:00
Christoph Oelckers
228dfb5b8d
- removed dead uBlendColor uniform.
2020-09-27 11:57:17 +02:00
Christoph Oelckers
c65fd80fd2
- added support code for indexed rendering from Raze.
2020-09-27 11:53:39 +02:00
Christoph Oelckers
2be5dc9238
- fixed binding issues in OpenGL when resetting the samplers due to a texture filter change.
2020-09-27 11:53:15 +02:00
Christoph Oelckers
6dd6df96e1
- font side support for 'OffsetsNotForFont' flag.
2020-09-27 11:40:03 +02:00
Christoph Oelckers
b3a179b691
- backported symbol table support for FScanner from Raze.
2020-09-27 11:36:13 +02:00