Commit graph

14358 commits

Author SHA1 Message Date
Christoph Oelckers
ce87653ab3 - WH: fixed level warping. 2021-06-27 10:09:13 +02:00
Christoph Oelckers
c31b0486a0 - WH: disabled menu entries for non-existent options. 2021-06-27 09:54:38 +02:00
Christoph Oelckers
af8f056f23 - WH: clear the screen before drawing the menu background. 2021-06-27 09:51:57 +02:00
Christoph Oelckers
283ed142ad - WH: use correct internal button for 'fly down' 2021-06-27 09:36:47 +02:00
Christoph Oelckers
dd8505829e Merge branch 'master' into whaven 2021-06-27 09:27:40 +02:00
Christoph Oelckers
5e96e955f3 - add hitscan only autoaim for SW.
# Conflicts:
#	source/games/sw/src/weapon.cpp
2021-06-26 12:22:10 +02:00
Christoph Oelckers
2af2d29084 - add hitscan only autoaim for SW. 2021-06-26 12:18:27 +02:00
Christoph Oelckers
e9b2bf9e4e - shortened the message for not found game data and restrict to non-Windows systems. 2021-06-26 12:10:46 +02:00
Hugo Locurcio
a10018bc36 Display game data path when no game data files are found
This helps users find the location where they should place
game data files.
2021-06-26 12:06:35 +02:00
Christoph Oelckers
4dd293d551 - zero-terminate the buffer for reading Blood's INI files. 2021-06-26 12:04:21 +02:00
Christoph Oelckers
3512fe8fba - dynamically adjust SW's menu spacing based on language. 2021-06-26 11:58:40 +02:00
Christoph Oelckers
0f7d3d0cbb - streamlined and fixed game startup with '-map' option.
* Blood: Initialize global pointers in app_init so that they are not NULL.
* consider Mapinfo data when checking for a given level name.
* removed redundant level name output.
2021-06-26 10:11:50 +02:00
Christoph Oelckers
63bc36e3c4 - renamed some constants.
Manually copied from NBlood because the underlying code has changed too much already.
2021-06-24 14:14:16 +02:00
Mitchell Richters
9ed27effe5 - SW: Tune position of HUD elements since ZScript-ification.
* Fixes #428.
2021-06-24 21:13:05 +10:00
Mitchell Richters
30da87d55b - Exhumed: Fix level stat position on full HUD.
* Fixes #429.
2021-06-24 20:56:20 +10:00
Mitchell Richters
acadd716f8 - For Unix systems, ensure that the root of the player's .config directory is scanned for content, not just subdirectories.
* Fixes #430.
2021-06-24 20:47:14 +10:00
Mitchell Richters
a27888f9df - Duke (RR): Tune position of RR HUD elements since ZScript-ification.
* Fixes #433.
2021-06-24 20:28:29 +10:00
Mitchell Richters
af690d765a
Merge pull request #436 from Calinou/add-ambient-light-setting-gui
Add an Ambient Light slider to the Display Options setting GUI
2021-06-24 20:07:43 +10:00
Mitchell Richters
b015bc0685 - Duke (RRRA): Fix alt weapon slot for CHICKEN_WEAPON and CROSSBOW_WEAPON.
* Fixes #440.
2021-06-24 18:56:12 +10:00
Mitchell Richters
39983f8144 - Fix maps loaded from the command line starting with corrupted sectors.
* Starting game same way `map` CCMD does it for now.
2021-06-24 18:50:10 +10:00
Mitchell Richters
9645009b28 - Fix -map command-line argument not working.
* Fixes #441.
2021-06-24 18:49:26 +10:00
Mitchell Richters
6018213c71 - Blood: Don't parse BloodBathOnly levels in the INI loader.
* Fixes #442.
2021-06-24 18:21:06 +10:00
Emile Belanger
b6e76337e0 Fix so small font is displayed correctly 2021-06-20 16:34:26 +02:00
Hugo Locurcio
672637fc13
Add an Ambient Light slider to the Display Options setting GUI
`r_ambientlight` works in a way similar to EDuke32's Visibility slider.
Higher values decrease the amount of visible "fog" in the distance,
especially in darker areas.
2021-06-17 23:42:41 +02:00
Christoph Oelckers
9324898cbc - added missing widescreen sprite for RRRA's bike 2021-06-13 10:10:16 +02:00
Christoph Oelckers
4e82270aab - added credits for all widescreen tile contributors to AUTHORS.md. 2021-06-13 09:53:52 +02:00
Christoph Oelckers
0069af02e7 - use a slightly higher depth bias for translucent elements.
These can otherwise cause z-fighting when being used with non-translucent floor and wall sprites.
2021-06-13 09:39:07 +02:00
Christoph Oelckers
5556756d43 - map fix for Hickston Swamp (RR mod) E1L3:
Wall sprite is placed in the wrong sector which makes the new renderer's far stricter checks to reduce sprite flicker fail to position it correctly.
2021-06-13 09:32:30 +02:00
Christoph Oelckers
20ca676539 - RR: fixed crash in function that handles acts of mass destruction (like blowing up gas stations.)
With bad setups 'spr' could be left uninitialized. This crashed E1L1 of 'The Hickston Swamp' mod.
2021-06-11 23:20:50 +02:00
Christoph Oelckers
15635ec7c8 - fixed crash when trying to triangulate broken sectors.
In these cases it is possible that the wall index may go below 0.
2021-06-11 23:18:46 +02:00
Christoph Oelckers
d270d75d74 - re-added line of code that got lost during refactoring. 2021-06-10 00:14:04 +02:00
Christoph Oelckers
4b35a30de5 - RR: fixed the bowling lane lights.
Tiles had not been made writable.
Also renamed a few bowling related things.
2021-06-09 23:53:05 +02:00
Christoph Oelckers
1cea743536 - restrict lookup of engine/engine.def to the main game files.
Mods should not use this to load their data.
2021-06-09 08:38:40 +02:00
Christoph Oelckers
9d36e61d3f - depth bias fixes. 2021-06-09 00:47:13 +02:00
Christoph Oelckers
5b38343407 - fixed sprite exclusion logic in getzrange.
This was using the wrong flag.
2021-06-09 00:31:54 +02:00
Christoph Oelckers
a32489be31 - wall sprite positioning tweaks.
Turns out that a distance of one Build unit from a wall alone is not enough to render them glitch-free, some depth bias is still needed.
2021-06-09 00:31:54 +02:00
Christoph Oelckers
cfb07fa17d - fixed sprite exclusion logic in getzrange.
This was using the wrong flag.
2021-06-09 00:31:18 +02:00
Christoph Oelckers
96200d9e25 - wall sprite positioning tweaks.
Turns out that a distance of one Build unit from a wall alone is not enough to render them glitch-free, some depth bias is still needed.
2021-06-08 22:43:11 +02:00
Christoph Oelckers
44daf649cd - fixed bad interpolation setup. 2021-06-08 22:42:02 +02:00
Christoph Oelckers
b6c7ee1a94 - WH2 font fixes and translation setup. 2021-06-05 22:23:28 +02:00
Christoph Oelckers
8e513429ad - WH: fixed the font setup and set proper scaling value. 2021-06-05 22:08:14 +02:00
Christoph Oelckers
8c020059ac - WH: added the second fullscreen HUD 2021-06-05 21:40:01 +02:00
Christoph Oelckers
d189fbf5ca - WH: first overlay HUD variant and window frame. 2021-06-05 20:10:34 +02:00
Christoph Oelckers
dfbfd8369e - WH: fixed statusbar layout 2021-06-05 19:09:45 +02:00
Christoph Oelckers
bd1c37960f - display the status bar.
It's totally broken, but at least a start.
2021-06-05 16:59:41 +02:00
Christoph Oelckers
d35092698d - Witchaven: fix status bar code so that everything compiles again. 2021-06-03 19:42:49 +02:00
Christoph Oelckers
4b7c1bd37e - WH: Init fixes and cleanup. 2021-06-03 17:21:31 +02:00
Christoph Oelckers
095391ed3a - WH: interpolation 2021-06-03 17:21:10 +02:00
Christoph Oelckers
fc5e0ae229 - removed WH's empty 2d.cpp file. 2021-06-03 16:34:57 +02:00
Christoph Oelckers
66b87240ac Revert "- Exhumed: precache all frames of tile animations."
This reverts commit 89344a6023.

This got in by accident - the backend already takes care of animations.
2021-06-03 16:22:24 +02:00