Rachael Alexanderson
ca9ab7bd5b
- rename 'restart' ccmd to 'debug_restart' since it is in a broken state right now
2024-09-29 16:04:00 -04:00
Rachael Alexanderson
85ae8f8194
- flat sprites are already square, no need to adjust them
2024-09-29 10:05:43 -04:00
Rachael Alexanderson
2c25cc1d9b
- well ... this was a lil redundant
2024-09-28 15:56:42 -04:00
Ricardo Luís Vaz Silva
326480cb31
Fix typo
2024-09-25 18:57:05 -03:00
Boondorl
8c10ac6f38
Added GetDecalName()
2024-09-24 23:38:43 -04:00
Rachael Alexanderson
3524d06813
- export FFont::GetChar()
to ZScript
2024-09-20 20:00:01 +02:00
Gene
de87493c41
Fix incorrect boolean logic for drawBillboardFacingCamera
2024-09-20 08:38:45 -04:00
Gene
5347cdf569
Fix billboard facing camera only taking effect when used with XY billboarding
2024-09-19 10:56:24 -04:00
Ricardo Luís Vaz Silva
712dd1133d
Fix typo
2024-09-17 14:14:23 -03:00
nashmuhandes
0c3ebf451f
Fix missing serialization for skyspeed1
and skyspeed2
2024-09-16 19:02:09 -03:00
Dileep V. Reddy
b79deabab1
Prevent console from laying open when intro cutscene plays on some systems.
2024-09-16 13:43:34 -04:00
Ricardo Luís Vaz Silva
79dacdf1b7
Properly fix double interpolation for IQM models
2024-09-13 17:05:22 -03:00
Ricardo Luís Vaz Silva
1429e22441
rework interpolation to allow for precalculated frames
2024-09-13 17:05:22 -03:00
Ricardo Luís Vaz Silva
b1318e4b22
quick fix for interpolation, TODO better fix
2024-09-13 12:17:09 -03:00
Ricardo Luís Vaz Silva
17d7006d72
replace naive interpolation logic with more exact logic
2024-09-13 12:17:09 -03:00
Christoph Oelckers
ed39413532
Render the bottom sky layer always with full opacity in the SW true color renderer.
...
No need to add explicit checks for color (0,0,0,0) here.
2024-09-12 08:47:00 +02:00
Cacodemon345
38290b6615
Truecolor sky: Draw opaque black background on transparent texels
...
Fixes HOM effect
2024-09-12 08:38:19 +02:00
Cacodemon345
ce24849adf
Add support for fire textures in ANIMDEFS
2024-09-12 08:38:19 +02:00
Ricardo Luís Vaz Silva
a663d97961
load id24res if present
2024-09-12 01:28:53 -04:00
Dileep V. Reddy
aacc4d7278
PointToPseudoPitch() was being called even when viewpoint was not allowed out of bounds. And its sqrt was slow even when it was necessary (thanks dpjudas for the speedup code).
2024-09-10 10:58:36 -04:00
Ricardo Luís Vaz Silva
afcd38907c
add SpawnMultiCoopOnly mapinfo flag to spawn **only** coop spawns in single-player
2024-09-08 17:10:33 -03:00
Rachael Alexanderson
5895f9b1b1
- implement +SQUAREPIXELS flag
2024-09-07 23:09:36 -04:00
Xaser Acheron
76c8b6da57
fix A_PlaySound not working for DSDHACKED-defined sounds
2024-08-25 11:18:52 -04:00
Dileep V. Reddy
b2976444c9
Smaller aspect ratio screens were getting clipped a bit too much. This is a brute-force if-else solution. Larger aspect ratios (wider screens) were always good.
2024-08-25 11:18:05 -04:00
Magnus Norddahl
f0ff273620
Stop grabbing mouse when game window doesn't have the focus
2024-08-23 01:14:28 -04:00
Ricardo Luís Vaz Silva
70cf707251
Skip bex strings for freedoom if language lump is present ( #2682 )
2024-08-21 00:08:57 -03:00
Boondorl
0d43272c8f
Allow for Basic and Hexen armor replacing
2024-08-17 01:14:07 -04:00
Christoph Oelckers
5fa220219e
Reverted use of tchar.h which should be considered deprecated.
...
GZDoom is Unicode only - as should be the norm for any Windows application - and will not work when compiled as ANSI so there's no good reason to use this wrapper.
2024-08-16 12:41:29 +02:00
Farkas Péter
f5c86819ab
Added GOG path for Doom + Doom II
2024-08-15 18:54:13 -04:00
Dileep V. Reddy
958721e2b8
Forgot on check.
2024-08-15 02:43:48 -04:00
Ritchie Swann
709d5dd742
Keep legacy_studio_definitions for non mingw64 toolchain
2024-08-15 02:43:47 -04:00
Ritchie Swann
120c0fb5ca
Use TCHAR on Windows
2024-08-15 02:43:47 -04:00
Ritchie Swann
801dc4aaac
sys/stat.h is required on all platforms
2024-08-15 02:43:47 -04:00
Ritchie Swann
e1e5ae16e2
Fix namespace issue
...
windows.h must be included in the main namespace on mingw64, otherwise there are loads of compile errors
2024-08-15 02:43:47 -04:00
Ritchie Swann
8f7b0ef4eb
Fix libraries on mingw64
...
dxguid and dwmapi are required on mingw64 and give linker errors if missing
legacy_studio_definitions is not in the latest mingw64
2024-08-15 02:43:47 -04:00
nashmuhandes
8043370ef1
Export PlayDiveOrSurfaceSounds to ZScript and made it virtual for mods to customize the diving and surfacing sounds
2024-08-11 14:34:53 -04:00
dileepvr
95b264bdb6
Isometric Mode and Robin ( #2618 )
...
* Feature-complete isometric mode fork.
* Dithered transparency condition tweaks.
* Dithered transparency for non-corpse monsters only (and missiles).
* SpectatorCamera vertical shift.
* Including math.h in hw_sprites.cpp to keep visual studio happy (it couldn't find M_SQRT2 definition).
* Defining MY_SQRT2 in hw_sprites.cpp to keep visual studio happy (it couldn't find M_SQRT2 definition).
* Defining MY_SQRT2 in r_utility.cpp also to keep visual studio happy.
* retrigger checks
* Have correct sprite angle-frame face the camera with orthographic projection enabled.
* Dithered Transparency now works properly on 3D floors. Moved that dither-trans flag setting code within hw_bsp.cpp to handle double-processing of linedefs. Added helper functions to FRenderViewpoint class 'bool IsOrtho()' and 'bool IsAllowedOoB()' to clean up checks everywhere in the code.
* Fixed indents. Added bbox property to subsector struct and use it instead of BSP nodes and Clippers (creating a bbox around viewpoint and checking for overlap) in orthographic mode when no fog of war is active. Turns out to be much faster. Though you need really big maps (Winter's Fury MAP01) to see a difference in fps.
* Non-linux checks don't like uint. Changed to unsigned int.
* Small change of a float to camera.zs. Ignore for testing. Should make no difference.
* Update actor.h to remain mergeable
RF2_NOMIPMAP was introduced, so I had to displace RF_ISOMETRICSPRITES to next bit.
2024-08-11 10:04:40 -04:00
Ricardo Luís Vaz Silva
b044baf850
don't change priority to idle if i_pauseinbackground is false
2024-08-09 18:04:51 -03:00
Ricardo Luís Vaz Silva
1655f7e3b7
Allow XInput joysticks to work while the game is unfocused
2024-08-09 18:04:51 -03:00
Vitaliy Kanev
bd2027ee4b
Support the new Doom + Doom II update
2024-08-09 14:31:48 -03:00
Rachael Alexanderson
847f34f2c9
- fix: check if bombsource exists when exploding a projectile with a XF_NOALLIES flag
2024-08-07 11:12:13 -04:00
nashmuhandes
593e1c0225
Add SPF_NOMIPMAP to force actor sprites or particles to have no mipmaps. This makes tiny sprites/particles look more crisp and legible in the distance. Mipmapping causes the sprites/particles to have an inconsistent look where they'd sometimes be clearly visible and sometimes less visible depending on camera distance and movement.
2024-08-03 18:45:48 -03:00
Boondorl
3d3cd88868
Disable effects on Actors set not to render locally
...
These are purely visual
2024-07-31 07:00:38 -04:00
Boondorl
d697eafbe1
Fixed subnormal float viewpos values breaking rendering
2024-07-29 03:10:50 -04:00
Blue Shadow
519dd16c9a
- fixed alignment issue in SBARINFO's DrawString command
2024-07-28 21:19:41 -03:00
nashmuhandes
f671018700
Clean up lightmap stuff in the namedef
2024-07-20 12:56:56 -04:00
Magnus Norddahl
9d78eb5aa0
Fix directory crash for filenames that appear elsewhere in the path
2024-07-12 13:53:45 -04:00
Ricardo Luís Vaz Silva
0caa036a96
fix compilation
2024-07-09 12:25:28 -03:00
Ricardo Luís Vaz Silva
7ddd4ec245
handle freeze in decoupled animations
2024-07-09 12:25:28 -03:00
Boondorl
10d0f94972
Misc network fixes
...
Fixed missing teleport specials when predicting. Added rubberband limit; if too far away from the predicted position, will instead instantly snap the player's view to their new spot. Deprecated cl_noprediction; this was pointless as you'd never not want to predict your position/angles. Fixed angle targets not being backed up. Fixed oldbuttons not being set. Updated menu
2024-07-07 01:33:37 -03:00
MrRaveYard
a82e3b9dfe
Add missing GC write barrier
2024-06-30 11:22:07 -03:00
Ricardo Luís Vaz Silva
35f66c5cc2
add COMPATF2_NOACSARGCHECK to disable ACS function argument count checks
2024-06-24 17:23:08 -04:00
dpjudas
02305f02b9
Turn on the output limiter
2024-06-24 17:16:26 -04:00
Major Cooke
3e91d38582
Fixed Pre(Un)Morph being called out of order.
...
- This had broken several mods that relied on the inventory being in place before the switch, which was the intended way to begin with.
2024-06-24 10:37:12 -04:00
Major Cooke
5fc3d44ba5
Added SPF_ROLLCENTER for particles and visual thinkers.
2024-06-23 11:09:29 -04:00
Major Cooke
c56d70f2b1
Added SPF_(NO)FACECAMERA flagst for specifying camera facing on particles and visual thinkers.
...
- This also adds ensures facing camera is applied to these via the option menu.
2024-06-23 10:07:22 -04:00
nashmuhandes
2e4bf697b8
Add X, Y and Z offsets for VOXELDEF. Needed for voxelized weapons which would typically be very large and take up the majority of the 256x256x256 canvas, therefore making precise positioning of the models relative to the screen pretty much impossible without tweakable offsets.
2024-06-21 08:17:54 -03:00
nashmuhandes
13b9ffd6c8
Rename SourceRadius to SoftShadowRadius (to match VKDoom)
2024-06-15 10:00:39 -04:00
Ricardo Luís Vaz Silva
461c2f77b7
restrict new relaxed named arguments to zscript >= 4.13
2024-06-03 10:52:07 -03:00
Ricardo Luís Vaz Silva
20cf8befbf
Rework named arguments
...
Now allows arguments to be in any arbitrary position, and allows required arguments to be named
2024-06-03 10:52:07 -03:00
Ricardo Luís Vaz Silva
87463ef36b
Fix memory leak on TDeletingArray move assignment
2024-06-03 10:52:07 -03:00
Acts 19 quiz
c707b418ef
Narrow the Launcher check box clickable areas to stop overlap and fix #2558
2024-05-27 20:15:51 -03:00
nashmuhandes
ae28eeae94
Scriptified the view squatting.
2024-05-26 21:06:20 -03:00
Boondorl
ab20b75c14
Added missing player retranslation
...
Play-scoped team changing function.
2024-05-26 20:31:50 -03:00
Boondorl
53270f0bc8
Added ChangeTeam function for teamplay
...
Also removes the TeamLibrary global since all it did was call what should've been static functions.
2024-05-26 20:31:50 -03:00
Boondorl
3d6e508d67
Network messages will now show usernames instead of just numbers
...
Gives more useful feedback as it's not obvious which node belongs to who.
Added line breaks to network messages for cases where a large amount of players are desynced.
2024-05-26 20:29:23 -03:00
Boondorl
d02f79d4be
Added subclassing for use commands
...
Allows for finding subclasses when using the item commands that search the inventory. Can be either true/false or 0/1.
2024-05-26 20:29:01 -03:00
Kartinea
3bc54d3757
Fix invisibility affect on enemies
...
When performing the ShadowBlock check, we previously would return a nullptr actor if nothing was between the monster and the player. This resulted in the monster aiming as if you didn't have invisibility.
Fall back to returning the target actor if it is shadowed but nothing is in between the two.
2024-05-22 22:25:18 +02:00
Rachael Alexanderson
cf8a04c457
- simplify squishing to square pixels for particles and rollsprites
2024-05-21 03:09:47 -04:00
Ricardo Luís Vaz Silva
ffbbe0a4c6
partial fix for FString::IsInt()
2024-05-20 16:08:13 -03:00
Jan Engelhardt
1dedcee739
Provide a diagnostic message for the two 32-bit related static_asserts
2024-05-18 07:48:20 -04:00
Xaser Acheron
6d8bee9316
don't show secret-flagged linedefs with special color on am_cheat 4 and above
2024-05-16 08:12:39 +02:00
Boondorl
da4752d7ec
Fixed unmorphed Actors still ticking
2024-05-11 06:37:37 -04:00
Ricardo Luís Vaz Silva
9129f0121b
Fix MacOS Compilation
2024-05-04 03:17:16 -04:00
Ricardo Luís Vaz Silva
1006d20c13
fix CheckParmList
...
seems like it was checking the second char for '+' instead of the first
2024-05-04 03:17:16 -04:00
Ricardo Luís Vaz Silva
c3ac4c9c38
Handle Extra Args
2024-05-04 03:17:16 -04:00
Ricardo Luís Vaz Silva
75c9b584ee
Revert "- hide the additional parameters for now, this needs to be added in later"
...
This reverts commit fde6c863d1
.
2024-05-04 03:17:16 -04:00
Rachael Alexanderson
35f5e0498e
- fix always show iwad box - don't show if queryiwad is false, or if -iwad parameter is used
2024-05-03 14:45:41 -04:00
Rachael Alexanderson
7ef6fa97a7
- make roll and flat sprites square
2024-05-03 14:32:53 -04:00
Rachael Alexanderson
bcad040fd3
- always show iwad picker, offer option for forks to hide picker by default. this commit was intentionally done in a way to cause merge conflicts so as to force fork maintainers to pay attention to the new option in version.h
2024-05-03 10:14:29 -04:00
Rachael Alexanderson
4bf2fb0ef8
- make particles square
2024-05-03 02:04:29 -04:00
Xaser Acheron
a6e1114d3c
add mbf21 and mbf21 (strict) compatibility presets
2024-05-02 07:46:34 +02:00
Christoph Oelckers
370bec6c55
fixed GL nodes loader for maps loaded from mounted folders.
...
Due to how the reader is created, READER_NEW will not work for it, it needs to force READER_CACHED.
2024-05-01 17:57:11 +02:00
Christoph Oelckers
3a5838c8f5
don't abort when parsing the Steam config fails.
2024-05-01 12:20:06 +02:00
Christoph Oelckers
6f2bc8379a
strip spaces from language labels.
2024-05-01 11:58:30 +02:00
Christoph Oelckers
f2d582f680
fixed: The savegame's PNG loader must use a caching FileReader to avoid holding a handle to the containing file.
...
This blocked savegame deletion.
2024-05-01 09:50:19 +02:00
Christoph Oelckers
81dade9ed5
fixed: for deleting files and folders on Windows we have to call the Unicode variants of these functions.
2024-05-01 09:50:19 +02:00
Ru5tK1ng
3318e540b6
Added missing checking for LOOKALLAROUND.
2024-04-30 01:58:31 -04:00
Ricardo Luís Vaz Silva
c03f7889bf
restore old fadestep behavior if SPF_NEGATIVE_FADESTEP is not passed in
2024-04-29 04:51:13 -04:00
Boondorl
48eb848433
Fixed ViewPos not properly backing up when predicting
...
Also now forcibly creates the object on players when they spawn so their pointer won't get lost when predicting.
2024-04-28 21:20:20 -03:00
Boondorl
929febdfb1
Fixed prediction not calling virtual Tick function
2024-04-28 21:20:04 -03:00
DyNaM1Kk
620d689038
Fixed "PrivateNetOf" function not checking for the entire B class private network range
2024-04-27 11:02:34 -03:00
Christoph Oelckers
45cf72ff48
fixed bad network ID assignment.
...
ClientNetIDStart was added twice here.
This was asserting when loading a savegame.
2024-04-27 11:57:22 +02:00
Christoph Oelckers
f7a15bc5f9
added emulation of Final Doom's teleporter z glitch and activate it for Saturnia MAP10
2024-04-27 10:46:29 +02:00
Boondorl
12d0c946f0
Reworked clientside lerping
...
Now acts as a rubberbanding effect. The result is that movement is now considered correct and adjusted towards the real position if not rather than cautiously moving towards the predicted position.
2024-04-26 20:56:12 -03:00
Boondorl
287277b1f8
Player spawn fix in co-op new games
...
If there aren't enough player spawns present in co-op, the game will instead fail to spawn extra players, waiting for the ticker to automatically capture the fact they have PST_ENTER. This presents a problem in WorldLoaded() where it becomes unreliable whether or not a player has truly spawned. This also means those extra players had slightly different spawn behavior compared to regular pawns.
2024-04-26 14:56:30 -03:00
Boondorl
f0aa0acf08
Fixed changeskill being unnetworked
2024-04-25 20:37:16 -04:00
Boondorl
ca95e18742
View fixes when predicting
...
View interpolation paths are now reset properly when predicting, fixing portals. Teleporters disabling view interpolation is now handled before every movement instead of only once at the start of predicting. Enabled FoV interpolation when playing online.
2024-04-25 17:19:27 -03:00
Boondorl
cf6bad97e8
Fixes for client network IDs
...
Fixed an off-by-one error on client IDs (these need to start at 1 as 0 is an invalid network ID). Morphing will now swap the client body's ID so it remains in the first 1 - MAXPLAYERS slots.
2024-04-25 14:08:31 -03:00
Boondorl
566e03da60
Fixed incorrect automap arrow position in multiplayer
...
This caused the player arrows to update at only 35Hz and for the console player's arrow it would lag behind when following.
2024-04-25 14:06:49 -03:00