Magnus Norddahl
356ad2fe9f
Split doom specific surface data from common/gpu surface data
2024-08-20 02:06:05 +02:00
Magnus Norddahl
87eb89ad33
Remove some indirection
2024-08-19 07:53:30 +02:00
Magnus Norddahl
a8acdb9d37
Stop grabbing mouse when game window doesn't have the focus
2024-08-18 14:56:58 +02:00
Rachael Alexanderson
54d43b2856
Merge commit ' 958721e'
2024-08-15 13:11:37 -04:00
Rachael Alexanderson
9bbad31278
Merge commit ' b044baf'
2024-08-15 13:06:43 -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
Magnus Norddahl
e9946bead2
Fix not lights in the internal lightmapper
2024-08-13 23:35:32 +02:00
dpjudas
b6cbaaedbc
Update the bottom level accel structure if vertices or indexes change
2024-08-11 23:03:32 +02:00
Magnus Norddahl
766b558119
Ranges in buffers are so fun!
2024-08-11 20:39:45 +02:00
Magnus Norddahl
e0cba77646
Move levelmeshhelper completely out of the Common folder
...
Connect the level updates to the level mesh
2024-08-11 18:34:03 +02:00
Magnus Norddahl
e80615e167
Move the level mesh dirty ranges to levelmesh so that it can be updated
2024-08-11 17:51:45 +02:00
Ricardo Luís Vaz Silva
8f79753dc0
make sure all texZ functions update the levelmesh
2024-08-11 17:50:36 +02:00
Ricardo Luís Vaz Silva
7456c7685b
make hooks more specific
2024-08-11 17:50:36 +02:00
Ricardo Luís Vaz Silva
467cf2800b
Fix compilation
2024-08-11 17:50:36 +02: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
Dileep V. Reddy
8a5e7449c1
Consolidated isometric mode commits.
2024-08-11 15:55:21 +02:00
Magnus Norddahl
f1b9e68305
Add more dynamic update code to level mesh
2024-08-11 01:15:44 +02: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
nashmuhandes
a6fc168f0b
Merge branch 'master' of https://github.com/ZDoom/gzdoom
2024-07-31 00:45:38 +08:00
Boondorl
d697eafbe1
Fixed subnormal float viewpos values breaking rendering
2024-07-29 03:10:50 -04:00
Magnus Norddahl
bde15af593
Merge remote-tracking branch 'gzdoom/master'
2024-07-23 19:23:26 +02:00
Magnus Norddahl
9d78eb5aa0
Fix directory crash for filenames that appear elsewhere in the path
2024-07-12 13:53:45 -04:00
Magnus Norddahl
f5ab26a45b
Fix directory crash for filenames that appear elsewhere in the path
2024-07-12 19:50:18 +02:00
nashmuhandes
566ad81cc0
Rebalance default audio mix
2024-07-12 20:29:48 +08:00
dpjudas
7f2c928d14
Prepare wall/flat surface create functions to be able to insert in any location in the mesh buffers
2024-07-05 06:50:00 +02:00
Rachael Alexanderson
188ae392e7
- enable mipmapping in 2D
2024-07-04 20:55:15 +02:00
MrRaveYard
a82e3b9dfe
Add missing GC write barrier
2024-06-30 11:22:07 -03:00
dpjudas
02305f02b9
Turn on the output limiter
2024-06-24 17:16:26 -04:00
Magnus Norddahl
2eab98b4fb
Fix level mesh upload crash if too large textures gets uploaded
2024-06-24 16:57:10 +02:00
Magnus Norddahl
330ec45d84
Merge tag 'g4.12.2'
2024-06-23 22:27:45 +02:00
Magnus Norddahl
dab624b8b5
Fix compile error for gcc 14
2024-06-23 16:59:26 +02: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
Magnus Norddahl
e76e86ca4b
Fix compile error on Windows ARM64
2024-06-20 18:11:58 +02:00
dpjudas
c66b809d4e
Initialize COM early as we call SHGetKnownFolderPath as part of crash reporter setup
2024-06-16 02:31:34 +02:00
dpjudas
8c1351a363
Use a win32 message box if a fatal error happens before we got the chance to initialize zwidget's resources
2024-06-16 01:19:09 +02:00
nashmuhandes
1a89307ee7
Rename SourceRadius to SoftShadowRadius
2024-06-15 18:08:37 +08: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
Ricardo Luís Vaz Silva
ffbbe0a4c6
partial fix for FString::IsInt()
2024-05-20 16:08:13 -03:00
Magnus Norddahl
6dd59c7787
Make the volume multipliers a little less aggressive
2024-05-19 12:59:46 +02:00
Magnus Norddahl
e7f06ab1a3
Modify the volume defaults and total maximum volume in such a way that if a user puts everything on maximum the chance of audio clipping is reduced
2024-05-18 17:31:07 +02:00
Jan Engelhardt
1dedcee739
Provide a diagnostic message for the two 32-bit related static_asserts
2024-05-18 07:48:20 -04:00
Magnus Norddahl
a0d15768bb
Revert "Add startscreen_console cvar for showing the console during loading instead of the start screen"
...
This reverts commit 147a136e27 .
2024-05-14 10:52:16 +02:00
dpjudas
147a136e27
Add startscreen_console cvar for showing the console during loading instead of the start screen
2024-05-14 00:19:52 +02:00
Magnus Norddahl
096b92f1b4
Rewrite the crash reporter code
2024-05-09 20:50:53 +02:00
Ricardo Luís Vaz Silva
9129f0121b
Fix MacOS Compilation
2024-05-04 03:17:16 -04:00