Mitchell Richters
5e6c899a2d
- Comment out CoreActor::sectp
for now so the games boot up.
2022-11-13 20:09:06 +11:00
Christoph Oelckers
48d1367a7e
- added some VM exports for DukePlayer
2022-11-13 08:59:08 +01:00
Christoph Oelckers
53e43d6d1e
- CoreActor setposition natives.
2022-11-13 08:59:07 +01:00
Christoph Oelckers
de51b65ead
- reimplemented Duke's scripted actor iterators in a more lightweight fashion.
...
This now works without allocating garbage collected objects.
2022-11-13 08:59:07 +01:00
Christoph Oelckers
8806fb930b
- Backend update from GZDoom
...
* Vector 4 in zscript
* garbage collector fixes
2022-11-12 10:45:39 +01:00
Christoph Oelckers
8f5923c324
- handle a visual glitch in Duke's E2L1 via compatibility.
...
There is already code to deal with this automatically, but this does not manage to fully eliminate the problem.
2022-11-07 11:51:40 +01:00
Christoph Oelckers
0e113dab79
- added true level compatibility map processing and deleted all related map hack code.
2022-10-31 10:45:47 +01:00
Christoph Oelckers
6586868cb8
- added the framework for scripted level compatibility patching.
2022-10-30 16:51:41 +01:00
Christoph Oelckers
32b2e84fdc
- added episode and total episode time display to alt HUD
2022-10-30 16:51:40 +01:00
Christoph Oelckers
fa3a8ca0d7
- add episode name display to alt hud.
2022-10-30 16:51:40 +01:00
Christoph Oelckers
562c1a18c8
- integrate hud_althud into hud_size
...
This makes it easier to use and avoids rendering a fullscreen hud on a screen size with view border.
2022-10-30 16:51:39 +01:00
Christoph Oelckers
2fbee8faf5
- Exhumed alt hud.
2022-10-30 16:51:38 +01:00
Christoph Oelckers
7808dae81b
- implemented alt HUD for SW.
2022-10-30 16:51:38 +01:00
Christoph Oelckers
95042247cf
- implemented alt HUD for RR.
2022-10-30 16:51:38 +01:00
Christoph Oelckers
95d10bd73c
- Duke: fixed some issues with the pipe bomb’s detonator in the alt HUD.
2022-10-30 16:51:38 +01:00
Christoph Oelckers
2c7cf5564f
- implemented alt HUD for Duke. (incl. NAM + WW2GI)
2022-10-30 16:51:37 +01:00
Christoph Oelckers
ff71ab14ce
- added a GZDoom-style alternative HUD.
...
So far only implemented for Blood.
2022-10-30 16:51:37 +01:00
Christoph Oelckers
5f50ee5204
- updated CoreActor’s script exports.
2022-10-30 16:51:35 +01:00
Christoph Oelckers
4aa765675e
- use a float vector to store the scale.
2022-10-30 16:51:31 +01:00
Mitchell Richters
ffc16635b2
- Blood: Make bobPhase
a proper float.
2022-10-30 16:51:24 +01:00
Christoph Oelckers
8d1626de02
- yet more SetScale uses.
2022-10-30 16:51:18 +01:00
Christoph Oelckers
4af4983d3e
- floatified clipdist and replaced fClipdist wrapper.
...
This uses a new variable because a few things use clipdist as a flag byte
2022-10-30 16:51:14 +01:00
Christoph Oelckers
0eea776065
- moved RS_ bits to gamehud.h because that's all that uses these flags.
2022-10-30 16:51:09 +01:00
Christoph Oelckers
5ab75f45e9
- floatified and consolidated throwPower handling.
2022-10-25 07:07:11 +02:00
Christoph Oelckers
f286565abc
- floatifying player::slope, part 2
2022-10-25 07:07:09 +02:00
Mitchell Richters
8d3f3c6025
- Cut over to DAngle
from fixedhoriz
and remove the latter.
2022-10-25 07:06:55 +02:00
Mitchell Richters
06a9a7b1a7
- SW: Change all weapon recoils to work on pitch.
2022-10-25 07:06:54 +02:00
Christoph Oelckers
243c071834
- got rid of bsinf and bcosf.
2022-10-22 12:17:04 +02:00
Christoph Oelckers
c511e5dca9
- eliminated int_xvel
2022-10-22 11:33:16 +02:00
Christoph Oelckers
9325886e35
- split use of tempang between real angles and other counters.
2022-10-22 11:33:16 +02:00
Christoph Oelckers
b8efc5c563
- floatified RR noise code.
2022-10-22 09:34:14 +02:00
Mitchell Richters
db5fcde0db
- Fix issues with startup on fresh config following CVAR overhaul.
2022-10-22 14:42:12 +11:00
Christoph Oelckers
5eb9af1e00
- Backend update from GZDoom
...
IQM model support and a few bugfixes.
2022-10-20 22:24:25 +02:00
Christoph Oelckers
50a9ca49f3
- floatified player_struct::hitang
2022-10-20 00:33:31 +02:00
Christoph Oelckers
5aa832f536
- fixed color of Duke's "ATOMIC" menu sprite.
2022-10-18 19:57:41 +02:00
Mitchell Richters
b127c37939
- Blood: Floatify all the bobbing/swaying code.
2022-10-18 19:52:02 +02:00
Mitchell Richters
954b394baa
- Blood: Floatify PLAYER::zWeaponVel
.
2022-10-18 18:30:38 +02:00
Mitchell Richters
0019b5ee02
- Blood: Floatify PLAYER::zWeapon
.
2022-10-18 18:30:38 +02:00
Mitchell Richters
2d98c532eb
- Blood: Floatify PLAYER::zViewVel
.
2022-10-18 18:30:38 +02:00
Mitchell Richters
f35fffdf3d
- Blood: Floatify PLAYER::zView
.
2022-10-18 18:30:37 +02:00
Christoph Oelckers
7a9f89b95d
- removed obsolete scripting exports.
2022-10-16 10:59:04 +02:00
Christoph Oelckers
b202cf7a12
- added option to show the level stats on the automap.
2022-10-15 17:14:34 +02:00
Mitchell Richters
427d4c1c1a
- SW: Floatify CircleCamera()
.
2022-10-15 13:32:04 +02:00
Christoph Oelckers
38bb103cdd
- renamed velFloor and velCeil.
2022-10-15 13:31:59 +02:00
Christoph Oelckers
a9b19943dd
- floatified bob_z and all actor spawns using it.
2022-10-14 23:39:33 +02:00
Christoph Oelckers
cebdc653bb
- removed unused fields from PLAYER.
2022-10-14 23:17:46 +02:00
Christoph Oelckers
c3ac42a546
- removed unused PLAYER::up_speed and down_speed variables.
2022-10-14 23:17:46 +02:00
Christoph Oelckers
29d9d02b78
- floatified PLAYER::z_speed.
2022-10-14 23:17:46 +02:00
Christoph Oelckers
f8ba5bb660
- final xvel cleanup.
2022-10-14 23:13:33 +02:00
Christoph Oelckers
f78cfb590d
- minor cleanup
2022-10-14 20:31:54 +02:00
Christoph Oelckers
3ac4e7ed2d
- eliminated player_int_ceiling_dist, player_int_floor_dist wrappers
2022-10-14 00:06:30 +02:00
Christoph Oelckers
ee41cda31e
- Duke: floatified pyoff
2022-10-13 22:54:42 +02:00
Christoph Oelckers
ffba7996b3
- SW: floatified PLAYER::siang
2022-10-13 20:58:12 +02:00
Christoph Oelckers
e089100ab1
- floatified PLAYER::bob_amt
2022-10-09 23:56:15 +02:00
Christoph Oelckers
8aab82691b
- renamed two PLAYER members for easier searching.
2022-10-09 22:30:51 +02:00
Christoph Oelckers
6497456471
- most of int_phiz,int_ploz
2022-10-09 22:29:54 +02:00
Christoph Oelckers
13d9505662
- PLAYER::hiz,loz refactoring, part 1
2022-10-09 22:00:43 +02:00
Christoph Oelckers
30b620c700
- removed unused oz_speed member variable.
2022-10-09 22:00:43 +02:00
Christoph Oelckers
e14182be99
- reinstated integer MSTime where needed.
2022-10-09 13:56:07 +02:00
Christoph Oelckers
00b812a5ff
- un-deprecated the integer MSTime variant.
...
Due to undefined downconversion rules from double to int, there is no way to safely downcast the return from MSTimef, meaning the function is completely useless for retrieving integral time stamps.
The old version is essential for these cases and must be kept around.
2022-10-09 13:47:55 +02:00
Christoph Oelckers
416be99967
- fixed: SW's intro video must not stop playing music.
2022-10-08 10:04:31 +02:00
Christoph Oelckers
fe6fcdff1f
- use DAngle for actors
...
Note that intangle needs to be kept - primarily for SW's ST tags.
2022-10-05 00:36:29 +02:00
Mitchell Richters
c25493762b
- Eliminate bvectangbam()
.
2022-10-05 00:36:28 +02:00
Mitchell Richters
8912d7d6cc
- SW: Change RevolveAng
, RevolveDeltaAng
and GlobSpeedSO
to DAngle
objects.
...
* For now, SW is as `binangle` free as it can be until other backend parts are changed.
2022-10-05 00:36:23 +02:00
Mitchell Richters
2f76ca100f
- SW: Replace last uses of binangle
in game's draw code with DAngle
objects.
...
* Easiest done in one hit since we had pointers and things to deal with.
2022-10-05 00:36:23 +02:00
Christoph Oelckers
24c845f827
- remove float_pos wrapper.
2022-10-04 18:44:15 +02:00
Christoph Oelckers
6bd854da88
- floatified player_struct::truecz/truefz.
2022-10-02 20:46:58 +02:00
Christoph Oelckers
7fce0ed7ae
- renamed truefz and truecz
2022-10-02 20:46:57 +02:00
Christoph Oelckers
793e9b7623
- renamed DDukeActor::floorz, ceilingz.
2022-10-02 20:46:56 +02:00
Christoph Oelckers
f858d77e7c
- fixed: starting a video must stop all playing music.
2022-10-01 09:01:14 +02:00
Christoph Oelckers
a59a771209
- use floats for ceilingz/floorz storage.
2022-08-27 10:49:59 +02:00
Christoph Oelckers
367a998b40
- removed the scripting wrappers for floorz and ceilingz.
...
These won't be needed anymore with floating point values
2022-08-27 10:16:57 +02:00
Christoph Oelckers
c15aeec9f7
- late __int_pos additions
2022-08-26 19:53:11 +02:00
Christoph Oelckers
77bc5999ce
- Backend update from GZDoom.
...
* ZScript compiler fixes for type promotion
* FileSystem.FindLumpFullName
* Statusbar text scaling fixes.
* removed scalar addition operators from vectors.
2022-08-17 20:38:46 +02:00
Christoph Oelckers
0fd42a50e8
-fixed ZScript warnings with comparison signedness.
2022-08-03 19:44:37 +02:00
Christoph Oelckers
cac54d42e9
- fixed script warnings after updating to version 4.9.0
2022-08-03 13:49:17 +02:00
Christoph Oelckers
89e8d7ad58
- removed all remnants of the softpoly renderer which was never used in Raze.
2022-08-03 13:27:48 +02:00
Christoph Oelckers
6591b3b090
- Backend update from GZDoom.
...
Mainly new features for 2D drawer and model renderer.
2022-07-23 12:05:27 +02:00
Christoph Oelckers
abb7f87de3
- Backend update from GZDoom.
2022-07-23 12:10:08 +10:00
Christoph Oelckers
30b81c0920
- SW: changed fullscreen HUD to display all 8 keys without gaps ans overlapping.
2022-06-06 22:03:42 +02:00
Christoph Oelckers
84173ee09b
- backend update from GZDoom.
...
The main bulk of this is the new start screen code. To make this work in Raze some more work on the startup procedure is needed.
What this does provide is support for the DOS end-of-game text screens in Duke and SW on non-Windows systems.
2022-06-06 11:45:34 +02:00
Christoph Oelckers
126f6051d2
- fixed level number for RRRA's travel animations.
...
first level is 1001, not 1.
2022-06-02 10:18:57 +02:00
Christoph Oelckers
0dc670da8e
- added wipe transitions to screen job
...
Mainly to have the crossfade, the other styles are mostly bonus.
This also adds proper scoping to the cutscene code, which needs to run in UI scope.
2022-04-25 17:26:17 +02:00
Christoph Oelckers
789794539c
- added script exports for Duke's main structures.
2022-02-21 00:19:26 +01:00
Christoph Oelckers
df7e6dfec8
- added scripting exports for the global map types and a few more actor utilities.
2022-02-21 00:12:51 +01:00
Christoph Oelckers
21fddd6c54
- spriteset management.
2022-02-15 22:34:48 +01:00
Christoph Oelckers
e396798198
- made DCoreActor's properties functional.
...
They cannot be parsed directly into the actor's sprite because that gets used in ways that require a different setup.
This alsp adds a property parser and a setter function for the SpriteSet array. The idea here is to write code that does not need to use actual tile indices so it can later be refactored to real textures.
2022-02-15 22:34:03 +01:00
Christoph Oelckers
37fda9cf89
- added position getters/setters to DCoreActor.
...
Scripting should not be subjected to that awful mixed fixed point format, but we cannot easily swap out the internals without risking breakage all over the place.
2022-02-15 22:33:49 +01:00
Christoph Oelckers
d9fee902de
- setSpritesetImage export added.
2022-01-26 23:35:53 +01:00
Christoph Oelckers
6ff8e89739
- add statnums and virtual base methods to DukeActor.
2022-01-26 00:37:11 +01:00
Christoph Oelckers
c27976b2e5
- added script exports for Duke's iterators
2022-01-26 00:16:21 +01:00
Christoph Oelckers
5bc8b1c2d3
- Duke: added two more flags to eliminate the references to the crane's tile numbers.
2022-01-25 22:26:53 +01:00
Christoph Oelckers
a252b206d1
- exported DukeActor's native member variables.
...
This includes renaming two native ones because they shared the same name with members of spritetype.
2022-01-24 00:24:47 +01:00
Christoph Oelckers
04a380ce14
- added script exports for DCoreActor's member variables.
2022-01-24 00:24:46 +01:00
Christoph Oelckers
43f2601bd6
- added script definitions for the base actor classes so that the engine can start up again.
2022-01-23 13:03:40 +01:00
Rachael Alexanderson
d5aacb369a
- oops this was in the wrong place
2022-01-21 01:16:22 +01:00
Christoph Oelckers
7c4319d099
- Nam: don't draw the icon for weapon 7 on the HUD.
...
This is just a blue square. In RedNukem it isn't shown, but there's no special code for it.
2022-01-08 21:58:15 +01:00
Mitchell Richters
09e1fa4d1e
- Exhumed: Amend previous commit to do proper floating point calculation.
2022-01-04 22:54:51 +11:00
Mitchell Richters
572dcc08dd
- Exhumed: Remove debug line and use game's ticrate in milliseconds instead of a hard-coded value (not that it should ever change anyway).
2022-01-04 22:51:19 +11:00
Christoph Oelckers
8bc1ca5f58
- Exhumed: interpolate the menu items when zooming.
2022-01-04 12:42:46 +01:00