ny00123
d98bf9ba62
sw/src/draw.cpp:ResizeView: Make map zooming less dependent
...
on the frame rate
git-svn-id: https://svn.eduke32.com/eduke32@8700 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/draw.cpp
2020-03-08 08:02:01 +01:00
Christoph Oelckers
93eea97477
- allow selecting frontend for Duke3D in gameinfo.txt
2020-03-07 20:14:03 +01:00
ny00123
68f249873c
sw/src/weapon.cpp: Comment out unused MissileSeek and ComboMissileSeek
...
params, but leave them for documentation. Note that currently, the
only use of ComboMissileSeek is in the saveable_weapon_code array.
git-svn-id: https://svn.eduke32.com/eduke32@8698 1a8010ca-5511-0410-912e-c29ae57300e0
2020-03-07 19:49:24 +01:00
ny00123
cf093e9ea6
SW: Comment out function parameters accessed only in commented out code
...
git-svn-id: https://svn.eduke32.com/eduke32@8697 1a8010ca-5511-0410-912e-c29ae57300e0
2020-03-07 19:48:28 +01:00
ny00123
4842f18f1b
SW: Mark function parameters as unused in cases we can't easily change
...
the functions' signatures (often due to being used as callbacks/hooks)
git-svn-id: https://svn.eduke32.com/eduke32@8696 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/jnstub.cpp
# source/sw/src/menus.cpp
# source/sw/src/panel.cpp
# source/sw/src/text.cpp
2020-03-07 19:48:14 +01:00
ny00123
3e8dc4e509
SW: Remove a bunch of unused function parameters
...
git-svn-id: https://svn.eduke32.com/eduke32@8694 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/brooms.cpp
# source/sw/src/draw.cpp
# source/sw/src/game.cpp
# source/sw/src/inv.cpp
# source/sw/src/save.cpp
# source/sw/src/spike.cpp
# source/sw/src/text.cpp
# source/sw/src/weapon.cpp
2020-03-07 19:45:38 +01:00
ny00123
f9155048fc
sw/src/weapon.cpp: Remove conditional set of unused variable hsp
...
in InitMineShrap, as well as unused variable sp in TestDontStick
git-svn-id: https://svn.eduke32.com/eduke32@8693 1a8010ca-5511-0410-912e-c29ae57300e0
2020-03-07 19:38:46 +01:00
ny00123
9c7553c776
sw/src/weapon.cpp: Insert unused SHRAP structs into #if 0 blocks
...
git-svn-id: https://svn.eduke32.com/eduke32@8692 1a8010ca-5511-0410-912e-c29ae57300e0
2020-03-07 19:38:21 +01:00
Christoph Oelckers
73a4e0d1fe
- made Blood's FullMap flag global and removed the hacks to show the full automap.
...
Also refactor show2dsector into a bit array to get rid of the bit shifting code at play here.
2020-03-07 19:30:18 +01:00
ny00123
14a2560d5f
sw/src/player.cpp: Remove unused globals related to mouse status
...
git-svn-id: https://svn.eduke32.com/eduke32@8690 1a8010ca-5511-0410-912e-c29ae57300e0
2020-03-07 19:30:18 +01:00
ny00123
f5df1b5a19
sw/src/player.cpp: A bit more complicated cases of unused vars
...
git-svn-id: https://svn.eduke32.com/eduke32@8689 1a8010ca-5511-0410-912e-c29ae57300e0
2020-03-07 19:30:18 +01:00
ny00123
ed6e9df07c
SW: Handle cases in which the result of an expression
...
with (possible) side-effects is written to an unused var.
git-svn-id: https://svn.eduke32.com/eduke32@8688 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/console.cpp
# source/sw/src/jnstub.cpp
# source/sw/src/save.cpp
# source/sw/src/sounds.cpp
# source/sw/src/swconfig.cpp
2020-03-07 19:30:18 +01:00
ny00123
d55871927a
SW: Comment out unused vars, which would become
...
used if previously commented out code was uncommented
(including a few instances of uninitialized var reads).
git-svn-id: https://svn.eduke32.com/eduke32@8686 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/brooms.cpp
# source/sw/src/cheats.cpp
# source/sw/src/draw.cpp
# source/sw/src/game.cpp
# source/sw/src/jnstub.cpp
# source/sw/src/menus.cpp
# source/sw/src/rts.cpp
# source/sw/src/sector.cpp
# source/sw/src/setup.cpp
# source/sw/src/sounds.cpp
# source/sw/src/weapon.cpp
2020-03-07 19:30:17 +01:00
ny00123
896de8aa1c
SW: Remove a ton of unused vars
...
git-svn-id: https://svn.eduke32.com/eduke32@8685 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# source/sw/src/anim.cpp
# source/sw/src/border.cpp
# source/sw/src/brooms.cpp
# source/sw/src/config.cpp
# source/sw/src/console.cpp
# source/sw/src/coolie.cpp
# source/sw/src/draw.cpp
# source/sw/src/game.cpp
# source/sw/src/hornet.cpp
# source/sw/src/jbhlp.cpp
# source/sw/src/jnstub.cpp
# source/sw/src/jsector.cpp
# source/sw/src/menus.cpp
# source/sw/src/miscactr.cpp
# source/sw/src/network.cpp
# source/sw/src/ninja.cpp
# source/sw/src/player.cpp
# source/sw/src/save.cpp
# source/sw/src/serp.cpp
# source/sw/src/setup.cpp
# source/sw/src/sounds.cpp
# source/sw/src/sprite.cpp
# source/sw/src/swconfig.cpp
# source/sw/src/weapon.cpp
2020-03-07 19:30:17 +01:00
Christoph Oelckers
5a6096c740
- no Lunatic
2020-03-07 19:30:17 +01:00
alexey.lysiuk
53cda00747
- added detection of Redneck Deer Huntin' installed from Steam
2020-03-07 11:31:46 +02:00
Christoph Oelckers
2c203fbf80
- more consolidation between RR and Duke.
2020-03-06 19:29:13 +01:00
Christoph Oelckers
cb322a1a1b
Merge branch 'master' of https://github.com/coelckers/Raze
2020-03-06 17:44:53 +01:00
Christoph Oelckers
6095808503
- consolidation of dynamic sound remapping
2020-03-06 17:23:30 +01:00
Christoph Oelckers
a5c2152530
- consolidated the dynamic tile handling for Duke and RR frontends
2020-03-06 17:12:38 +01:00
alexey.lysiuk
12a655b58f
- fixed build with GCC and Clang
...
source/duke3d/src/gameexec.h:109:35: error: expected primary-expression before ‘)’ token
source/duke3d/src/gameexec.h:115:35: error: expected primary-expression before ‘)’ token
2020-03-06 13:26:32 +02:00
NoOneBlood
aa5b7033de
- Condition type update (WIP)
...
- IncDec type update (can iterate multiple data fields)
- Fix compile warning (?)
2020-03-05 22:11:22 +01:00
Christoph Oelckers
86278fc79c
- fixed bad annotation.
2020-03-05 21:14:45 +01:00
Christoph Oelckers
a519861571
- I think this is needed...
2020-03-05 21:14:34 +01:00
Christoph Oelckers
b3c1d5001e
- used double frame buffering for VPX playback.
...
With a single buffer this tends to run into situations where an unrendered texture gets deleted before it is drawn.
2020-03-05 20:56:41 +01:00
Christoph Oelckers
e2fab16fd4
- fixed crashes with VM asserts.
...
No idea what went wrong here - formatting the string in two stages works fine, though.
2020-03-05 20:28:37 +01:00
Christoph Oelckers
4a76674f4b
- deleted a few unused files
2020-03-05 01:20:58 +01:00
Christoph Oelckers
4788dc42fb
- cleanup of the screentext consolidation
...
Since SetIfGreater is only used by the text code, the redundant copies could be removed.
2020-03-05 01:17:31 +01:00
Christoph Oelckers
822079abe0
fixed some compiler warnings listed by XCode
2020-03-05 01:01:05 +01:00
Christoph Oelckers
2c50554c6f
- Hmmm... Clang...
2020-03-05 01:01:05 +01:00
Christoph Oelckers
a00bb4cbea
- started consolidation of EDuke/RedNukem code by moving the identical parts of actor.h to a shared namespace.
2020-03-05 01:01:05 +01:00
Christoph Oelckers
a203e37aeb
- removed buggy diagnostics print.
2020-03-05 01:01:04 +01:00
Christoph Oelckers
f59bfa1224
- consolidation of screentext code
2020-03-05 00:58:38 +01:00
nukeykt
b88eeea9a2
Exhumed: Correctly set player action id for mummified state
2020-03-04 17:57:16 +01:00
nukeykt
2bf65c9108
Exhumed: Use old ksqrt implementation
2020-03-04 17:57:15 +01:00
NoOneBlood
bdca9420f5
- Event redirection support for modern types
...
- New modern type "Condition" (WIP)
- Fix damage scale for custom dude
- Extend Impact and Vector flags so they can be used with dudes
- Impact condition can be triggered with missiles and explosions
- Updates for Teleport Target type (gModernMap)
- Updates for Effect Gen type
- Updates for Wind Gen type
# Conflicts:
# source/blood/src/actor.cpp
# source/blood/src/aiunicult.h
2020-03-02 23:53:33 +01:00
Christoph Oelckers
8eef69b1a6
- compile fixes.
2020-03-02 23:05:07 +01:00
sirlemonhead
df34d8ca85
PCExhumed: Big bunch of AI tidying, code consistency changes and misc fixes. Aiming to get compatibility with new demos from DOS exe.
...
# Conflicts:
# source/exhumed/src/anubis.cpp
# source/exhumed/src/bubbles.cpp
# source/exhumed/src/bubbles.h
# source/exhumed/src/bullet.cpp
# source/exhumed/src/bullet.h
# source/exhumed/src/fish.cpp
# source/exhumed/src/fish.h
# source/exhumed/src/grenade.cpp
# source/exhumed/src/grenade.h
# source/exhumed/src/lavadude.cpp
# source/exhumed/src/lavadude.h
# source/exhumed/src/lion.cpp
# source/exhumed/src/lion.h
# source/exhumed/src/mummy.cpp
# source/exhumed/src/mummy.h
# source/exhumed/src/queen.cpp
# source/exhumed/src/queen.h
# source/exhumed/src/ra.cpp
# source/exhumed/src/ra.h
# source/exhumed/src/rat.cpp
# source/exhumed/src/rat.h
# source/exhumed/src/rex.cpp
# source/exhumed/src/roach.cpp
# source/exhumed/src/roach.h
# source/exhumed/src/runlist.cpp
# source/exhumed/src/scorp.cpp
# source/exhumed/src/set.cpp
# source/exhumed/src/set.h
# source/exhumed/src/snake.cpp
# source/exhumed/src/snake.h
# source/exhumed/src/spider.cpp
# source/exhumed/src/spider.h
# source/exhumed/src/wasp.cpp
# source/exhumed/src/wasp.h
2020-03-02 23:01:55 +01:00
Christoph Oelckers
6656547908
- fixed some warnings in Deer Huntin' code
2020-03-02 15:41:30 +01:00
Christoph Oelckers
348325c879
- removed some editor-only code from engine.cpp
2020-03-01 19:12:18 +01:00
Christoph Oelckers
375bf639de
- that was stupid.
2020-03-01 18:40:49 +01:00
Christoph Oelckers
951d28f15d
- Exhumed movie fix.
2020-03-01 18:32:43 +01:00
Christoph Oelckers
cf662de165
- commented out diagnostic messages.
2020-03-01 17:22:31 +01:00
Christoph Oelckers
edf513a789
- Clang complained again. :(
2020-03-01 16:43:34 +01:00
Christoph Oelckers
f89915ac8f
- fixed game start check for Exhumed's ingame menu.
2020-03-01 16:40:19 +01:00
Christoph Oelckers
ee191f0681
- SW: map cheat partially reimplemented.
2020-03-01 16:33:06 +01:00
Christoph Oelckers
12af524dcc
- fixed Exhumed's ingame menu.
...
The bad setup here didn't let the menu's exit action pass to the game code, it still needed ugly workarounds.
2020-03-01 16:32:41 +01:00
Christoph Oelckers
2e8ace603b
- fixed SW sound crash.
2020-03-01 13:10:07 +01:00
Christoph Oelckers
f1e2c0c226
- use the proper way to register an empty song on Blood maps without music.
2020-03-01 12:57:23 +01:00
Christoph Oelckers
3596be48bf
- Clang did not like this.
2020-03-01 11:33:46 +01:00
Christoph Oelckers
fde633041b
- SW: fixed ownership of non-following sounds.
2020-03-01 10:59:53 +01:00
Christoph Oelckers
b06c84ad8c
- fix case sensitive path composition.
2020-03-01 10:17:26 +01:00
Christoph Oelckers
809d2fc555
- fixed SW: DoPlayerFall should only stop the scream sound, but nothing else.
2020-03-01 09:59:52 +01:00
Christoph Oelckers
d6b17c0406
- fixed bad vector comparison in SW's sound code.
2020-03-01 09:18:23 +01:00
Christoph Oelckers
cd5ff69c98
- Duke: Do not let the max kill counter underflow.
...
The entire thing looks broken anyway but this at least prevents the broken values from showing up in the statistics.
2020-03-01 08:35:05 +01:00
Christoph Oelckers
70f684d137
- check both upper and lower case versions of file names on non-Windows platforms when looking for addons.
2020-03-01 07:40:13 +01:00
Christoph Oelckers
83d56f56d5
- fixed uninitialized 'isInitialized' variable in FGameConfigFile.
2020-03-01 07:28:40 +01:00
Christoph Oelckers
61fbbc56c0
- fixed intermittent ambient sounds in SW.
2020-02-29 17:55:31 +01:00
Christoph Oelckers
4bc0531bf7
- disabled help screen in Exhumed and save menus in Deer Huntin'.
2020-02-29 12:55:12 +01:00
Christoph Oelckers
69e018d0c4
- added serialization of playing sounds.
...
For ambient sounds that can be cleanly restarted a new 'transient' flag was added so that these do not get written out.
Tested on SW so far, other games yet to do.
2020-02-29 12:33:35 +01:00
hendricks266
da6c7ddab5
Add mhkreset maphack command
...
Thanks to LeoD.
git-svn-id: https://svn.eduke32.com/eduke32@8644 1a8010ca-5511-0410-912e-c29ae57300e0
2020-02-29 10:05:47 +01:00
hendricks266
dc2d6a098e
Fix mdpivxoff and mdpivyoff commands
...
Thanks to LeoD.
git-svn-id: https://svn.eduke32.com/eduke32@8643 1a8010ca-5511-0410-912e-c29ae57300e0
2020-02-29 10:05:23 +01:00
Christoph Oelckers
64a34f8af7
- disable the tenth weapon slot for Ion Fury.
2020-02-29 09:58:15 +01:00
Christoph Oelckers
4414d59fbc
- added a check to the player sound code to prevent the surfacing sound from blocking out other speech.
...
The start of the third level is badly timed and this will block the introduction line.
2020-02-29 09:30:12 +01:00
Christoph Oelckers
b68cbddb7d
- fixed missing crosshair in RR after merging the Deer Huntin' code.
2020-02-29 08:58:30 +01:00
Christoph Oelckers
1a66878205
- fixed some issues with Exhumed's ambient and creepy sounds.
...
Both now refer to a proper target for bookkeeping.
2020-02-28 19:56:37 +01:00
sirlemonhead
69aba5f3ea
PCExhumed: Don't modify coordinates with abs() in runlist_CheckRadialDamage(), correct to original behaviour.
2020-02-28 18:42:45 +01:00
Christoph Oelckers
3855eb889e
- SW: fixed ambient sound playback.
...
There was a coordinate and a restarting problem.
2020-02-27 23:11:03 +01:00
Christoph Oelckers
cec4aad75a
- saveversion bump.
2020-02-27 19:56:17 +01:00
nukeykt
7c96c550d9
Blood: disable TROR in map v7
...
# Conflicts:
# source/blood/src/db.cpp
2020-02-27 19:55:42 +01:00
nukeykt
d7f9a5acee
Blood: store parallax sky info in savegame
...
# Conflicts:
# source/blood/src/loadsave.cpp
2020-02-27 19:55:12 +01:00
Christoph Oelckers
9d934d22b2
- silence MSVC warnings.
2020-02-27 19:50:29 +01:00
nukeykt
bb3009c8a7
Rednukem: dh wip
...
# Conflicts:
# source/rr/src/rrdh.h
2020-02-27 19:44:24 +01:00
nukeykt
882b061ee1
Rednukem: add dh specific code
...
# Conflicts:
# source/rr/src/rrdh.cpp
# source/rr/src/rrdh.h
2020-02-27 19:44:00 +01:00
nukeykt
8c37e94061
Rednukem: dh player code
...
# Conflicts:
# source/rr/src/rrdh.h
2020-02-27 19:36:15 +01:00
Christoph Oelckers
dbf446ee6c
- ported the menu changes of the last commit.
2020-02-27 19:26:30 +01:00
nukeykt
95cc4a8aab
Rednukem: dh menu
...
# Conflicts:
# source/rr/src/menus.cpp
# source/rr/src/rrdh.h
2020-02-27 18:28:14 +01:00
sirlemonhead
cd4090e531
PCExhumed: Fix Anubis drum not moving correctly when shot (bad angle calc).
2020-02-27 18:27:33 +01:00
Christoph Oelckers
0ed3b3b3ea
- manual merge of * PCExhumed: Don't shrink/expand screen viewable area if in map mode. Fixes #327
...
Code was too different for cherry-picking.
2020-02-26 20:51:19 +01:00
Christoph Oelckers
80768e2fa8
- register the correct menu classes.
2020-02-26 20:31:49 +01:00
Christoph Oelckers
1eb00949e3
- manually added the RRDH menu stuff.
2020-02-26 20:31:49 +01:00
nukeykt
16052577a4
Rednukem: dh wip
...
# Conflicts:
# source/rr/src/game.cpp
# source/rr/src/menus.cpp
2020-02-26 20:31:49 +01:00
nukeykt
ac2a17f5ea
Rednukem: dh wip
...
# Conflicts:
# GNUmakefile
# platform/Windows/rednukem.vcxproj
# platform/Windows/rednukem.vcxproj.filters
# source/rr/src/common_game.h
# source/rr/src/screens.cpp
2020-02-26 20:31:48 +01:00
Christoph Oelckers
0551c16203
- added detection for Deer Huntin' GRP.
2020-02-26 20:31:48 +01:00
Christoph Oelckers
7533fbaa8e
- fixed: special 2D palettes do not have brightmaps so any such texture must be completely excluded from being checked.
2020-02-26 18:10:06 +01:00
Christoph Oelckers
bf4ac0a5c0
Merge branch 'master' of https://github.com/coelckers/Raze
2020-02-26 17:38:03 +01:00
Christoph Oelckers
ca18e70f2d
- SW: Do not skip status bar when the menu is up.
2020-02-26 01:06:07 +01:00
Christoph Oelckers
6315bd3960
- Exhumed - fixed wrong sound origin for special effect sound
2020-02-26 00:20:52 +01:00
Christoph Oelckers
638f8b0102
0.5.0
2020-02-25 21:20:58 +01:00
Christoph Oelckers
c045096393
- fixed: When loading a savegame without music, stop any playing music.
2020-02-25 21:15:25 +01:00
Christoph Oelckers
9945131d3a
- RR: Do not start the "8-track player" when a map got a dedicated music track defined.
...
Otherwise it may become a bit annoying.
2020-02-25 21:11:19 +01:00
Christoph Oelckers
864c3c5766
- SW: Fixed fortune cookie text display.
2020-02-25 21:03:38 +01:00
Christoph Oelckers
8c01061053
- SW: Explicitly call hud_size's callback to reinitialize the status bar when loading a savegame.
...
Since part of the bar's content is stored in a savegame it needs to be manually refreshed after loading or it may display garbage.
2020-02-25 20:51:58 +01:00
Christoph Oelckers
b4a2a5c187
- fixed Exhumed's creepy sounds.
2020-02-25 20:10:36 +01:00
Christoph Oelckers
71083f2b23
- use sound rolloff settings for Exhumed that actually work.
...
I cannot say if this is correct because the sound in PCExhumed doesn't seem right so the rolloff distance was more or less guesswork based on what sounds ok.
2020-02-25 19:40:39 +01:00
Christoph Oelckers
1c2ea506f2
- fixed: Windows must call the wide version of _mkdir for Unicode support.
2020-02-25 18:49:24 +01:00
Christoph Oelckers
7d725bfe8a
Exhumed sound coordinate fixes
2020-02-25 00:40:51 +01:00
sirlemonhead
999840a9b5
PCExhumed: Corrected sector tag number handling for enemy death triggered sectors. Fixes issue #328
2020-02-24 22:13:32 +01:00
Christoph Oelckers
2f91c2f696
- fixed the Exhumed sequence reader.
...
There was interference with the sound loader here - both accessed the same file handle so the sequence's sound data wasn't read correctly, resulting in memory corruption.
2020-02-24 21:59:04 +01:00
Christoph Oelckers
fe1133e5c2
- fixed EnumerateChannels.
2020-02-24 20:19:03 +01:00