Christoph Oelckers
0d6ffa5863
- completed Blood's SmallFont.
2023-02-04 13:23:43 +01:00
Christoph Oelckers
ef1e3d492c
- completed Blood's BigFont.
2023-02-04 12:23:59 +01:00
Hugo Locurcio
4cb311a4c1
Increase slider precision for mouse sensitivity settings
...
On mice with high DPI settings, low values such as 0.1-0.3 typically
need to be used to get a comfortable effective mouse sensitivity.
2023-02-04 17:05:20 +11:00
Christoph Oelckers
4328016963
- move the remaining parts of spawninitdefault to DukeActor::Initialize.
...
This ensures proper execution of all code - spawninitdefault was designed to be the fallback for actors without a special case in spawninit.
2023-01-28 16:33:35 +01:00
Christoph Oelckers
38b278b12d
- fixed enemy setup.
...
All enemies now run a native init function to reduce script-induced problems.
this required adding a NOGRAVITY flag so that the recon can use the same code as well which was the only enemy relying on custom code.
2023-01-28 16:33:15 +01:00
Christoph Oelckers
0db441accb
- scriptified the native parts of the powder keg.
...
This was the last remaining actor with its own native ticking part.
2023-01-28 16:31:46 +01:00
Christoph Oelckers
9f01c87ccb
- scriptified the native part of FireflyFlyingEffect.
2023-01-28 16:31:45 +01:00
Christoph Oelckers
9783b8c402
- scriptified World Tour's flamethrowerflame.
...
The first of 3 mixed native/CON items which are the last things remaining in the main thinker loops.
2023-01-28 16:31:45 +01:00
Christoph Oelckers
6864e1a9a8
- Text update
2023-01-22 20:24:00 +01:00
Christoph Oelckers
13c9e9916b
- Duke: fixed the cactus.
...
Statnums were wrong here.
2023-01-21 15:48:55 +01:00
Christoph Oelckers
5ebce5afba
- fix last commit
2023-01-21 15:08:47 +01:00
Christoph Oelckers
8ce61255e9
- fixed menudef.txt
2023-01-21 09:50:49 +01:00
Christoph Oelckers
8e5e52f80e
- enable Spanish for Duke and related games.
...
Nam/WW2GI was completed by machine translated texts, this was all simple stuff like item names.
2023-01-20 17:13:18 +01:00
Christoph Oelckers
bb7f00988a
- give Blood's sounds well defined names so they can be defined via SNDINFO.
2023-01-15 16:15:28 +01:00
Christoph Oelckers
2c5062255c
- fixed bad sound check in the sound controller.
2023-01-15 09:51:21 +01:00
Christoph Oelckers
fca0bdf379
- Backend update from GZDoom.
2023-01-15 09:30:01 +01:00
Christoph Oelckers
6c3d03cd48
- fixed incorrect sector in a few sprites of World Tour E5L1.
2023-01-14 13:18:53 +01:00
Christoph Oelckers
59820f9fed
- Duke: fixed bad switch definition for ACCESSSWITCH2
2023-01-14 12:53:14 +01:00
Christoph Oelckers
5e7f90562c
- added adaptive layout for RR's summary screen as well.
...
To better handle the spacing for accented characters the text scale was slightly reduced.
2023-01-14 10:37:07 +01:00
Christoph Oelckers
d067b23917
- make layout of Duke's summary screen adapt to text and screen size.
2023-01-14 10:00:37 +01:00
Christoph Oelckers
b991af2dbc
- fixed incomplete statnum setup.
2023-01-09 23:39:20 +01:00
Christoph Oelckers
d7d4bfe04b
- Blood: use a 3D unit vector to set Blood's projectile velocity.
2023-01-08 19:16:58 +01:00
Christoph Oelckers
532f994ccb
- RR: stop the bowling pins' tumbling animation when they come to a rest.
...
Fixes an original RR bug.
2023-01-08 18:46:42 +01:00
Christoph Oelckers
deaec2d91d
- disabled property-type definition of spritetype members.
...
As it turned out this is simply too dangerous - these should be left to be loaded from the map data or set manually.
All remaining setups using this feature have either been moved to Initialize or other meta properties that are not affected by map loading.
2023-01-08 16:45:09 +01:00
Christoph Oelckers
b48dad46f3
- do not use properties to set the sprite fields, part 4.
...
Bowling stuff also needed fixing.
2023-01-08 15:46:53 +01:00
Christoph Oelckers
223481fd23
- do not use properties to set the sprite fields, part 3.
...
mainly RR's chickenplant items.
2023-01-08 15:46:24 +01:00
Christoph Oelckers
8b664c840d
- do not use properties to set the sprite fields, part 2.
...
This covers the remaining simple cases.
2023-01-08 15:46:24 +01:00
Christoph Oelckers
3a00480efd
- do not use properties to set the sprite fields, part 1.
...
As soon as default init for CON gets in this won't work right anymore - these must come last, not first.
This commit contains all the trivial cases with no inheritance concerns.
2023-01-08 15:46:23 +01:00
Christoph Oelckers
278cfe9216
- RR: use a meta property for the gambling machine's sound.
...
This is mainly for the hypothetical map that tries to use this thing from within CON.
2023-01-08 15:45:22 +01:00
Mitchell Richters
b432e94a72
- Duke: Back up the shell's position in DukeShell::initshell()
.
2023-01-08 23:54:17 +11:00
Christoph Oelckers
cfef8c8a71
- ignore executable files in a zip's main folder when checking for mod content in a subdirectory.
2023-01-06 18:01:34 +01:00
Christoph Oelckers
d5859db4f1
- fixed autoload setup for the full Duke World Tour version.
2023-01-04 20:46:43 +01:00
Christoph Oelckers
f5e9e7d981
- got rid of most remaining references to wallpicnum and overpicnum.
...
What remains now needs changing the variables to texture IDs first.
2022-12-29 14:14:53 +01:00
Christoph Oelckers
90702ae2f5
- consolidated the animwall code by using texture flags.
...
This is way too hacky for generalization. For that newly defined control actors are surely a better option.
2022-12-29 14:14:53 +01:00
Christoph Oelckers
b980789ddf
- skip switch animation checks for custom switch actors.
2022-12-29 14:01:39 +01:00
Christoph Oelckers
2386ea9930
- implemented the 3 special switches
...
That's the developer commentary icon in World Tour, the deactivation switch for the chicken processing plant in RR and one shootable alarm bell in RRRA.
2022-12-29 13:32:30 +01:00
Christoph Oelckers
0d9fe83cba
- implemented the switch parser and set up the external definitions.
2022-12-29 13:32:29 +01:00
Mitchell Richters
03aedda7da
- Add support for Blood: Cryptic Passage via CRYPTIC.SSI
file.
2022-12-29 23:05:47 +11:00
Mitchell Richters
ca71532229
- Change string Ninja Slice Animation
to Alternative Ninja Slice
to better reflect what it does.
...
* Fixes #817 .
2022-12-29 21:57:15 +11:00
Mitchell Richters
205dac85e6
- Update language files on the back of SW cheat additions.
2022-12-29 21:01:11 +11:00
Christoph Oelckers
837e4d1438
- eliminated many uses of wallpicnum.
...
The ones left require a bit more work on the data first.
2022-12-18 15:11:08 +01:00
Christoph Oelckers
a9ea2cd5c0
- moved GetReservedScreenSpace function into the scripted status bar where it belongs.
...
Since this is supposed to return the height of the status bar, keeping it native is a bit pointless as it cannot be modified that way.
2022-12-18 14:47:38 +01:00
Christoph Oelckers
9d62951cf3
- SW: use surface types for detecting water and lava sectors
2022-12-18 14:05:17 +01:00
Christoph Oelckers
32ad16f84d
- SW's first texture flag, yay!
...
Removes two floorpicnum accesses
2022-12-18 14:04:33 +01:00
Christoph Oelckers
622710ede4
- migrated all uses of floorpicnum.
...
This necessitated a few more surface type definitions.
2022-12-18 14:02:56 +01:00
Christoph Oelckers
4a306a21dc
- split several texture flags off into a surface type value.
...
Using the same field in the TexExtInfo struct as Blood's surfType.
This frees up a lot of flags for later use.
2022-12-18 13:56:54 +01:00
Christoph Oelckers
0ffeb2378a
- generalize Duke's purple lava check.
2022-12-18 13:43:26 +01:00
Christoph Oelckers
5147826eeb
- consolidated precaching code and rewrote the core to work on texture IDs.
2022-12-18 13:37:54 +01:00
Christoph Oelckers
9a1a90a730
- Duke: fixed mortars not toggling their hittable state depending on player distance.
...
This is needed to make them shootable from a distance. Somehow these two lines of code had gotten lost during scriptification.
2022-12-18 09:14:11 +01:00
Christoph Oelckers
46660ab889
- fixed a few bad spawnclass assignments
2022-12-18 00:08:41 +01:00
Christoph Oelckers
f893f12ed7
- fix a few misnamed class types.
2022-12-13 20:03:36 +01:00
Christoph Oelckers
71425a94af
- fixed pipe bombs sticking to ceilings.
...
This was a typical case of doing too many things in one function - the bogus code was for one of RR's special projectiles piggybacking on the same function and doing it wrong.
2022-12-13 18:21:33 +01:00
Christoph Oelckers
dc55669d8a
- commented the ELECTRIC flag for the HURTRAIL texture back in.
2022-12-13 17:49:27 +01:00
Christoph Oelckers
14141766c1
- fixed a few cases of incorrect uses of 'mapSpawned'.
2022-12-13 14:06:11 +01:00
Christoph Oelckers
4f14f795b8
- fixed the Blood pool's Initialize function.
...
In the unlikely case of this being map placed it might have gotten the wrong color.
2022-12-13 11:30:22 +01:00
Christoph Oelckers
37067753fc
- use mapspawned flag in all already scriptified code.
...
This is more to clarify intent than to fix things, none of the changes here should change behavior.
2022-12-13 11:29:37 +01:00
Christoph Oelckers
13e6718153
- added mapSpawned member to DDukeActor
...
Duke uses the owner a lot to check if an actor was spawned at map start or in-game, but that depends a lot on stale pointers being maintained, which our garbage collected system does not allow. So this field now serves as a more reliable stand-in for these cases.
No actual changes yet.
2022-12-13 10:36:45 +01:00
Mitchell Richters
5d3710d677
- Duke: Always use tsprite pos/angle when used in conjunction with viewvec or viewang.
...
* This solves the issue of jittery picnum changes when circle-strafing actors at high speeds.
2022-12-11 19:45:38 +01:00
Christoph Oelckers
281b102fac
- gave all textures that were accessed with their "#0xxxx" name a descriptive names.
...
Only the fallback fonts were intentionally excluded because these are supposed to get the ART file content.
2022-12-11 19:45:18 +01:00
Christoph Oelckers
630276f7e0
- migrated texture flags parsing from .def to RMAPINFO.
...
This was the final piece of non-tile-related data to be in there.
.def should be restricted to existing use cases concerning setup of render data, not for game content.
2022-12-11 19:45:18 +01:00
Christoph Oelckers
a08db47528
- exported all breakable ceilings.
...
Very simple stuff with instant profit. :)
2022-12-11 19:43:58 +01:00
Christoph Oelckers
a63ee8079a
- implemented customizable breakable walls and ported all hard coded variants to use this.
2022-12-11 19:43:57 +01:00
Christoph Oelckers
9e3318a2fb
- moved spawnclasses and breakwall definitions from .def to RMAPINFO.
...
.def is not the right place for this - it needs to run very early in the process, before scripted actors are loaded, so doing this stuff there means that half the initialization has to be postponed and error reporting is sub-par.
These are now part of RMAPINFO which gets parsed as one of the very last things - it is also where GZDoom is doing some of these things.
The better error reporting also allowed fixing some errors in these definitions.
2022-12-11 19:43:57 +01:00
Christoph Oelckers
c1a09196f0
- implemented breakable walls with external definitions.
...
The scripted case does not work yet due to bad loading order of files.
2022-12-11 19:43:57 +01:00
Christoph Oelckers
4078c6d6bd
- converted several of RR's static init sprite types to the class system.
2022-12-11 19:43:55 +01:00
Christoph Oelckers
6fb263d61b
- converted the two last non-CON-based active items - RRRA's empty bike and boat.
2022-12-11 19:43:54 +01:00
Christoph Oelckers
9641d3f712
- scriptified two of RRRA's special effects.
2022-12-11 19:43:54 +01:00
Christoph Oelckers
6de147b77f
- moved the CON execute call to DDukeActor::Tick and removed a large portion of the special handling for scriptified actors.
2022-12-11 19:43:54 +01:00
Christoph Oelckers
1cfba8e989
- cleaned up the main thinker loops, using a flag to denote actors that are not on STAT_ACTOR but need to run CON code.
...
This should not be automatic as it may cause problems with mods not expecting this.
2022-12-11 19:43:54 +01:00
Christoph Oelckers
74368381a9
- did a bit of actor class consolidation by using explicit sprite assignments through 'spawnclasses'.
2022-12-11 19:43:54 +01:00
Christoph Oelckers
23640988db
- define several of RR's fullbright decorative sprites via spawnclasses remapping.
2022-12-11 19:43:53 +01:00
Christoph Oelckers
bdc474d04f
- scriptified all remaining Duke actors with specific init code and no CON part.
2022-12-11 19:43:53 +01:00
Christoph Oelckers
c9628db264
- scriptified the toilet.
2022-12-11 19:43:53 +01:00
Christoph Oelckers
cbb3b0ebfb
- preparations for the next script exports.
2022-12-11 19:43:53 +01:00
Christoph Oelckers
d83e203b8d
- renamed a few RR sprites plus one associated global variable.
2022-12-11 19:43:53 +01:00
Christoph Oelckers
e5ac32e329
- scriptified the remaining RR destructibles.
2022-12-11 19:43:53 +01:00
Christoph Oelckers
15bee4ca6a
- scriptified the remaining Duke destructibles, except the toilets.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
e6c466fcba
- scriptified several of Duke's destructible items.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
066c4c88b2
- scriptified the two final special stat items from RRRA.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
7cbc713b4e
- scriptified stat121 special effect.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
dc06a93a4f
- scriptified RR's UFO teleporter.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
5a155730b4
- scriptified RR's bowling stuff.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
9ad8f67ce9
- added isEffector inline and exported NATURALLIGHTNING which got a bit in the way.
2022-12-11 19:43:52 +01:00
Christoph Oelckers
be6ead173a
- scriptified several smaller actors
2022-12-11 19:43:51 +01:00
Christoph Oelckers
0dc526899b
- scriptified FrameEffect
2022-12-11 19:43:51 +01:00
Christoph Oelckers
44d4e7a20a
- scriptified the mortar projectiles.
...
This was split off heavyhbomb for clarity and to avoid interference with the pickup code.
2022-12-11 19:43:51 +01:00
Christoph Oelckers
0bc9023e17
- scriptified the pipe bomb and RR's dynamite, which is mostly the same thing.
...
The mortars were split off because they made the code too convoluted.
2022-12-11 19:43:51 +01:00
Christoph Oelckers
ff6a9b89ac
- scriptified the green slimer.
2022-12-11 19:43:51 +01:00
Christoph Oelckers
bc34746227
- scriptified transport vehicles.
2022-12-11 19:43:50 +01:00
Christoph Oelckers
f1d6e0e6bb
- scriptified Duke's shooting gallery targets.
2022-12-11 19:43:50 +01:00
Christoph Oelckers
4397e65443
- cleaned up the generic destructible code and used it for several more things.
2022-12-11 19:43:50 +01:00
Christoph Oelckers
f89ccec829
- scriptified Duke's reactor.
2022-12-11 19:43:50 +01:00
Christoph Oelckers
f6fe639233
- avoid propagating owner flags where easily doable.
...
This particular case is done a lot better by setting a special flag.
2022-12-11 19:43:50 +01:00
Christoph Oelckers
59659bc284
- scriptified the last two RR projectiles.
...
These are particularly messy - they have different looks depending on the shooter...
2022-12-11 19:43:49 +01:00
Christoph Oelckers
403141807f
- scriptified all simple and explosive RR projectiles.
2022-12-11 19:43:49 +01:00
Christoph Oelckers
82515e1d76
- scriptified the World Tour's flamethrower#s fireball.
...
Also using a better method to mark the trailing balls than checking the owner.
2022-12-11 19:43:49 +01:00
Christoph Oelckers
26d9511087
- scriptified the octabrain projectile.
2022-12-11 19:43:49 +01:00
Christoph Oelckers
f2df8a162f
- scriptified Duke's spit projectile.
2022-12-11 19:43:49 +01:00
Christoph Oelckers
fcd05e38c9
- scriptified the freezer projectile.
2022-12-11 19:43:49 +01:00
Christoph Oelckers
f4bc5d6df8
- scriptified Duke's RPG.
2022-12-11 19:43:48 +01:00
Christoph Oelckers
c1545a1eaa
- scriptified the shrink spark.
2022-12-11 19:43:48 +01:00
Christoph Oelckers
a756b71647
- scriptified the firelaser projectile.
...
This also fixes the animation of the RR variant, which used a bad value with '&'.
2022-12-11 19:43:48 +01:00
Christoph Oelckers
d946ebb74d
- added Projectile base class.
...
Not hooked up yet, this only defines the framework for what comes.
2022-12-11 19:43:48 +01:00
Christoph Oelckers
44fa420387
- added a few new flags and renamed some sprites.
...
All this is preparations for scriptifying the projectiles.
2022-12-11 19:43:48 +01:00
Christoph Oelckers
15fb7dab35
- virtualized the 'shoot' interface and scriptified the bloodsplats to test it.
...
This calls virtual functions on the actor defaults now to allow writing specific shoot functions for subclasses.
2022-12-11 19:43:48 +01:00
Christoph Oelckers
8a921c98bd
- scriptified ooz.
2022-12-11 19:43:47 +01:00
Christoph Oelckers
9d1384449c
- scriptified the Recon.
2022-12-11 19:43:47 +01:00
Christoph Oelckers
2ab5e63386
- added a few new actor flags.
2022-12-11 19:43:47 +01:00
Christoph Oelckers
7db953e0ea
- scriptified the force sphere.
...
Doesn't seem to be used anywhere, though...
2022-12-11 19:43:47 +01:00
Christoph Oelckers
6d9a8bfaa5
- scriptified the pool balls.
2022-12-11 19:43:47 +01:00
Christoph Oelckers
1ef61c8588
- exported a bunch of stuff we're going to need soon.
2022-12-11 19:43:47 +01:00
Christoph Oelckers
f138798e26
- scriptified the rat.
2022-12-11 19:43:46 +01:00
Christoph Oelckers
99413651b3
- scriptified the respawn marker.
2022-12-11 19:43:46 +01:00
Christoph Oelckers
f43dc9d925
- Duke: fixed Jibs animation and scale.
2022-12-11 19:43:46 +01:00
Christoph Oelckers
a6a4e628df
- scriptified RRRA's gambling machines.
...
These were fallout from the generic destructibles because the code to destroy them was removed along with that.
2022-12-11 19:43:46 +01:00
Christoph Oelckers
1d52963d4b
- converted all simple destructible sprites.
...
Ironically the first item I used for testing needed a dedicated class, so here's that, too...
2022-12-11 19:43:46 +01:00
Christoph Oelckers
9e29c3970d
- generic destructibles
2022-12-11 19:43:45 +01:00
Christoph Oelckers
93ef4b34d7
- scriptified the guts spawning function.
2022-12-11 18:46:40 +01:00
Christoph Oelckers
3ac8bd02f5
- scriptified the jibs
2022-12-11 18:46:40 +01:00
Christoph Oelckers
1b3f551216
- use a flag for outer space textures.
2022-12-11 18:42:02 +01:00
Christoph Oelckers
c7cdf96a62
- exported two more settings to tile flags.
2022-12-11 18:42:02 +01:00
Christoph Oelckers
0281e5dff8
- unified the spawnclasses definitions for Duke, Nam and WW2GI.
2022-12-11 18:42:01 +01:00
Christoph Oelckers
67e807de26
- exported the tile flag setters to .def.
2022-12-11 18:42:01 +01:00
Christoph Oelckers
52e5e2f59a
- use a sepate file system filter for 'duke-like' games, i.e. Duke, NAM and WW2GI combined.
...
These 3 all require the same SNDINFO being loaded.
2022-12-11 18:41:52 +01:00
Christoph Oelckers
797c122363
fixed the sound controller's sound selection.
...
In this case the game-side resource ID was silently cast to a sound ID but it needs explicit conversion.
2022-12-11 18:41:52 +01:00
Christoph Oelckers
a825dfb8ca
- Duke sound is working again.
2022-12-11 18:41:52 +01:00
Christoph Oelckers
f103e33300
- fixed code up to the point where everything compiles again. Duke sounds are currently non-functional.
...
All Duke script code has been changed to use strings as sound names now, just like GZDoom these will be looked up at compile time.
Original Duke sound indices still exist but are now being managed as resource IDs, not sound engine indices anymore.
2022-12-11 18:41:51 +01:00
Christoph Oelckers
1ac4aee0c1
- RR cactus stuff
2022-12-11 18:41:50 +01:00
Christoph Oelckers
c48dfc082f
- scriptified RR's lumber blade.
2022-12-11 18:41:50 +01:00
Christoph Oelckers
76fabcd1c7
- chickenplant scriptified.
2022-12-11 18:41:50 +01:00
Mitchell Richters
0ab175b894
- Duke: Fix pos issues with crane's touchplate following position change to sprite.
2022-12-11 18:41:42 +01:00
Mitchell Richters
dd5834444e
- Duke: Swap out the internals of the player's pos methods and get the game going again.
2022-12-11 18:41:41 +01:00
Mitchell Richters
abd6275f17
- Add new double DCoreActor::viewzoffset
set in spawning code during level loads.
...
* Interpolated backup copy isn't needed for Duke, but will be for SW.
2022-12-11 18:41:41 +01:00
Mitchell Richters
4aa63b5446
- Duke: Rename player's pos to something identifiable.
2022-12-11 18:41:38 +01:00
Mitchell Richters
4bf8ea140c
- Fix IWADBoxCallback()
and MENUDEF setup for GLES backend.
2022-12-11 19:45:07 +11:00
Mitchell Richters
36c38dab9a
- Make crosshairscale
slider match GZDoom, including allowing it to slide down to 0 for unscaled.
2022-12-11 19:31:52 +11:00
Christoph Oelckers
f163c328d4
- text update.
2022-12-04 17:23:36 +01:00
Christoph Oelckers
1061e3e2ca
- backend update from GZDoom.
2022-12-04 16:51:44 +01:00
Mitchell Richters
2c966e35ae
- Add Kevin Caccamo (Talon1024) to Raze QA credits.
...
We really appreciate all your continued bug reports! 🤘
2022-11-30 18:11:10 +11:00
Rachael Alexanderson
e8b31d3c08
- complete transfer of vk_hdr fix from gzdoom (was missing the shader component)
2022-11-28 18:52:10 -05:00
Christoph Oelckers
aa3df50f9b
- fixed locked activator setup.
...
This broke all locked doors.
2022-11-26 17:26:45 +01:00
Christoph Oelckers
adc2b884cd
- Nam and WW2GI also need Duke's spawnclasses table.
2022-11-26 09:05:25 +01:00
Christoph Oelckers
4d6920e80b
- fixed failiure to initialize the ambient tags array.
...
Also adding range checks to all places where it gets used. This is from CON code so proper values are never guaranteed.
2022-11-24 09:01:44 +01:00
Christoph Oelckers
13e19bad36
- fixed handling of bad class assignment to map picnums.
2022-11-24 08:12:18 +01:00
Mitchell Richters
a7ba843eb5
- Remove some leftover console debug prints.
2022-11-24 13:41:15 +11:00
Christoph Oelckers
6cb3e2f457
- Duke: fixed operator precedence in scrap spawning code.
2022-11-21 10:48:47 +01:00
Christoph Oelckers
8735e24d99
- don't print negative ammo numbers on the Duke HUD.
2022-11-21 10:01:44 +01:00
Christoph Oelckers
29c4c77e55
- fixed bad StopSound implementation.
2022-11-21 09:25:46 +01:00
Christoph Oelckers
a76d166966
- scriptified tongue actor.
...
This seems to be develpment garbage. No proper sprites exist for this.
2022-11-20 20:40:46 +01:00
Christoph Oelckers
b069904be1
- scriptified the remaining controller sprites.
2022-11-20 13:57:51 +01:00
Christoph Oelckers
cb005062cd
- scriptified activators and locators.
2022-11-20 12:43:24 +01:00
Christoph Oelckers
9fa2fb75cf
- scriptified the respawn controller.
...
This also handles one special RRRA controller which was just easier to scriptify right away than temporarily work around it.
2022-11-20 11:58:19 +01:00
Christoph Oelckers
d44b637f1b
- fixed touchplate initialization
...
This was still using older code - the current native version was also not removed from the spawn function.
2022-11-20 08:51:09 +01:00
Christoph Oelckers
f515939fde
- scriptified the sound controller.
2022-11-20 08:46:49 +01:00
Christoph Oelckers
714a2ef70e
- scriptified canwithsomething, the last internal STAT_STANDABLE item.
2022-11-19 19:01:17 +01:00
Christoph Oelckers
dee33ba4dd
- scriptified viewscreen and camera.
2022-11-19 17:35:04 +01:00
Christoph Oelckers
046ba1ae0c
- scriptified touchplate
2022-11-19 15:40:35 +01:00
Christoph Oelckers
63a8c3148c
- scriptified doorshock
2022-11-19 15:40:21 +01:00
Christoph Oelckers
15cd80cad3
- scriptified the waterdrip
2022-11-19 15:40:09 +01:00
Christoph Oelckers
11acb92553
- scriptified the bolts.
2022-11-19 12:54:50 +01:00
Christoph Oelckers
676ca73983
- scriptified the trash actor.
2022-11-19 12:54:15 +01:00
Christoph Oelckers
5ae7011e41
- converted the masterswitch.
2022-11-19 11:24:39 +01:00
Christoph Oelckers
b106fb693a
- scriptified OozFilter + Seenine
...
Also fixing the default handling for onHit.
2022-11-17 21:46:24 +01:00
Christoph Oelckers
26ba1f601e
- scriptified the fire extinguisher.
2022-11-17 20:19:22 +01:00
Christoph Oelckers
f9826241ef
- scriptied the cracks.
2022-11-17 20:18:46 +01:00
Christoph Oelckers
8ce358fc24
- scriptified the trip bombs.
2022-11-17 18:38:25 +01:00
Christoph Oelckers
6b3e57fd2c
- added 'foreach' loop to ZScript.
...
Syntax:
foreach(variable : array)
{
}
the variable's type is automatically deducted.
2022-11-15 21:29:04 +01:00
Christoph Oelckers
dc9451d584
- renamed global 'wall' and 'sector' arrays to 'walls' and 'sectors' for ZScript.
...
This avoids problems with name hiding.
2022-11-15 20:09:36 +01:00
Christoph Oelckers
bfae5ce1bc
- use a TArrayView to store the wall references in a sector.
...
This is a lot more scripting friendly than hacking around the indices.
2022-11-15 14:53:39 +01:00
Christoph Oelckers
a2683559ce
- refactored Duke's cactus.
2022-11-15 10:44:06 +01:00
Christoph Oelckers
ad7cf290d2
- restricted use of gs.firstdebris to the only place where it is really needed.
...
Also no script export for this, it is only needed for converting CON parameters to propr indices.
2022-11-15 08:28:05 +01:00
Christoph Oelckers
d253468b22
- scriptified the scraps.
...
A Duke-ish mess of epic proportions.
2022-11-15 00:06:21 +01:00
Christoph Oelckers
5fea500f92
- flammable actors scriptified.
2022-11-14 16:31:45 +01:00
Christoph Oelckers
190fd1827e
- scriptified Dukes water fountain.
...
That's this thingy in the first corridor of E2L1.
2022-11-14 12:10:13 +01:00
Christoph Oelckers
306db376d9
- added script exports for 'spawn' and 'lotsofglass' and made the spawn variant using class names operational.
2022-11-14 10:30:59 +01:00
Christoph Oelckers
317968c45a
- exported DukeGameInfo.
...
Only the parts that can be considered stable.
2022-11-14 10:25:17 +01:00
Christoph Oelckers
ced22bb0a8
- added onUse virtual to DukeActor.
2022-11-14 10:22:22 +01:00
Christoph Oelckers
f23ddc28f0
- Duke: scriptified the crane
2022-11-13 18:55:32 +01:00
Christoph Oelckers
660c546266
- actor interface fixes.
2022-11-13 18:51:23 +01:00
Christoph Oelckers
e3aa1da175
- CallOnanimate
2022-11-13 11:50:28 +01:00
Christoph Oelckers
ba016c7c3a
- added CallOnHit and named spawn.
2022-11-13 10:30:52 +01:00
Christoph Oelckers
b06382a565
- this was supposed to be named 'sector'.
2022-11-13 10:15:40 +01:00
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
c32a695384
- DukeActor scriptification framework.
2022-11-13 08:55:20 +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
Mitchell Richters
9fbe564327
- Fix bad if statement guarding cl_clampedpitch
in menu and make non-global.
2022-11-07 15:43:26 +11:00
Mitchell Richters
eb3f4c6e00
- Update language.csv
.
2022-11-06 22:03:43 +11:00
Mitchell Richters
2357cc5c36
- Add option to (experimentally) unclamp the view pitch for the Duke family of games.
2022-11-06 22:03:42 +11: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
a6af6b88df
- removed the MHK for Route66's coffin.map
...
This was actually a render bug that was fixed long ago, so the edit is no longer needed.
2022-10-31 08:27:15 +01:00
Christoph Oelckers
b636ffe6a7
- added a MHK for RR E1L1 to fix a render glitch in the barn.
2022-10-31 08:26:20 +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
Mitchell Richters
0600bf5860
- Negate everything to do with PlayerHorizon::__horiz
where appropriate, including some loose horizoff
members.
2022-10-30 16:51:11 +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
f1bdee015d
- SW: fixed Bouncing Betty not spawning on Twin Dragon's $outpost.map
2022-10-01 15:57:40 +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
b60181eed5
- variable cleanup.
2022-08-03 15:58:18 +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
9e6fe2cbaa
- added workaround to render the crane in WT's 'Docks' map correctly.
...
This one violates engine specifications by creating overlapping walls when the crane is rotated.
2022-06-26 09:36:01 +02: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
Mitchell Richters
add86d8cdb
- Remove m_filter
option from the menu. The remainder of the removal will come from a backend sync with GZDoom.
2022-05-30 21:42:25 +10:00
Christoph Oelckers
7de040cc92
- yet another circular staircase workaround.
...
Why can't people do these things physically correctly? :(
2022-05-29 12:22:58 +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
Rachael Alexanderson
b1f971aa9b
- add gl_satformula == 2 - an optional 'more accurate' desaturation
2022-03-18 04:32:34 -04: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
7ddd0dc22e
- fixed bad filter name for DukeDC's SSI variant fpr 1.5
2022-02-18 23:58:49 +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
Mitchell Richters
515bd54512
- Exhumed: Add save game option to in-game menu.
2022-01-24 21:51:28 +11:00
Christoph Oelckers
2022de845a
- did some reshuffling on Exhumed's menu.
...
To allow adding a "User map" item and prevent accidental reset of ongoing games, both the items for starting the campaign and the training map are now in a submenu.
This allows the game to go through the regular startup procedure common to all games, which in turn allows adding the "User map" item to the episode selection.
2022-01-24 01:00:05 +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
Christoph Oelckers
a34c6d6b5f
- language update
2022-01-22 14:33:10 +01:00
Rachael Alexanderson
d5aacb369a
- oops this was in the wrong place
2022-01-21 01:16:22 +01:00
Rachael Alexanderson
85aee83bf8
- backend sync with GZDoom
2022-01-21 01:15:22 +01:00
Mitchell Richters
a20a56d9e7
- Add missing SSAOModes
option value array to menudef.txt
.
2022-01-16 22:42:22 +11:00
Christoph Oelckers
8d777892e0
- enable Bloom and SSAO menu options.
2022-01-16 12:18:00 +01:00
Christoph Oelckers
e5dad53f6d
- menu entries for light modes, plus handling of overbright shades.
2022-01-11 00:19:15 +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