Mitchell Richters
e0aaaf1f60
- All Games: Move gameclock
and lastTic
to gamecontrol.
2020-08-26 09:49:44 +10:00
Mitchell Richters
76776d24d7
- All Games: Remove use of ClockTicks
and replace with int
.
2020-08-26 09:49:42 +10:00
Mitchell Richters
c207437a57
- Duke: Rename cloudtotalclock
to cloudclock
.
...
* Mostly so it doesn't come up on searches for `totalclock`.
2020-08-26 09:49:32 +10:00
Mitchell Richters
2231386830
- Duke: Create function to reset timer and apply in game where timer restarts are needed.
2020-08-25 19:48:15 +02:00
Mitchell Richters
afb09456e0
- Duke: Migrate away from using totalclock
and use new game-specific gameclock
with underlying timer code in common.
...
* Build timer still requires initialisation due to multiple `timerSetCallback()` that still need to work.
# Conflicts:
# source/core/menu/menu.cpp
# source/games/duke/src/game.cpp
2020-08-25 19:47:31 +02:00
Mitchell Richters
158fd46581
- change Duke's synchronized_input
to CVAR cl_syncinput
.
2020-07-28 21:38:28 +10:00
Christoph Oelckers
6227f9f7fd
- optimizations for better savegame performance.
2020-07-21 21:32:38 +02:00
Christoph Oelckers
ba7997b611
- implemented most of the savegame code and deleted the old one.
2020-07-20 23:07:44 +02:00
Christoph Oelckers
c16115d76c
- first stage of new savegame code.
...
This also refactors the animateptr array into something serializable. This kind of pointer lookup is virtually unrestorable without creating platform locked savegames.
2020-07-20 20:40:29 +02:00
Christoph Oelckers
06fa1391f5
- did some cleanup on the global variables.
2020-07-20 18:43:50 +02:00
Christoph Oelckers
16efa87701
- started sorting variables in globals.h and removed player.h after cleaning it out.
2020-07-20 18:43:50 +02:00
Christoph Oelckers
7d7ae9e463
- fixed gamestartup parser so that it can detect script versions again.
2020-07-20 18:43:50 +02:00
Christoph Oelckers
3028b3f3fd
- merged game.h into global.h and game.cpp into global.cpp.
...
Meaning that all global declarations are in one file now.
2020-07-20 18:43:50 +02:00
Christoph Oelckers
c3fb679992
- more header cleanup work, macros.h is gone.
2020-07-20 18:43:49 +02:00
Christoph Oelckers
2dcaf25fea
- put the entire CON parser into a class to make its state local to the caller
2020-07-20 18:43:49 +02:00
Christoph Oelckers
29e107ad24
- use CCMDs for weapon and inventory selection, courtesy of ZDuke.
2020-07-17 20:56:10 +02:00
Christoph Oelckers
38751d19ac
- changed all SYNCINPUT #defines into runtime checks so that both parts can be used and consolidated the 4 versions of the SeaSick code.
2020-07-16 17:59:25 +02:00
Christoph Oelckers
d139720607
- cleaned up the setup code and consolidated everything in a separate file.
2020-07-15 21:11:23 +02:00
Christoph Oelckers
a9f152c1fe
- added JFDuke's label type checker and did some cleanup on the CON init code.
...
Most importantly: Use dynamic buffers for managing the labels instead of hijacking some other storage space.
2020-07-15 12:34:42 +02:00
Christoph Oelckers
99161e2e4a
- made ps an array of player_struct like it originally was.
2020-07-15 00:26:58 +02:00
Christoph Oelckers
01fce31f43
- everything compiles again.
...
Still needs testing.
2020-07-07 20:27:21 +02:00
Christoph Oelckers
34874d1a21
- migrated displayrest and took the opportunity to un-fuck the palette management.
2020-07-07 04:54:12 +02:00
Christoph Oelckers
dca7e158bb
- "po" reverted
2020-07-06 23:33:33 +02:00
Christoph Oelckers
e8ebeefaad
- started consolidating the struct types.h
2020-07-06 23:24:35 +02:00
Christoph Oelckers
1644c1d33a
- cleanup continues.
2020-07-06 23:02:41 +02:00
Christoph Oelckers
45f51b0c4b
-more header work.
2020-07-06 22:55:35 +02:00
Christoph Oelckers
0d0f6854c3
- cleaned out another header file.
2020-07-06 22:54:26 +02:00
Christoph Oelckers
83bcfcfd0c
- Big cleanup.
2020-07-06 22:53:20 +02:00
Christoph Oelckers
e272245537
- fixing some HUD stuff.
2020-07-06 15:48:51 +02:00
Christoph Oelckers
f2380f8829
- constant cleanup.
2020-07-06 13:26:26 +02:00
Christoph Oelckers
5d93e946c2
- moved all prediction code into a separate (inactive) source file.
2020-07-06 11:39:39 +02:00
Christoph Oelckers
f4e763e252
- input code cleanup.
...
The input queues are mostly abstracted now and some EDuke specific handling that isn't needed anymore was removed.
2020-07-06 10:34:31 +02:00
Christoph Oelckers
9300c0bdeb
- stripped down the main menu loop to the minimum needed to be able to run it.
2020-07-06 08:55:56 +02:00
Christoph Oelckers
736a52f7b2
- startrts and domovethings.
2020-07-06 03:00:52 +02:00
Christoph Oelckers
7ead48b9d9
- safety commit for displayrooms.
2020-07-05 16:49:00 +02:00
Christoph Oelckers
7872b701ce
- CCMD cleanup.
2020-07-04 21:36:27 +02:00
Christoph Oelckers
d6e021a63d
- statistics output
2020-07-03 21:44:57 +02:00
Christoph Oelckers
7f96d182b7
- palette stuff, input functions corrected.
2020-07-03 16:17:37 +02:00
Christoph Oelckers
bb303c6469
- cleaned up the rest of the summary screen code, particularly the totally redundant second variant for RRRA.
2020-07-01 20:31:29 +02:00
Christoph Oelckers
fc11447e59
- interpolations transitioned.
2020-06-30 11:55:01 +02:00
Christoph Oelckers
a343ceb5bc
animatesprites
2020-06-22 00:27:12 +02:00
Christoph Oelckers
9e08d81a6b
- prelevel
2020-06-22 00:27:11 +02:00
Christoph Oelckers
42bbc1e6ce
resetprestat
2020-06-22 00:07:26 +02:00
Christoph Oelckers
16bad04da8
- premap stuff.
...
# Conflicts:
# source/glbackend/glbackend.cpp
2020-06-22 00:06:51 +02:00
Christoph Oelckers
c2d9f86832
- safety commit.
2020-06-21 23:46:27 +02:00
Christoph Oelckers
dbbc5e0790
- doincrements
...
# Conflicts:
# source/games/duke/src/zz_sbar.cpp
2020-06-21 23:46:26 +02:00
Christoph Oelckers
2e15cec17a
- safety commit
2020-06-21 23:28:47 +02:00
Christoph Oelckers
990cb2acb8
-'shoot' replaced.
...
# Conflicts:
# source/build/src/palette.cpp
2020-06-21 23:24:49 +02:00
Christoph Oelckers
26f3bc1857
- spawn function transitioned.
2020-06-21 23:21:10 +02:00
Christoph Oelckers
cb1824ca25
- store script code in a dynamic array.
...
# Conflicts:
# source/games/duke/src/zz_game.cpp
2020-06-21 23:17:50 +02:00
Christoph Oelckers
6b2fdf24fd
- cleanup after removing EDukes's script code.
...
# Conflicts:
# source/games/duke/src/zz_game.cpp
# source/games/duke/src/zz_gameexec.cpp
2020-06-21 23:07:46 +02:00
Christoph Oelckers
1b135ecb0b
- step 1.
2020-06-21 23:07:42 +02:00
Christoph Oelckers
e1c76e4c26
- safety commit.
...
# Conflicts:
# source/games/duke/src/zz_sbar.cpp
2020-06-21 23:07:42 +02:00
Christoph Oelckers
e007b9bceb
- safety commit
2020-06-21 23:07:41 +02:00
Christoph Oelckers
15c744f3da
- movement code of the VM transitioned
2020-06-21 23:07:41 +02:00
Christoph Oelckers
c59928c6ff
- removed most of the old and very messy gamevar code.
...
# Conflicts:
# source/games/duke/src/zz_gamevars.cpp
2020-06-21 22:59:22 +02:00
Christoph Oelckers
c9bb23ee42
- more gamevar cleanup.
2020-06-21 22:59:10 +02:00
Christoph Oelckers
05360e14b5
- game startup, include and moving formerly global variables back to global.
...
# Conflicts:
# source/games/duke/src/zz_gamedef.cpp
2020-06-21 22:56:36 +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
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
8cc273955d
- moveeffectors, actors.c complete.
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
cfead10cc2
- movetransports.
2020-06-21 22:36:11 +02:00
Christoph Oelckers
37b496b971
- moveweapons.
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
b29351f3bc
- hitradius.
...
This one was really messy...
2020-06-21 22:36:08 +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
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