Christoph Oelckers
fc11f537f7
- project cleanup
...
* moved all games into the 'games' folder.
* fixed project to include all sources and move them to the proper folders.
2021-01-10 20:31:32 +01:00
Christoph Oelckers
a74419f5e7
- Exhumed: removed opos entirely.
2021-01-10 18:30:56 +01:00
Mitchell Richters
7fcf1c94a1
- Exhumed: Minor fixes to panning code.
...
* Stop panning if underwater.
* Remove overload from PlayerHorizon from d32dcd5f8e
that was causing problems for other games.
* Remove static bool `plrFalling` also from d32dcd5f8e
and add `bIsFalling` to `Player` struct, hooking up with save code as well.
2021-01-05 17:07:56 +11:00
Mitchell Richters
6e3d414b3c
- inputstate.cpp: Move checkCrouchToggle()
from gameinput.ccp into ApplyGlobalInput()
and use static bool for crouch toggling vs. game-side bool.
2020-11-07 18:16:16 +11:00
Mitchell Richters
032db82f82
- Exhumed: Add crouch toggle mechanism.
2020-11-07 13:27:58 +11:00
Christoph Oelckers
db4f0d041e
- all iterators in Exhumed handled.
2020-10-15 20:22:40 +02:00
Christoph Oelckers
1757ef2aa6
- split the game input code off gamecontrol.cpp into its own file.
2020-10-11 16:33:43 +02:00
Christoph Oelckers
8e1c71b867
Merge branch 'InputContinuation'
2020-10-11 15:24:51 +02:00
Christoph Oelckers
f3f6bad1f8
- Exhumed: Wrapped the logo retrieval code into getter functions and removed the game type macros.
2020-10-11 14:30:45 +02:00
Christoph Oelckers
df42230b45
- Exhumed: converted all #define constants to enums.
2020-10-11 14:30:45 +02:00
Christoph Oelckers
5bb02f7bb0
- Exhumed: replace include guards with #pragma once.
2020-10-11 14:30:44 +02:00
Mitchell Richters
3bc6777cf4
- Exhumed: Cut q16ang
/q16look_ang
/q16rotscrnang
over to PlayerAngle struct.
2020-10-08 08:08:40 +11:00
Mitchell Richters
6da756cc9f
- Exhumed: Cut q16horiz
over to PlayerHorizon struct.
2020-10-07 17:40:59 +11:00
Mitchell Richters
d46787cd96
- Exhumed: Restore synchronised input, hook up rest of backend input functions and get rid of nPlayerDAng
.
2020-09-21 20:37:09 +10:00
Mitchell Richters
fa1ce1c021
- Exhumed: Hooked up tic-rate input helpers. Also removed nDestVertPan[]
.
2020-09-21 19:29:16 +10:00
Mitchell Richters
3de787235d
- Exhumed: Initial uplift of player input. Still more to do.
2020-09-21 18:36:11 +10:00
Mitchell Richters
722537a1f0
- InputState: Make CONTROL_GetInput()
return an object instead of accepting a pointer and provide to games as a function parameter.
...
* Provide read-only/const results from `CONTROL_GetInput()` so games can't change received input.
* Change non-descript `info` to `hidInput` (Human Interface Device).
* Remove a few unused prototypes.
2020-09-06 20:18:26 +10:00
Mitchell Richters
1354d52c05
- Major cleanup of Q16.16 utilisation within games and engine.
...
* Remove fix16.h/cpp and utilise library from m_fixed.h.
* Extend m_fixed.h with two inline functions for int to/from float operations.
* Replace fix16_floor operations with those from xs_Float.h
* Replace multiple Q16.16 conversions from 0 to just be 0.
* Replaced all found in-game bit-shifts and multiplications/divisions with inline functions from m_fixed.h
* Replaced many casts of FRACUNIT as double in SW's panel.cpp as it is converted to double by way of type promotion.
* Fixed missed precision fixes in SW's panel.cpp where some types weren't declared correctly.
* Replaced 100+ `Cos()/Sin() >> 16` operations for Blood with inline functions `CosScale16()/SinScale16()`.
2020-09-01 23:00:47 +10:00
Christoph Oelckers
4b299fa412
- Exhumed also handled.
2020-08-27 00:58:21 +02:00
Mitchell Richters
e225e85ae1
- Exhumed: Perform weapon bobbing with maximum precision and implement cl_weaponsway
.
2020-08-24 13:22:52 +10:00
Christoph Oelckers
3a3ba43985
- Exhumed: moved the input code out of the main loop
2020-08-23 07:41:29 +02:00
Mitchell Richters
b801a73db9
Exhumed: Fix look up/down in line with input amendments.
2020-04-06 08:06:38 +02:00
Christoph Oelckers
0ad7f25a8a
- added project and namespace wrappers to all Exhumed files.
2019-11-23 00:11:37 +01:00
sirlemonhead
be65a9863b
Add License header to .h and .cpp files
2019-11-22 00:13:44 +01:00
nukeykt
7e7f74206d
Fix flamethrower light rotation
2019-11-22 00:13:38 +01:00
nukeykt
688fa2e778
Interpolate bob angle
2019-11-22 00:10:38 +01:00
nukeykt
aff6ef67c0
Interpolate eye level
2019-11-22 00:10:37 +01:00
nukeykt
4e21cf5cbf
Start adding view interpolation using code from duke3d
2019-11-22 00:03:11 +01:00
nukeykt
1dd696df18
Initial work on input code improving
2019-11-22 00:00:08 +01:00
sirlemonhead
223d83e7be
Fixed incorrect SEQ index, causing the Cobra staff to appear briefly when changing from grenade to M-60. Fixes issue #6 .Also renamed a player field from field_34 to field_3FOUR to better visually differentiate it from field_3A
2019-11-22 00:00:02 +01:00
nukeykt
941e47cc61
Start rewriting input code
2019-11-21 23:59:58 +01:00
nukeykt
e0858d501c
Game compiles now
...
# Conflicts:
# platform/Windows/exhumed.vcxproj
# platform/Windows/exhumed.vcxproj.filters
2019-11-21 22:59:45 +01:00
nukeykt
50349a6b3d
wip
...
# Conflicts:
# platform/Windows/exhumed.vcxproj
# platform/Windows/exhumed.vcxproj.filters
# source/build/include/build.h
# source/build/src/palette.cpp
2019-11-21 22:59:33 +01:00
nukeykt
936ce5a866
wip
...
# Conflicts:
# platform/Windows/exhumed.vcxproj
# platform/Windows/exhumed.vcxproj.filters
2019-11-21 22:52:46 +01:00