Christoph Oelckers
a32bc350f1
- allow all keys to open the menu in Blood's demo loop.
2020-02-10 20:35:21 +01:00
alexey.lysiuk
744e4161f7
- removed message about vintage build
2020-02-10 15:10:45 +02:00
alexey.lysiuk
508b019447
- removed useless call in SDL backend
...
Its result wasn't used, and it may invoke function of DDummyFrameBuffer during initial sound precaching
2020-02-10 15:09:59 +02:00
Christoph Oelckers
8374b9e1b4
- fixed: The menu code should not reset the global input state when trying to close a menu with none open.
2020-02-09 22:57:04 +01:00
Christoph Oelckers
e3f8fca36e
- fixed two crash bugs I found while testing some mods.
2020-02-09 22:32:13 +01:00
Christoph Oelckers
4e58265d21
- disabled parts of EDuke commit 7829 because its side effects are worse than what it tries to fix.
...
In particular this causes backwards sliding against walls.
2020-02-09 22:18:36 +01:00
Christoph Oelckers
c53d9cfc3a
- reworked voxel texture generation to use the backend's palette manager.
...
The original code was not able to handle changing palettes and only worked if each palette change resulted in a full texture flush - which Raze does not perform.
2020-02-09 20:14:26 +01:00
Christoph Oelckers
6257994198
- fixed validation of hud_custom CVAR.
2020-02-09 18:42:14 +01:00
Christoph Oelckers
b87ee10a0a
- added missing string length check.
2020-02-09 18:37:24 +01:00
NoOneBlood
fa057282df
- Fix kModernTargetChanger wrong dudeInfo
2020-02-09 16:16:02 +01:00
Christoph Oelckers
7f58e8b6ca
0.4.1
2020-02-09 16:14:36 +01:00
Christoph Oelckers
91b9ce54e4
- use a dedicated flag for defined hightile tints so that the shader can use them.
2020-02-09 15:53:08 +01:00
Christoph Oelckers
a5fc374b59
- always recalculate the projection matrix.
...
Trying to cache this is not useful, it barely saves time and was causing display errors.
# Conflicts:
# source/build/src/polymost.cpp
2020-02-09 15:53:07 +01:00
alexey.lysiuk
30204d6072
- made ZMusic library required for non-MSVC targets
2020-02-09 16:48:07 +02:00
Christoph Oelckers
6231cec7c1
- sound backend update.
2020-02-09 13:26:51 +01:00
Christoph Oelckers
9310c25a7b
- -addon 0 seems to be a valid parameter...
2020-02-09 09:48:55 +01:00
Christoph Oelckers
598ce8a2ef
- increased amount of vertices to allow handling voxel packs.
...
This is merely a stopgap until the code can be properly refactored.
2020-02-09 08:32:40 +01:00
Christoph Oelckers
1054356cef
- fixed CD music playback in SW on maps with no MIDI defined.
2020-02-08 21:37:32 +01:00
alexey.lysiuk
67b5cd2cb3
- disabled progress bar on Cocoa start window
2020-02-08 16:56:52 +02:00
NoOneBlood
5d6ac932d3
Removed IsItemSprite, IsWeaponSprite, IsAmmoSprite function duplicates
2020-02-08 12:01:24 +01:00
Christoph Oelckers
681155de65
- fixed GOG path lookup.
...
I was unable to verify the Steam paths so they may or may not work.
2020-02-07 22:23:33 +01:00
NoOneBlood
e79a693313
Refactor of NOONE_EXTESNIONS:
...
All functions and definitions was moved to nnexts.h and nnexts.cpp files
to minimize ifdefs and generally make code more clear
# Conflicts:
# GNUmakefile
# platform/Windows/nblood.vcxproj
# platform/Windows/nblood.vcxproj.filters
# platform/Windows/props/build_common.props
# source/blood/src/actor.cpp
# source/blood/src/ai.h
# source/blood/src/aiunicult.cpp
# source/blood/src/blood.cpp
# source/blood/src/db.cpp
# source/blood/src/eventq.cpp
# source/blood/src/gameutil.cpp
# source/blood/src/gameutil.h
# source/blood/src/loadsave.cpp
# source/blood/src/player.cpp
# source/blood/src/player.h
# source/blood/src/triggers.h
# source/blood/src/view.cpp
2020-02-07 22:23:33 +01:00
alexey.lysiuk
8ee516086b
- added default soundfont
...
Using SC-55 Presets from https://www.vogons.org/viewtopic.php?f=9&t=45600
https://forum.zdoom.org/viewtopic.php?t=67284
2020-02-07 22:36:37 +02:00
terminx
b214a67853
Minor clipping fix
...
git-svn-id: https://svn.eduke32.com/eduke32@8608 1a8010ca-5511-0410-912e-c29ae57300e0
2020-02-07 18:55:56 +01:00
terminx
ba7de01d7f
This should be ifndef NETCODE_DISABLE
...
git-svn-id: https://svn.eduke32.com/eduke32@8604 1a8010ca-5511-0410-912e-c29ae57300e0
2020-02-07 18:55:56 +01:00
alexey.lysiuk
c54f813ea9
- fixed shifting of the current item in save/load menus
...
Virtual <New save game> item wasn't taken into account
2020-02-07 08:06:09 +01:00
nukeykt
438fa1b267
Blood: prevent player struct OOB issues
...
# Conflicts:
# source/blood/src/view.cpp
2020-02-06 18:48:23 +01:00
nukeykt
389ac695de
oops #2
2020-02-06 18:48:02 +01:00
nukeykt
8d99df7dec
oops
...
# Conflicts:
# source/blood/src/demo.cpp
2020-02-06 18:48:02 +01:00
nukeykt
9cc4d9f432
Blood: workaround dudeInfo OOB issue
...
# Conflicts:
# source/blood/src/actor.cpp
# source/blood/src/demo.cpp
# source/blood/src/dude.cpp
# source/blood/src/dude.h
2020-02-06 18:47:26 +01:00
Christoph Oelckers
215cb14401
- use a non-0 depth bias for sprites.
...
Hopefully this helps fixing the z-fighting issue with wall sprites in some Blood maps.
2020-02-06 18:44:06 +01:00
alexey.lysiuk
1479e1feae
- unified demo path handling for all platforms
...
The current game subdirectory is now created on all platforms
2020-02-06 12:04:51 +01:00
alexey.lysiuk
787211c9dc
- unified saved games path handling for all platforms
...
The current game subdirectory is now created on all platforms
Added support for -savedir command line switch for all platforms
Removed save_dir CVAR in favor of cl_savedir which was available on Windows only
Made cl_savedir CVAR global instead of different value per each game
2020-02-06 12:04:51 +01:00
Christoph Oelckers
67a2952ead
- fixed RR's music.
2020-02-05 22:03:42 +01:00
Christoph Oelckers
803e57c3b3
- fixed: Reverb must be fully disabled when starting the SW intermission.
2020-02-05 20:25:18 +01:00
Christoph Oelckers
dbc958baeb
- fixed swapped color channels in the tinting part of the shader.
2020-02-05 20:02:50 +01:00
Christoph Oelckers
f6d9b5602b
- fixed hud_scale.
2020-02-05 19:06:36 +01:00
Christoph Oelckers
d7e54f83de
- fixed ShadowWarrior's 'map' CCMD.
2020-02-05 18:55:10 +01:00
Christoph Oelckers
4b0db4893a
- fixed a few changes constants.
2020-02-05 18:49:47 +01:00
sirlemonhead
5f2009eea5
PCExhumed: Remove function declaration for ServeSample in movie.cpp
2020-02-05 18:00:41 +01:00
sirlemonhead
efaefff3d0
PCExhumed: Misc code tidying. Changed cases in runlist_ProcessSectorTag() to match editor tag numbers,
...
consolidated duplicate code in runlist_ProcessWallTag(), renamed ActiveSound struct vars etc.
# Conflicts:
# source/exhumed/src/cd.cpp
# source/exhumed/src/exhumed.cpp
# source/exhumed/src/fish.cpp
# source/exhumed/src/grenade.cpp
# source/exhumed/src/mummy.cpp
# source/exhumed/src/sound.cpp
2020-02-05 18:00:40 +01:00
Christoph Oelckers
03a300988e
- version bump and new bug forum URL
2020-02-04 21:11:17 +01:00
Christoph Oelckers
1d468190a6
- fixed: parent-less confirmation screens did not process any input.
2020-02-04 21:02:22 +01:00
Christoph Oelckers
5d4514060b
- disable palette emulation for Blood's cutscenes.
...
These use color 255 as a valid index which the palette emulation shader does not handle.
2020-02-04 20:40:10 +01:00
Christoph Oelckers
1126d5e3d4
- fixed return value of Mus_play
...
This wasn't always returning false if playback failed.
2020-02-04 20:32:51 +01:00
Christoph Oelckers
7bbbe63bd9
- fixed: hictint must not be enabled if the flags are 0.
2020-02-04 20:19:26 +01:00
Rachael Alexanderson
37443f2365
- fix compile on 32-bit
2020-02-04 18:51:15 +01:00
alexey.lysiuk
14ef8e873e
- fixed compilation NO_OPENAL option enabled
2020-02-04 16:16:49 +02:00
Christoph Oelckers
5d8f008140
- added 0 length check to StripExtension.
2020-02-03 22:12:36 +01:00
Christoph Oelckers
a90185bea9
- cleaned up the remaining dependencies on windows.h
...
This file now only gets included by code that really needs it.
2020-02-03 21:30:57 +01:00
Christoph Oelckers
95c906e21a
- removed the ENet dependency from gamecontrol.cpp as well.
...
The global init/shutdown code has been moved to the enet.cpp stub so that now only the networking files which need access include enet.h
2020-02-03 21:14:35 +01:00
Christoph Oelckers
4350a4dd31
- netcode cleanup.
...
This moves all parts in the Duke/Redneck modules that access ENet into net.cpp/network.cpp and changes global ENet structs to use C++ notation instead of typedefs so that anonymous definitions for them can be added where needed.
These changes are done to avoid including enet.h globally which is a major issue because this file does not work without including windows.h, making it extremely dirty.
2020-02-03 21:06:03 +01:00
CommonLoon102
0d8f901e2d
Blood: proper use of the NOONE_EXTENSIONS preprocessor definition
...
# Conflicts:
# Common.mak
# platform/Windows/nblood.vcxproj
2020-02-03 19:14:06 +01:00
CommonLoon102
081bbe6532
fix cerberus spinning not just if NOONE_EXTENSIONS is enabled
2020-02-03 19:13:42 +01:00
CommonLoon102
256bc3ec08
take maphacks into consideration
...
# Conflicts:
# source/build/src/polymost.cpp
2020-02-03 19:13:42 +01:00
Christoph Oelckers
78ff1f0536
- removed Bfree.
...
It was only used in two places in the header, no need to keep it around.
2020-02-03 19:12:36 +01:00
nukeykt
03b1f65a52
Polymost: fix sprite rendering issues
...
# Conflicts:
# source/build/src/engine.cpp
# source/build/src/polymost.cpp
2020-02-03 19:08:51 +01:00
alexey.lysiuk
cdeaa5b3d5
- suppressed omnipresent GCC warning
...
source/build/include/compat.h:1043:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
2020-02-03 10:48:15 +02:00
hendricks266
060d19ae35
SW: Clamp tsprz of blood pool floor decals
...
git-svn-id: https://svn.eduke32.com/eduke32@8598 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/names2.h
2020-02-02 20:50:39 +01:00
hendricks266
364b41bd55
SW: Clamp tsprz of Bouncing Betty mines to their floorz if beneath the floor
...
This fixes their invisibility in Polymost.
git-svn-id: https://svn.eduke32.com/eduke32@8597 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/draw.cpp
2020-02-02 20:49:54 +01:00
Christoph Oelckers
df36f27b32
- added a few missing voxel checks.
2020-02-02 20:48:40 +01:00
Christoph Oelckers
ca21852945
- hook up -nologo.
2020-02-02 20:44:57 +01:00
hendricks266
5fdd69cbbb
SW: Add Redux's workaround for glitchy fist HUD sprites in widescreen
...
git-svn-id: https://svn.eduke32.com/eduke32@8589 1a8010ca-5511-0410-912e-c29ae57300e0
2020-02-02 20:37:21 +01:00
hendricks266
9f2cb8ea0d
renderMakeTSpriteFromSprite: Copy extra, since SW uses it
...
SW: This fixes enemies glowing under nightvision.
git-svn-id: https://svn.eduke32.com/eduke32@8587 1a8010ca-5511-0410-912e-c29ae57300e0
2020-02-02 20:36:14 +01:00
hendricks266
3e023684f4
Fix -Wsign-compare warnings in anim.cpp
...
git-svn-id: https://svn.eduke32.com/eduke32@8584 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/duke3d/src/anim.cpp
2020-02-02 20:35:43 +01:00
Christoph Oelckers
5b83e51ab5
- reverb testing code
...
- toned down the default reverb.
2020-02-02 20:29:43 +01:00
Christoph Oelckers
8412602621
- added more EDuke credits.
2020-02-02 20:29:43 +01:00
alexey.lysiuk
01050be226
- added save_dir CVAR to customize saved games path
2020-02-02 17:06:13 +02:00
alexey.lysiuk
b70796db4c
- fixed drawing of a single character
...
This fixes missing console prompt and cursor
2020-02-02 15:00:51 +02:00
alexey.lysiuk
d0c58b8e64
- fixed: weapon names were printed instead of ammo in Shadow Warrior
2020-02-02 14:37:07 +02:00
Christoph Oelckers
3a522091b9
- detect the add ons in the Megaton edition.
2020-02-02 13:33:07 +01:00
Christoph Oelckers
1bb1f2ae98
- fixed the crash reporter on Windows.
2020-02-02 13:33:07 +01:00
alexey.lysiuk
a890079906
- added Steam path to Shadow Warrior Redux add-ons
...
Twin Dragon and Wanton Destruction are in the game selection list now
2020-02-02 13:57:45 +02:00
alexey.lysiuk
1edb5fe8ae
- moved showing of start window banner to proper location in Cocoa backend
...
Banner with the current game's name is not used yet but was displayed without any text
2020-02-02 13:55:59 +02:00
Christoph Oelckers
c9d7f21bf1
- fixed the config loader to read long line without messing up the data.
2020-02-02 11:49:36 +01:00
Christoph Oelckers
4d7a43004c
- use the new SW interpolation function for all games.
2020-02-02 10:27:47 +01:00
Christoph Oelckers
f76d139207
- fixed SW's interpolation math.
2020-02-02 09:51:44 +01:00
Christoph Oelckers
a594ba32d4
- added assignment to an unused scratch variable to the InitActor*Noise functions.
...
They are used a state identifiers but identical content-wise so MSVC's linker would merge them all together into one if some code wasn't added to make them different.
A global check for the scratch variable was added in a harmless place to ensure that whole program optimization algorithms won't optimize it out anyway after discovering that the variable is never used.
2020-02-02 08:53:28 +01:00
Christoph Oelckers
c34d9da783
- properly define the BasePalette wrapper.
2020-02-02 07:58:05 +01:00
Christoph Oelckers
ae9ad6612c
- fixed: Exhumed did not pause when the console was open.
2020-02-02 00:10:18 +01:00
Christoph Oelckers
0e1eeea037
- use the game palette directly for palette lookups.
...
The setup here is far too messy for having a copy in a better format - it can be changed in some non-obvious places.
2020-02-01 23:05:43 +01:00
Christoph Oelckers
5d55f768e0
- added autodetection for Cryptic Passage and Route 66 add-ons in their originally (messed up) form.
...
Cryptic Passage will also be detected in a Fresh Supply installation now.
2020-02-01 21:12:09 +01:00
alexey.lysiuk
0c2faae48b
- fixed invalid context warnings with Cocoa backend
...
A bunch of 'CGContext<...>: invalid context 0x0' messages were printed to console during OpenGL view creation and resizing
2020-02-01 17:11:56 +02:00
alexey.lysiuk
55cfecbe2c
- extended list of paths to Steam games
2020-02-01 17:09:13 +02:00
alexey.lysiuk
2dafa4555d
- fixed accessing Steam games on Linux and macOS
...
Special $STEAM "environment variable" should not be expanded
2020-02-01 13:17:02 +01:00
Christoph Oelckers
1cce5d8de2
- fixed RR was still generating input events when the game was paused.
2020-02-01 13:07:58 +01:00
Christoph Oelckers
77ad7dfb81
- fixed incomplete savegame restoration from inside the game.
...
This now quits the game loop instead of trying to set up the loaded level from inside it.
2020-02-01 10:50:40 +01:00
Christoph Oelckers
ab3811bac0
- fixed: The 2D drawer must apply the render state before it finishes.
...
Otherwise the global state settings will not be reset.
2020-01-31 22:07:51 +01:00
Christoph Oelckers
4ea61f37fb
- 0.3.3
2020-01-30 22:15:44 +01:00
Christoph Oelckers
eac1007c56
- automap color fix.
2020-01-30 22:05:18 +01:00
Christoph Oelckers
08a5c5ff4d
- added support for loading eduke.con for DN3D mods.
...
This is EDuke32's standard so it needs to be handled for mods using this name.
2020-01-30 20:53:39 +01:00
Christoph Oelckers
4bf519dcb0
- fixed copy/pasted broken 'map' CCMD.
2020-01-30 20:25:52 +01:00
Christoph Oelckers
2334787f1b
- reenabled the depth test for Polymost.
...
This was for debugging but accidentally left in.
2020-01-30 20:13:48 +01:00
Christoph Oelckers
cec7b006ca
Merge branch 'master' of https://github.com/coelckers/Raze
2020-01-29 22:06:48 +01:00
Christoph Oelckers
4aaf6c4cf6
- check for angular overflow in pitch calculations.
2020-01-29 21:52:17 +01:00
Christoph Oelckers
a0fa0560d4
- removed in_mousedeadzone CVAR.
2020-01-29 21:51:57 +01:00
Christoph Oelckers
68dc8d1812
- remove in_mousedeadzone, mirroring EDuke's removal of this.
2020-01-29 21:06:47 +01:00
terminx
8aee2f9489
Calculate game loop timing using fractional ticks
...
git-svn-id: https://svn.eduke32.com/eduke32@8572 1a8010ca-5511-0410-912e-c29ae57300e0
2020-01-29 19:36:55 +01:00
terminx
af816fdf00
This fixes things like shrunk player behavior at the expense of the return of issues like the player automatically stepping up onto sprite architecture.
...
git-svn-id: https://svn.eduke32.com/eduke32@8568 1a8010ca-5511-0410-912e-c29ae57300e0
2020-01-29 19:35:34 +01:00
terminx
102c7a6293
Remove useless G_MoveLoop() function
...
git-svn-id: https://svn.eduke32.com/eduke32@8563 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/duke3d/src/game.cpp
2020-01-29 19:22:40 +01:00