Christoph Oelckers
dc116721fb
- missed the index.
2021-09-23 11:41:48 +02:00
Christoph Oelckers
f10578a04b
- treat "materials" as a known folder name for eliminating root folders in Zips.
2021-09-23 10:54:18 +02:00
Rachael Alexanderson
79cbaf5d4f
- split defcvars parser into its own file
2021-09-05 08:21:34 -04:00
Christoph Oelckers
196a4c0b36
- added a modified version of MBF's stay-on-lift feature.
...
The reason this was never added was the hard dependency on the line trigger types. This implements some modified logic that does not try to find all potential lifts in the map.
Also moving the MBF flags to compatflags so that they are easier to control by the user as these must be part of compatibility presets.
2021-08-24 11:48:07 +02:00
alexey.lysiuk
4bd617187b
- fixed crash on getting location description without a level
...
Run `bench` CCMD in fullscreen console, i.e. with no level loaded, wait five seconds, open menu
https://forum.zdoom.org/viewtopic.php?t=73109&start=15#p1198234
2021-08-24 11:34:28 +03:00
Christoph Oelckers
109069f718
- removed the unused palette parameter from the V_GetColor family of functions.
2021-08-14 09:57:23 +02:00
Christoph Oelckers
c3772fe203
- changed FString API to use ptrdiff_t instead of long for signed size arguments.
2021-08-12 00:45:59 +02:00
alexey.lysiuk
ed606b8ed3
- extended 2D buffer lifetime to the end of the frame
2021-08-11 19:50:49 +02:00
Christoph Oelckers
6a63d9e70e
- moved the CheckForRestart call one level up so that it is within the Windows code and does not need #ifdefs.
2021-08-10 22:17:00 +02:00
Christoph Oelckers
4505bfa4b8
- delay the restart action from the error pane until after everything has been shut down.
...
This cannot be done from a place where the old instance still can write to the config file, which happens only in the shutdown process.
2021-08-10 22:09:32 +02:00
Christoph Oelckers
c1a8776a15
- updated common code from screenjob branch.
...
That is, all parts not related to cutscenes.
2021-08-03 12:30:44 +02:00
alexey.lysiuk
b5247182f4
- fixed premature destruction of status bar
...
Status bar was already freed while `FCajunMaster::RemoveAllBots()` function may still access it
Status bar is destroyed a bit later in `P_Shutdown()` function
https://forum.zdoom.org/viewtopic.php?t=72843
2021-07-28 09:48:52 +03:00
Christoph Oelckers
b0ccd3a7df
- moved Doom specific font init code out of the backend.
2021-05-31 22:13:40 +02:00
Christoph Oelckers
af137dbb35
- reset the 'playedtitlemusic' flag in D_StartTitle.
...
When returning to the title loop the music should play once again.
2021-05-19 16:43:01 +02:00
Christoph Oelckers
e47671c865
- make the title music only play once, unless a real demo is successfully played.
2021-05-17 11:41:43 +02:00
nashmuhandes
4d353318d9
Don't let the game start if the saved game passed to -loadgame is invalid. Often times, especially during a multiplayer game, a player can accidentally pass an invalid save file to load at the command line, which results in the netgame starting anyway before immediately desyncing. This aims to address that.
2021-03-26 07:13:39 -04:00
emily
c6073d9c9d
Make i_timescale cvar virtual
...
Changing i_timescale in a netgame would cause its callback to recurse
into itself infinitely. CVAR_VIRTUAL prevents this.
2021-03-24 19:03:41 +01:00
Rachael Alexanderson
c86715e521
- add -noautoexec
command line parameter to disable the execution of autoexec.cfg files
2021-02-14 10:47:00 -05:00
Rachael Alexanderson
476e59fbab
- add sv_instantreaction dmflag
2021-01-13 07:04:18 -05:00
Rachael Alexanderson
7afae96530
- add new detection hashes for newer versions of nerve.wad
...
- partially fixes issue #1263
2021-01-06 07:05:40 -05:00
Rachael Alexanderson
93f023db80
- change all optional game support archive loaders to scan the program folder
2020-11-25 07:03:35 -05:00
alexey.lysiuk
18b5928f49
- eliminate dependency on linking order for autosegs registration
2020-11-13 11:03:16 +02:00
alexey.lysiuk
b8b93e0dd8
- fixed most of implicit fallthrough compilation warnings
...
src/common/console/c_console.cpp:1032:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/console/c_console.cpp:958:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/backend/codegen.cpp:2969:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/frontend/zcc_compile.cpp:2656:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/frontend/zcc_compile.cpp:521:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/common/scripting/jit/jit_math.cpp:966:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/d_main.cpp:1538:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/d_main.cpp:1549:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/d_main.cpp:3820:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gameconfigfile.cpp:544:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gamedata/p_xlat.cpp:193:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gamedata/p_xlat.cpp:200:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/gamedata/p_xlat.cpp:210:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/g_game.cpp:1145:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/maploader/maploader.cpp:2142:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/menu/doommenu.cpp:159:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/m_cheat.cpp:109:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_ceiling.cpp:254:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_floor.cpp:322:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_floor.cpp:330:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_floor.cpp:344:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_plats.cpp:129:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/mapthinkers/a_plats.cpp:284:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/p_acs.cpp:6302:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/p_acs.cpp:8111:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/playsim/p_spec.cpp:344:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/scripting/decorate/thingdef_parse.cpp:1343:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/scripting/zscript/zcc_compile_doom.cpp:298:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
src/wi_stuff.cpp:463:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
2020-10-31 13:37:51 +02:00
Rachael Alexanderson
34c57ab6be
- add 'loadwidescreen' to gameinfo, works exactly like 'loadbrightmaps' or 'loadlights'
2020-10-26 10:08:34 -04:00
Rachael Alexanderson
7479648083
- add widescreen loader, and a bare pk3
2020-10-26 09:56:58 -04:00
Rachael Alexanderson
5b03e86a2b
- add 'sv_alwaysspawnmulti' dmflags2
2020-10-26 03:33:02 -04:00
Christoph Oelckers
14776aebb6
- some minor adjustments to the console init interface.
2020-10-25 15:41:30 +01:00
Christoph Oelckers
964417947f
- use the border flat as console fallback instead of the title pic.
...
This tends to work a lot better because it has far lower contrast.
2020-10-25 14:37:29 +01:00
Christoph Oelckers
f912712f9d
- cleaned up c_console.cpp to be moved into 'common'.
2020-10-25 13:14:19 +01:00
Christoph Oelckers
194824f810
- some fixes for the console.
...
* it is now possible to switch back to the main intro loop from the fullscreen console.
* do not distort the background of the fullscreen console. Always draw the console on top of what the main loop currently displays with a translucent black overlay.
* do not use the CONPIC for the fullscreen console as it tends to be more of a distraction than an asset when filling the entire screen.
* cleaned up c_console.cpp and moved several pieces of code unrelated to actual console management out of it.
2020-10-25 09:17:31 +01:00
Christoph Oelckers
8872f863d4
- refinement of the statusbar offset fix to only affect unscaled textures.
2020-10-24 17:11:44 +02:00
Christoph Oelckers
79944ca76a
- made status bar offset fixing unconditional.
...
I think it is inevitable that such status bars will appear in mods sooner or later and with the old code it is virtually impossible to create a wide status bar that displays properly but gets subjected to this code.
2020-10-24 16:59:57 +02:00
Christoph Oelckers
cf7518fe43
- added two more system callbacks for menu customization.
2020-10-16 22:57:29 +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
alexey.lysiuk
787b0d2480
- setup console handlers earlier to make them available during exit cleanup
...
https://forum.zdoom.org/viewtopic.php?t=70093
2020-10-10 17:28:09 +03: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
Rachael Alexanderson
9fbfee3b2d
- mark m_noprescale
as removed in defcvars also
2020-10-02 20:09:41 -04:00
Rachael Alexanderson
e2e176e0be
- remove old 'mouse_sensitivity' cvar completely, it's no longer needed
...
- update defcvars parser so it no longer looks for it
2020-09-30 01:05:37 -04:00
Christoph Oelckers
92d630eb45
- keep mouse coordinates as floats for as long as possible.
2020-09-28 22:12:44 +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
348f9ae68c
- moved i_net into 'common' to bring it in line with Raze.
2020-09-27 12:30:54 +02:00
Christoph Oelckers
db895b43b2
- copied constexpr declarations plus a few fixed in utility code and fixed a few places where this triggered a compile error now.
2020-09-27 08:36:30 +02:00
Christoph Oelckers
03d25b75da
- fixed height fudging for Heretic's sky textures.
2020-09-26 21:13:00 +02:00
Rachael Alexanderson
b11298afd5
- rename 'AlwaysCenterStatusBar' to 'FixUnityStatusBar', original name became a misnomer especially with updates that made it more specific in its use
2020-09-07 23:30:40 -04:00
Rachael Alexanderson
91a4e6aed4
- do unity data status bar correction only if stbar is in an iwad
2020-09-05 06:18:41 -04:00
Rachael Alexanderson
d1a6831f06
- disallow unity iwad status bar adjustment if offset is already set
2020-09-04 21:30:31 -04:00
Rachael Alexanderson
6c514a4cc4
- For status bars for the Unity iwad - only force offsets if the width is greater than 320.
2020-09-04 08:39:01 -04:00
Rachael Alexanderson
0204051381
- add support for the (as of now) newest version of the Unity re-releases
2020-09-03 23:40:00 -04:00
dondiego
560bbf0a9c
- Add the DF2_NO_COOP_THING_SPAWNDM flag to prevent spawning MP things in coop. ( #1165 )
2020-08-29 15:08:08 -04:00
Rachael Alexanderson
bda49d0bf7
- demote pwad defcvars error to a warning
2020-08-01 06:01:29 -04:00
alexey.lysiuk
18f2cf0fdc
- exposed menu blur amount to engine interface
...
https://forum.zdoom.org/viewtopic.php?t=69056
2020-06-20 12:06:49 +03:00
alexey.lysiuk
0d3134d825
- assigned endoom lump name after mapinfo is parsed
...
https://forum.zdoom.org/viewtopic.php?t=69032
2020-06-19 10:53:28 +03:00
Christoph Oelckers
712d80006a
- split game dependent parts out of menudef.cpp.
2020-06-14 00:27:32 +02:00
Christoph Oelckers
90befff479
- moved out the Doom specific parts from menu.cpp and messagebox.cpp.
2020-06-13 22:43:35 +02:00
Christoph Oelckers
5dfe9918d0
- moved some event related code to 'common'.
2020-06-13 20:31:57 +02:00
Christoph Oelckers
a3c100a2ed
- deleted the duplicate start screen class.
2020-06-12 23:10:19 +02:00
Christoph Oelckers
1279ec081a
- Strip out any color escape sequences before setting a window title.
2020-06-02 21:49:53 +02:00
Rachael Alexanderson
5c86ad8507
- defcvars: handle values from a version 219 config
2020-05-23 09:08:40 -04:00
Rachael Alexanderson
192882f63a
Merge branch 'master' of https://github.com/coelckers/gzdoom into texture_rework
2020-05-07 04:32:46 -04:00
Christoph Oelckers
3fd4d08004
- fixed startup and font init crashes.
2020-05-04 20:06:54 +02:00
PaulyB
a528290b5c
Fix single top level filter folder not being read
...
I have no idea why the missing comma broke it in this particular way...
2020-05-03 11:26:57 +03:00
arookas
6b70cad6e1
Add option to invert mouse x
2020-04-30 08:54:10 +02:00
Christoph Oelckers
808a7d28cf
- moved benchmark fps output to the custom part of it because it depends on game data.
2020-04-29 17:44:43 +02:00
Christoph Oelckers
6cf91d3941
- moved the remaining core parts of the GL renderer to 'common'.
2020-04-29 17:19:17 +02:00
Christoph Oelckers
ddef3f7b98
- made video base code game independent
2020-04-28 22:54:53 +02:00
Christoph Oelckers
2196b4fb04
- moved the frame rate drawer out of DFrameBuffer.
...
Too much of this is not shareable and all it consists of are drawing operations on the 2D drawer.
2020-04-27 23:53:26 +02:00
Christoph Oelckers
5f3e4a5d0e
- did a bit of cleanup on DFrameBuffer, most notably taking GetCaps out of it.
...
With the old softpoly renderer and OpenGL 2.x being gone there is no more need for such complex handling, it is now a single function in d_main.cpp.
2020-04-27 22:24:41 +02:00
Christoph Oelckers
b9e3c9681b
- moved a few files from 'rendering' to 'common'.
2020-04-25 21:52:21 +02:00
Christoph Oelckers
10bc37b37e
- moved RenderView out of the framebuffer classes to complete the consolidation of the renderer's entry points.
2020-04-25 17:58:26 +02:00
Christoph Oelckers
72533e2f8a
- redirect ST_Sound to a callback because the sound code is game specific
2020-04-23 22:33:43 +02:00
Christoph Oelckers
f8e23500c7
- moved Windows platform code as well.
2020-04-23 22:26:30 +02:00
Christoph Oelckers
612bf20809
- moved game state connections of the startup screen out of the backend code.
2020-04-23 00:02:34 +02:00
Christoph Oelckers
4da2351671
- fixed compile errors in POSIX platform code.
2020-04-22 20:42:13 +02:00
Christoph Oelckers
12e69adec3
- system backend cleanup.
...
This is mainly for running CI on Linux and macOS. Windws is already working.
2020-04-22 19:57:14 +02:00
Christoph Oelckers
b7ea483323
- fixed checkForHacks placement.
2020-04-19 19:52:03 +02:00
Christoph Oelckers
0eb68177ca
Merge branch 'master' into texture_rework
2020-04-19 18:07:16 +02:00
Christoph Oelckers
6dfc416b51
- fixed setup of IPK3's where all content is in a subdirectory.
...
These never received the file name list that was needed to eliminate this directory from internal paths.
2020-04-19 13:04:29 +02:00
Christoph Oelckers
5a2a72fc95
- store the Vulkan descriptor sets in the material - where they belong!
...
Having them in the base texture object was a major maintenance issue.
2020-04-19 10:57:56 +02:00
Christoph Oelckers
ef8e7a4944
- reworked the multipatch texture builder to reuse the FImageTexture objects.
2020-04-19 10:57:55 +02:00
Christoph Oelckers
718949f74d
- moved the texture name to FGameTexture.
2020-04-19 10:57:53 +02:00
Christoph Oelckers
8843761bf8
- moved most of the texture size maintenance to the FGameTexture class.
2020-04-19 10:57:53 +02:00
Christoph Oelckers
70ec20c137
- optimization of texture scaling checks.
...
The texture dimension checks can be performed up front when the texture is inserted into the texture manager.
2020-04-19 10:57:51 +02:00
Christoph Oelckers
662fa6e667
- removed the conversion helper code and fixed a few places where FMaterial was only used to access the hardware textures in the FTexture class.
2020-04-19 10:57:49 +02:00
Christoph Oelckers
397b1520bc
- deal with I_SetCursor
2020-04-19 10:57:48 +02:00
Christoph Oelckers
9099bc8420
- reworking some lower level texture code.
2020-04-19 10:57:46 +02:00
Christoph Oelckers
b9b6a354c7
- changed all texture access in the play code to use FGameTexture and redid Hexen's front sky layer by adding a new texture instead of hacking the existing one.
2020-04-19 10:57:46 +02:00
Christoph Oelckers
9e7094848c
- transitioned the 2D drawer to FGameTexture.
2020-04-19 10:57:45 +02:00
Christoph Oelckers
d9928b51a8
- eliminated all cases of calling DrawTexture with an FTexture.
...
Everything uses FGameTexture now.
2020-04-19 10:57:45 +02:00
alexey.lysiuk
f0ca7fb213
- fixed compilation of Linux targets
2020-04-12 11:03:01 +03:00
Christoph Oelckers
def123823b
- cleanup of 2D code.
2020-04-11 20:20:58 +02:00
Christoph Oelckers
ce4c2be3c7
- use the 2d drawer's size where appropriate.
2020-04-11 20:20:58 +02:00
Christoph Oelckers
b18faacab0
- 2D drawer cleanup.
2020-04-11 20:20:58 +02:00
Christoph Oelckers
f02c5c0a56
- took InitializeDefaults out of PClass and moved it to PClassActor.
...
Like so many other parts, this created a hard dependency of the low level code on very invasive game content.
2020-04-11 20:20:53 +02:00
Christoph Oelckers
74c5f83658
- moved most of the root marking out of the garbage collector, replacing it with callbacks.
...
Yet another place where low level code was tied too tightly to the game instead of providing a proper interface.
2020-04-11 20:20:52 +02:00
Christoph Oelckers
f8ac9a2662
- moved DObject and core parts of the VM to 'common'.
...
# Conflicts:
# src/common/objects/dobject.h
2020-04-11 20:20:51 +02:00
Christoph Oelckers
1a0ace4f88
- palette related fixes.
2020-04-11 20:20:40 +02:00
Christoph Oelckers
f8e9cb8fbc
- major dependency reduction of the texture system.
2020-04-11 20:20:37 +02:00
Christoph Oelckers
be24023722
- split animation management out of the texture manager into a separate class.
2020-04-11 20:20:36 +02:00