Christoph Oelckers
79c7748e90
- most 'if's.
...
# Conflicts:
# source/games/duke/src/zz_gamedef.cpp
2020-06-21 22:55:30 +02:00
Christoph Oelckers
72514b0a1d
- more instructions,
2020-06-21 22:55:24 +02:00
Christoph Oelckers
11255cbf6a
- hack for buggy scripts in production code.
2020-06-21 22:55:24 +02:00
Christoph Oelckers
248e0503d8
- safety commit
2020-06-21 22:55:24 +02:00
Christoph Oelckers
56975d3ee2
- progress
...
# Conflicts:
# source/games/duke/src/zz_gamedef.cpp
2020-06-21 22:55:23 +02:00
Christoph Oelckers
49e7fa20e8
- #2
2020-06-21 22:55:17 +02:00
Christoph Oelckers
6a6bbbe71a
- the first command in the parser is done.
2020-06-21 22:55:17 +02:00
Christoph Oelckers
1cedacb7f4
- removed the hash table for the labels.
...
Again, the old code doesn't have it and it'd complicate porting over the code.
2020-06-21 22:55:16 +02:00
Christoph Oelckers
4a5953adb4
- some more preparations on the parser code.
2020-06-21 22:55:16 +02:00
Christoph Oelckers
53e4b8bf19
- deactivated the label type checks because the original code doesn't have them and they'd get in the way of testing.
2020-06-21 22:55:16 +02:00
Christoph Oelckers
3ab19a2f0d
- hooked up the original CON parser for instruction-by-instruction substitution.
...
# Conflicts:
# source/games/duke/src/zz_gamedef.cpp
2020-06-21 22:55:15 +02:00
Christoph Oelckers
358d1a460f
- tabification of new sources and replacement of the CON instruction symbols.
...
# Conflicts:
# source/games/duke/src/zz_gamedef.cpp
2020-06-21 22:55:09 +02:00
Christoph Oelckers
deef1b5936
- World Tour commentary stubs.
...
# Conflicts:
# source/core/gamecontrol.cpp
2020-06-21 22:54:22 +02:00
Christoph Oelckers
0dacfb0049
- fixed compile
2020-06-21 22:53:08 +02:00
Christoph Oelckers
4c47361132
- added null check to findplayer.
2020-06-21 22:40:13 +02:00
Christoph Oelckers
577a800843
- the rest of sector.cpp, except for the input function.
2020-06-21 22:40:12 +02:00
Christoph Oelckers
92f5236b24
- more sector stuff.
2020-06-21 22:40:12 +02:00
Christoph Oelckers
c9a47d2e44
checkhitswitch
...
intentionally not merged because this is too messy.
2020-06-21 22:40:11 +02:00
Christoph Oelckers
536e3c886c
20% of sector.cpp
...
# Conflicts:
# source/games/duke/src/zz_sector.cpp
2020-06-21 22:40:11 +02:00
Christoph Oelckers
c8cb0e4efd
- the beginning of sector.cpp
...
The math backend functions have been moved out of Build because they originally have a good license.
# Conflicts:
# source/build/src/mdsprite.cpp
# source/build/src/polymost.cpp
2020-06-21 22:39:05 +02:00
Christoph Oelckers
9c3189475a
- renamed unprocessed files and added missing WT firefly effect.
2020-06-21 22:38:05 +02:00
Christoph Oelckers
8cc273955d
- moveeffectors, actors.c complete.
2020-06-21 22:38:04 +02:00
Christoph Oelckers
4c99eae4f6
- moveexplosions
2020-06-21 22:38:04 +02:00
Christoph Oelckers
242f78de13
- make moveactors work and RR weapon name cleanup.
...
# Conflicts:
# source/games/duke/src/sbar.cpp
2020-06-21 22:38:04 +02:00
Christoph Oelckers
7b75a0683a
moveactors plus backing code.
2020-06-21 22:37:29 +02:00
Christoph Oelckers
ca0af4bd7c
- fixed compile.
2020-06-21 22:36:11 +02:00
Christoph Oelckers
cfead10cc2
- movetransports.
2020-06-21 22:36:11 +02:00
Christoph Oelckers
d396df057f
- deleted old moveweapons function.
2020-06-21 22:36:11 +02:00
Christoph Oelckers
63f45f57d8
- separated Duke and RR implementations because the more complex functions would become too messy otherwise.
2020-06-21 22:36:11 +02:00
Christoph Oelckers
bda3374f9b
- reshuffling stuff.
2020-06-21 22:36:10 +02:00
Christoph Oelckers
37b496b971
- moveweapons.
2020-06-21 22:36:10 +02:00
Christoph Oelckers
4d89c076f3
- removed old movestandables version.
2020-06-21 22:36:10 +02:00
Christoph Oelckers
9104fda1a0
- movestandables - old code not removed yet. Plus some World Tour handling.
2020-06-21 22:36:10 +02:00
Christoph Oelckers
8d42055dd7
- moveplayer
2020-06-21 22:36:09 +02:00
Christoph Oelckers
4b235c0771
- ifhitbyweapon and shorter game checks with inline functions.
2020-06-21 22:36:09 +02:00
Christoph Oelckers
89e555761d
- guts and moves
2020-06-21 22:36:09 +02:00
Christoph Oelckers
754c8bd9c1
- lotsofstuff
2020-06-21 22:36:09 +02:00
Christoph Oelckers
c11963b41a
- movesprite
2020-06-21 22:36:08 +02:00
Christoph Oelckers
68de42075e
- delete the old one.
2020-06-21 22:36:08 +02:00
Christoph Oelckers
b29351f3bc
- hitradius.
...
This one was really messy...
2020-06-21 22:36:08 +02:00
Christoph Oelckers
51d4853375
- checkavailweapon
2020-06-21 22:36:08 +02:00
Christoph Oelckers
2cc4176ed8
- addweapon.
2020-06-21 22:36:07 +02:00
Christoph Oelckers
294a7e4c9c
- reinstated RR code after seeing that the weapon array can be shared without problems.
2020-06-21 22:36:07 +02:00
Christoph Oelckers
7493956613
- removed the dynamic weapon map indirection.
2020-06-21 22:36:07 +02:00
Christoph Oelckers
cb54a03d60
- wip
...
# Conflicts:
# source/games/duke/src/sbar.cpp
2020-06-21 22:36:07 +02:00
Christoph Oelckers
cde100598c
- two more functions reverted.
2020-06-21 22:36:06 +02:00
Christoph Oelckers
bb3d14c0c4
- original tile name definitions.
2020-06-21 22:36:06 +02:00
Christoph Oelckers
30cf62d9c2
- renamed all tile variables so that the engine can be reverted to the old constant setup instead of the mostly useless tile remapping feature.
...
If this is supposed to be made customizable it has to be done very differently.
# Conflicts:
# source/games/duke/src/game.cpp
# source/games/duke/src/sbar.cpp
2020-06-21 22:36:06 +02:00
Christoph Oelckers
27c313d74e
- moved interpolation code to its own file.
...
Mainly to get it out of the way. This needs to be redone later in a more serialization-friendly way.
2020-06-21 22:36:05 +02:00
Christoph Oelckers
bd6047a097
- started porting functions - using a simple one as the first case.
2020-06-21 22:36:05 +02:00
Christoph Oelckers
e72869c947
- renamed file to allow getting the right thing into its place.
2020-06-21 22:36:05 +02:00
Christoph Oelckers
92c2ab50d3
- statusbar.cpp
2020-06-21 22:35:41 +02:00
Christoph Oelckers
0596078978
- prepared folder for merging.
2020-06-21 22:18:12 +02:00
Christoph Oelckers
99958342a9
- prepare the branch for adding new commits
...
# Conflicts:
# source/core/gamecontrol.cpp
2020-06-21 20:59:16 +02:00
Christoph Oelckers
b8b38e075d
- moving to the right place.
2020-06-21 20:59:08 +02:00
Christoph Oelckers
e9925eee0f
- preparation work.
...
# Conflicts:
# source/core/gamecontrol.cpp
2020-06-21 20:59:07 +02:00
Christoph Oelckers
1bb7da173a
- removed a few more dependencies on Build includes.
2020-06-20 18:17:49 +02:00
Christoph Oelckers
83a760874b
- removed some Build related includes from core code.
2020-06-20 18:01:02 +02:00
Christoph Oelckers
686999381b
- moved non-Build definitions out of baselayer.h.
2020-06-20 17:52:10 +02:00
Christoph Oelckers
5b805af4e7
- removed all dirty headers from third party code.
...
This code should be project independent and remain project independent
2020-06-20 13:03:05 +02:00
Christoph Oelckers
e4f55d4d90
- removed compat.h cruft from animlib code.
...
This again is code that is under a good license, so use properly licensed utilities instead.
2020-06-20 12:57:31 +02:00
Christoph Oelckers
15d869ccde
-moved scancodes.h out of Build folder.
...
This file is from the Duke source and available under a good license so it can be moved to a better place.
2020-06-20 12:54:33 +02:00
Christoph Oelckers
83642d0510
- removed Build dependencies in libsmackerdec.
...
It was all just some warning blockers for old and defective compilers that required including these.
2020-06-20 12:24:11 +02:00
Christoph Oelckers
7bc8d2baff
- I_msTimeF.
2020-06-20 11:55:30 +02:00
Christoph Oelckers
9687facc88
- removed dead timerUninit call
2020-06-20 11:47:21 +02:00
Christoph Oelckers
198ed45357
- clean up redundancy
2020-06-20 10:58:47 +02:00
Christoph Oelckers
76311cfcc9
- set proper minimal FPS rate for all games.
2020-06-20 10:46:51 +02:00
Christoph Oelckers
e29eb5bbed
- added some ZScript basics.
...
This is merely the basics needed to actually implement something.
2020-06-20 09:46:41 +02:00
Christoph Oelckers
7edcd3125a
- fixed music setup for Duke3D.
...
The parser prepends a '/' to the names which needs to be removed when looking up the music.
2020-06-20 09:38:30 +02:00
Christoph Oelckers
550576d94d
- allow skipping the Exhumed logos.
2020-06-17 17:10:31 +02:00
Richard C. Gobeille
d28929c437
engine: add klabs() back into ksqrtasm_old()
2020-06-17 17:10:11 +02:00
Dino Bollinger
ba4eb3f906
Fix crash during demo playback caused by a mistake in 5132b41f
2020-06-17 17:10:11 +02:00
Dino Bollinger
a5085c3631
Expose newgamecustom menu and submenu index to CON (read-only).
...
New userdef struct members: ud.m_newgamecustom, ud.m_newgamecustomsub
2020-06-17 17:10:11 +02:00
Dino Bollinger
79d3a36106
Duke3D: Fix frozen players floating in mid-air
2020-06-17 17:10:11 +02:00
Richard C. Gobeille
3c6adcd10b
RR: fix player still being able to look around while frozen
...
Replicates changes to Duke3D code from f408c5a8d4763ef905c81d870ab53d74fa5be015.
2020-06-17 17:10:11 +02:00
Richard C. Gobeille
815df3ed38
Duke3d: fix player still being able to look around while frozen
2020-06-17 17:10:11 +02:00
Richard C. Gobeille
e641c82cdc
RR: fix issue where the player was unable to look or move under some circumstances after being "killed" with god mode enabled
...
Replicates changes to Duke3D code from 5e4fd35738
.
2020-06-17 17:10:11 +02:00
Richard C. Gobeille
47c16e4872
RR: fix issue with player movement not being locked when crushing shrunken enemies
...
Replicates changes to Duke3D code from f5aa302475
.
2020-06-17 17:10:11 +02:00
Richard C. Gobeille
0822195ba2
RR: fix jittery view on moving sectors
...
This also fixes the interpolation for gamefunc_TurnAround and stomping on enemies. Replicates changes to Duke3D code from c30b21dcdc7dfbcd400abe0fad204f1c0bacdba1.
2020-06-17 17:10:11 +02:00
Mitchell Richters
db5a4b49eb
- Duke3D: Fix issues caused from cherry pick from upstream.
...
This change from a5c9a702e9
needs to be dropped due to how we're handling one_eighty_count as per 2129d3b4e7
.
2020-06-17 17:10:11 +02:00
Christoph Oelckers
b9a567463c
- fixed compile error.
2020-06-17 12:26:06 +02:00
Richard C. Gobeille
9a2c2d5a98
exhumed: fix overflow in feebtag()
2020-06-17 12:26:06 +02:00
nukeykt
22e0c4d9ae
Rednukem: fix longstanding bug with unfrozen GREENSLIME
...
Backported from eduke32
2020-06-17 12:26:06 +02:00
sirlemonhead
d2806393bb
PCExhumed: Add code to draw serpent cam status text on screen
...
# Conflicts:
# source/exhumed/src/sound.cpp
# source/exhumed/src/status.h
2020-06-17 12:26:06 +02:00
sirlemonhead
9df13d0dfe
PCExhumed: Don't restore mid level save point if re-entering a just completed level
2020-06-17 12:26:05 +02:00
sirlemonhead
2e514e539e
PCExhumed: Fix cheat messages
2020-06-17 12:26:05 +02:00
Dino Bollinger
54ce1b5c06
Fix minor memory leak in Net_Connect()
...
# Conflicts:
# source/duke3d/src/network.cpp
2020-06-17 12:26:05 +02:00
Richard C. Gobeille
4128fd62c7
engine: set g_loadedMapVersion in engineLoadBoardV5V6()
...
# Conflicts:
# source/build/src/engine.cpp
2020-06-17 12:26:05 +02:00
Richard C. Gobeille
4e9144dd20
Duke3d: fix GREENSLIME issue introduced by 6335a9a2e515329a159b03ba0c8a32136dc6ac42
2020-06-17 12:26:04 +02:00
Richard C. Gobeille
54d9a1a711
Duke3d: add some labels for the different GREENSLIME states
2020-06-17 12:26:04 +02:00
Richard C. Gobeille
5574f0bd74
Duke3d: add player .somethingonplayer check to GREENSLIME, and reset the player's .somethingonplayer to -1 if the player is dead
2020-06-17 12:26:04 +02:00
Richard C. Gobeille
39b1c3cee9
Duke3d: fix longstanding bug with unfrozen GREENSLIME
...
This fixes some undefined behavior that occurred as a result of reading far past the bounds of slimeFrames[].
2020-06-17 12:26:04 +02:00
Richard C. Gobeille
575541e32c
engine: update libdivide
2020-06-17 12:26:03 +02:00
Richard C. Gobeille
1cab7b9765
engine: add divideu64()/divideu64_noinline()
2020-06-17 12:26:03 +02:00
Dino Bollinger
d3b6991846
Duke3D: This should fix players being able to superjump out of water
2020-06-17 12:26:03 +02:00
Dino Bollinger
9c2c1cc765
Fix 3D model animation depending on the number of sprites present on the map.
...
Fixes terminx/eduke32#64 .
2020-06-17 12:26:03 +02:00
Richard C. Gobeille
28911435d9
Duke3d: fix regression with the Devastator's ability to damage sprites in sectors other than the sector the rocket hit
...
Fixes terminx/eduke32#62 .
2020-06-17 12:26:03 +02:00
Richard C. Gobeille
a5c9a702e9
Duke3d: fix jittery view on moving sectors
...
This also fixes the interpolation for gamefunc_TurnAround and stomping on enemies. Fixes terminx/eduke32#60 .
# Conflicts:
# source/duke3d/src/actors.cpp
# source/duke3d/src/game.cpp
# source/duke3d/src/premap.cpp
2020-06-17 12:26:02 +02:00
Richard C. Gobeille
f5aa302475
Duke3d: fix issue with player movement not being locked when crushing shrunken enemies
...
Fixes terminx/eduke32#59 .
2020-06-17 12:26:02 +02:00
Richard C. Gobeille
5e4fd35738
Duke3d: fix issue where the player was unable to look or move under some circumstances after being "killed" with god mode enabled
...
Fixes #56 .
2020-06-17 12:26:02 +02:00