Magnus Norddahl
1ce3b4c79c
- Fix dynamic light clamping issue in truecolor drawers
2017-07-23 23:45:43 +02:00
Magnus Norddahl
bf4d7234e1
- Increase MAXWIDTH and MAXHEIGHT defines to support supersampled 5K monitors
2017-07-23 22:04:00 +02:00
Magnus Norddahl
1a4cf16168
- Fix swtruecolor cvar messing up the chosen video mode
2017-07-23 20:54:03 +02:00
Magnus Norddahl
18f0f6be4b
- Pixel stretch for 320x200 and 640x400 in glswfb
2017-07-23 17:26:55 +02:00
Rachael Alexanderson
2f37c4b272
- added vid_scalemode == 4 to super-sample the screen
2017-07-23 11:24:04 -04:00
Magnus Norddahl
449c4cb711
- Pixel stretch 320x200 and 640x400 scale modes in the GL renderer
2017-07-23 17:18:25 +02:00
Rachael Alexanderson
45a37211e4
- added special handling for vid_scalemode == [1||2] to force video aspect scaling off unless the user explicitly specified an aspect override.
2017-07-23 10:49:13 -04:00
Rachael Alexanderson
b30b93f40f
- made postprocess shader parsing a little more strict, will error out more frequently with common mistakes.
2017-07-23 06:11:04 -04:00
alexey.lysiuk
7436693860
Enabled dynamic stack size in ZScript parser generated by Lemon
...
https://forum.zdoom.org/viewtopic.php?t=57322
2017-07-23 11:54:16 +03:00
Magnus Norddahl
370e53befe
- Replace vid_max_width and vid_max_height with vid_scalemode for the GL software framebuffer backend
...
- Fix a crash if the window was resized before creating a game
- Fix main menu scaling being wrong if the video mode didn't match the unscaled screen size
2017-07-23 04:23:13 +02:00
Magnus Norddahl
c3702ae9e7
Add vid_scalemode support to GL framebuffer
2017-07-23 00:33:56 +02:00
Rachael Alexanderson
2e6c4eeab9
- removed NOSAVE flags from sv_damagefactor* cvars so that they get put in a savegame
2017-07-22 08:25:39 -04:00
Rachael Alexanderson
a958d2ad72
- fixed pixel centering for unaccelerated player sprites
2017-07-22 08:01:27 -04:00
Rachael Alexanderson
04db494310
- 'kill baddies' cheat now describes what it is killing. This is mostly for multiplayer purposes when other players see the feedback when the cheat is used, allowing players to see if it was 'kill monsters' or 'kill baddies'
2017-07-22 07:25:58 -04:00
Magnus Norddahl
8311a18282
- Fix plane pixel center sampling bug
2017-07-22 12:29:46 +02:00
Magnus Norddahl
3ff021608d
- Fix pixel center sampling bug in SWCanvas::DrawTexture
2017-07-22 10:40:30 +02:00
alexey.lysiuk
c56cd245ac
Added IndexOf() and LastIndexOf() functions to ZScript string type
...
https://forum.zdoom.org/viewtopic.php?t=57313
2017-07-22 10:54:32 +03:00
Magnus Norddahl
ebd20daed8
- Fix wall texture sampling to be done at pixel centers
2017-07-22 01:45:06 +02:00
Rachael Alexanderson
8d95ee6882
- 'Player' is turbo! cheat is no longer shown in single player.
2017-07-21 17:21:58 -04:00
Magnus Norddahl
5be74890b7
- Fix missing pixels on walls in palette mode for npot2 textures
2017-07-21 22:48:44 +02:00
Christoph Oelckers
714ada01aa
Merge remote-tracking branch 'remotes/origin/qzdoom-merge'
2017-07-20 18:33:20 +02:00
Christoph Oelckers
e8e940d221
- fixed portal handling for P_CheckMissileSpawn to obey commonly established rules about portal types.
2017-07-20 18:32:54 +02:00
Christoph Oelckers
ffc529d100
- let r_*_cull variables default to 0.
2017-07-20 14:23:45 +02:00
Christoph Oelckers
03ed0656e1
- fixed: The frame timer for interpolating the renderer should always take its time from the actual beginning of the frame instead of checking the system timer in real time when rendering starts.
...
This fixes two issues:
* timer related texture animations are not being recreated multiple times if a scene renders multiple viewpoints (e.g. camera textures or portals.)
* interpolation is smoother when maps have a high think time of multiple milliseconds. A good map to see the difference would be ZDCMP2 which has a think time of 4-5 milliseconds. With the timer taken in real time after the thinkers have run and VSync on this resulted in alternating time slices of 11 and 21 ms between frame interpolations instead of an even 16 as should be done for smooth 60 fps because roughly every second frame was offset by those 5 ms.
2017-07-20 14:20:50 +02:00
Rachael Alexanderson
d020ec68d2
Merge branch 'master' into qzdoom-merge
2017-07-20 06:43:03 -04:00
Rachael Alexanderson
bc38f7f776
- changed gl_ssao_portals default to 1
2017-07-20 06:41:34 -04:00
Rachael Alexanderson
77617a2757
Merge branch 'master' into qzdoom-merge
2017-07-19 17:32:41 -04:00
Rachael Alexanderson
5918167fb3
- added 'kill baddies' cheat - does the same thing as 'kill monsters' only it ignores friendly monsters
2017-07-19 15:03:27 -04:00
Rachael Alexanderson
62a4eb6b6d
- fixed a comment in version.h about the current ZScript version (it was out of date)
2017-07-19 11:04:53 -04:00
alexey.lysiuk
bbb8374b06
Fixed applying of color to untranslated fonts in hardware renderer
...
https://forum.zdoom.org/viewtopic.php?t=57268
2017-07-19 15:00:55 +03:00
alexey.lysiuk
f4672d67bc
Fixed crash when drawing untranslated font
...
https://forum.zdoom.org/viewtopic.php?t=57268
2017-07-19 13:24:19 +03:00
Rachael Alexanderson
1f6d15c741
- Rename QZDoom back to GZDoom again for merge.
2017-07-19 06:13:05 -04:00
Rachael Alexanderson
bac72600f0
Merge remote-tracking branch 'origin/master' into qzdoom-merge
2017-07-19 06:11:13 -04:00
Christoph Oelckers
579840987d
- added per-class think time profiling tool.
2017-07-17 10:21:58 +02:00
Rachael Alexanderson
a383dacbe6
Merge https://github.com/coelckers/gzdoom
2017-07-16 01:38:25 -04:00
alexey.lysiuk
490e873602
Moved parallel_for() function template to own header file
2017-07-15 12:16:06 +03:00
Rachael Alexanderson
a3e782a164
Merge https://github.com/coelckers/gzdoom
2017-07-15 03:48:13 -04:00
Rachael Alexanderson
9eb0b64ab0
- Added new "sv_damagefactor*" variables.
...
sv_damagefactorplayer: Scales damage for player
sv_damagefactorfriendly: Scales damage for all other +FRIENDLY objects
sv_damagefactormobj: Scales damage for everything else (incl. monsters and decorations)
2017-07-15 03:38:10 -04:00
Christoph Oelckers
ac30e47ab4
- Added an 'srand' call to the RBG initialization.
...
This is needed because 'rand' gets used by parts of the sound code (e.g. playlists.)
2017-07-15 09:34:07 +02:00
Christoph Oelckers
daca12600d
- fixed: The ADDA_RK opcode used the wrong constant type for the offset it adds to the pointer.
2017-07-15 09:14:39 +02:00
Christoph Oelckers
98124c8049
- avoid using plain chars as variables.
...
This is all I found with a quick search, there's probably more...
2017-07-15 09:01:02 +02:00
Rachael Alexanderson
c1e3f10802
Merge https://github.com/coelckers/gzdoom
2017-07-15 00:24:25 -04:00
alexey.lysiuk
970adff5e7
Use multiple threads for xBRZ upscaling
...
Implementation relies on Concurrency Runtime, Grand Central Dispatch aka libdispatch or OpenMP depending on their availability
2017-07-14 16:01:38 +03:00
alexey.lysiuk
ac811f99c0
Fixed uninitialized variable in XLAT parser
...
https://forum.zdoom.org/viewtopic.php?t=57109
2017-07-13 18:05:58 +03:00
alexey.lysiuk
c6351825b8
Enable Core Profile on macOS only when OpenGL 3.3 is available
2017-07-13 18:05:58 +03:00
Rachael Alexanderson
7728875a7f
- Added 'enabled' property for PP shaders, to automatically enable them without ZScript
2017-07-13 05:57:12 -04:00
Magnus Norddahl
c38d0c1637
Merge branch 'line_distance_cull' into qzdoom
...
# Conflicts:
# src/swrenderer/scene/r_opaque_pass.cpp
2017-07-12 07:11:43 +02:00
Magnus Norddahl
7d1de667be
- Added r_line_distance_cull cvar that culls lines beyond the specified distance
2017-07-12 06:56:34 +02:00
Rachael Alexanderson
25900031f5
Merge https://github.com/coelckers/gzdoom
2017-07-11 06:22:51 -04:00
Rachael Alexanderson
25ab31e92c
- corrected transferred sky offsets using ZDoom 2.8.1 source - the sky needed to be offset by 28 units.
2017-07-11 05:53:21 -04:00
Rachael Alexanderson
28950b8a5d
- q2.1pre version
2017-07-10 13:15:52 -04:00
Rachael Alexanderson
e2744102c5
Merge https://github.com/coelckers/gzdoom
2017-07-10 11:39:46 -04:00
Rachael Alexanderson
d2c8a5c33d
Revert "Merge commit 'refs/pull/338/head' of https://github.com/coelckers/gzdoom "
...
This reverts commit 65bb8a5185
, reversing
changes made to 619281de64
.
2017-07-10 11:29:58 -04:00
Rachael Alexanderson
26355ece82
Revert "Merge commit 'refs/pull/338/head' of https://github.com/coelckers/gzdoom "
...
This reverts commit 035c036eb2
, reversing
changes made to 61660bf147
.
2017-07-10 11:29:30 -04:00
Rachael Alexanderson
8c0706e56f
Revert "Merge commit 'refs/pull/338/head' of https://github.com/coelckers/gzdoom "
...
This reverts commit 56806e3243
, reversing
changes made to e1a2de4989
.
2017-07-10 11:26:41 -04:00
Rachael Alexanderson
04b1163188
Revert "Add a comment"
...
This reverts commit d2f4dd41f8
.
2017-07-10 11:25:38 -04:00
alexey.lysiuk
2e33165edf
Moved freeing of data stored in HUD message objects to OnDestroy() function
...
https://forum.zdoom.org/viewtopic.php?t=57163
2017-07-10 10:41:50 +03:00
Rachael Alexanderson
e1b4bb11ba
Merge https://github.com/coelckers/gzdoom
2017-07-09 20:09:12 -04:00
Magnus Norddahl
ddd1b629c3
- Calculate globvis/r_visibility in r_utility and use it in GL and poly renderers
2017-07-09 19:01:34 +02:00
Magnus Norddahl
c8e713b067
- Remember maximized window state
2017-07-09 15:12:31 +02:00
alexey.lysiuk
afe1199b69
Fixed sound looping when stream length is a multiply of buffer size
...
https://forum.zdoom.org/viewtopic.php?t=57164
2017-07-09 13:28:16 +03:00
Rachael Alexanderson
15d92b346d
Merge https://github.com/coelckers/gzdoom
2017-07-08 09:31:43 -04:00
Magnus Norddahl
00893763ed
Merge branch 'custom_postprocess' into qzdoom
2017-07-08 14:44:30 +02:00
Magnus Norddahl
a38de996e7
- Move uniform declarations to the GLDEFS lump to make it Vulkan safe (a vulkan implementation can then declare them in an uniform block)
...
- Change SetUniform functions to be clearscope as they can be safely called from both play and ui
- Add PlayerInfo argument to SetUniform functions to force the modder to take network play into account
- Add enabled flag on custom postprocess shaders
- Removed custom texture support until a more clean implementation is written
2017-07-08 14:44:07 +02:00
alexey.lysiuk
58b348e75a
Skip autogenerated mouse move events in Cocoa backend regardless of mode
2017-07-08 13:36:55 +03:00
alexey.lysiuk
9292b23bb4
Restore mouse position when entering GUI capture mode in Cocoa backend
2017-07-08 12:46:38 +03:00
Magnus Norddahl
a4b96f7673
- Fix linker error
2017-07-06 18:02:27 +02:00
Magnus Norddahl
69a3d10cb6
Merge branch 'custom_postprocess' into qzdoom
...
# Conflicts:
# src/gl/renderer/gl_postprocess.cpp
2017-07-06 05:41:16 +02:00
Magnus Norddahl
8a0e801cb5
- Move custom postprocess shader to its own file
2017-07-06 05:36:01 +02:00
Rachael Alexanderson
1cfaae78d9
- Add new "scene" target for custom postprocess shaders
...
- Add "gl_custompost" cvar to turn off custom postprocess shaders completely
- Made "scene" affect the screen before 2D drawing, made "screen" affect the entire screen after 2D drawing
2017-07-06 04:45:51 +02:00
Rachael Alexanderson
2bfd7859e4
Merge remote-tracking branch 'origin/custom_postprocess'
2017-07-03 17:17:17 -04:00
Magnus Norddahl
e161bba146
- Specify shader uniforms from ZScript
2017-07-03 22:30:49 +02:00
Rachael Alexanderson
5c87cdd786
- Add new "scene" target for custom postprocess shaders
...
- Add "gl_custompost" cvar to turn off custom postprocess shaders completely
- Made "scene" affect the screen before 2D drawing, made "screen" affect the entire screen after 2D drawing
2017-07-02 21:04:22 -04:00
Rachael Alexanderson
edb45cd70d
Merge remote-tracking branch 'origin/custom_postprocess'
2017-07-02 19:56:57 -04:00
Magnus Norddahl
1b5f3da9c5
- Fix lump lookup
2017-07-03 01:50:51 +02:00
Magnus Norddahl
befe081683
- Upload custom texture
2017-07-03 01:29:03 +02:00
Magnus Norddahl
ee6d7cf17e
- Add initial postprocess shader support to GLDEFS file
2017-07-03 01:26:02 +02:00
Rachael Alexanderson
0d8b7c55ef
- added a grayscale formula selector
2017-07-02 16:45:06 -04:00
Rachael Alexanderson
bd02893ce7
- expanded hard limits for saturation to -15.0/15.0
...
- added menu option for saturation
- tried to get the new saturation shader to consume less GPU power by turning it off when it is 1.0
2017-07-02 16:45:06 -04:00
Rachael Alexanderson
63da6e70c0
- added a vid_saturation control - works in postprocessing, only.
2017-07-02 16:45:06 -04:00
Rachael Alexanderson
6a402c28d8
Merge https://github.com/coelckers/gzdoom
2017-07-02 16:36:46 -04:00
Rachael Alexanderson
aa2a39da19
Revert "- Remove r_sprite_distance_cull"
...
This reverts commit 44546ce16a
.
2017-07-02 16:35:40 -04:00
Magnus Norddahl
205350e726
- Fix sprites behind midtextures unrender when near voxel
2017-07-02 20:09:46 +02:00
Magnus Norddahl
6d8281c812
- Fix voxel clipping for r_scene_multithreaded
2017-07-02 18:22:28 +02:00
Magnus Norddahl
4545539045
- Add polyobj support to r_scene_multithreaded
2017-07-02 17:22:59 +02:00
Magnus Norddahl
adcc7588ec
- Make it more clear what bFakeBoundary did
2017-07-02 15:35:29 +02:00
Magnus Norddahl
efb1a8d113
- Don't add 3D floor dummy draw segments to the list
2017-07-02 14:46:19 +02:00
Magnus Norddahl
e19c8eba62
- Switch sprite drawing to use the interesting draw segments list
...
- Stop adding 3D floor "fake" draw segments to the interesting segments list
- Rename InterestingSegments list to TranslucentSegments
2017-07-01 23:55:41 +02:00
Rachael Alexanderson
c3cc3637db
Merge https://github.com/coelckers/gzdoom
2017-07-01 13:12:25 -04:00
Christoph Oelckers
5a761dd3c3
- fixed alpha of palette index 0 for ice and alpha translations.
2017-07-01 16:19:41 +02:00
alexey.lysiuk
71b70d74a9
Fixed error handling in vector by scalar multiplication
...
https://forum.zdoom.org/viewtopic.php?t=57089
2017-07-01 12:37:31 +03:00
alexey.lysiuk
925274ca0c
Added name of upcoming macOS to OS detection
2017-07-01 12:29:25 +03:00
Magnus Norddahl
42fedd0f4c
- Improve sprite performance when there are many draw segments
2017-07-01 03:31:06 +02:00
Magnus Norddahl
44546ce16a
- Remove r_sprite_distance_cull
2017-07-01 03:29:28 +02:00
Rachael Alexanderson
17aceac912
Merge https://github.com/coelckers/gzdoom
2017-06-29 03:50:22 -04:00
Magnus Norddahl
0cd575363f
- Add r_sprite_distance_cull that per default culls all things further than 5000 units away
2017-06-28 19:55:11 +02:00
Christoph Oelckers
c74356a1c0
- made OpenGL 3.3 a requirement for running the modern render path. Also force '-glversion 3' to use the modern render path, even though actual OpenGL 3.0 won't support it.
...
This will exclude Intel HD3000 and many obsolete drivers for NVidia and ATI which should have been updated long ago.
2017-06-28 17:57:04 +02:00
Rachael Alexanderson
c15880a2fc
Merge https://github.com/coelckers/gzdoom
2017-06-27 17:38:26 -04:00
Magnus Norddahl
9c3361dfe2
- Fix stat fps to write something slightly more useful
2017-06-27 21:15:26 +02:00
Christopher Bruns
e9f03102f4
Update fixed color map for each eye, so light goggles would work in both eyes in stereo 3d modes.
2017-06-27 17:55:11 +02:00