Magnus Norddahl
34bd21449b
Move line working variables to r_line
2017-01-02 03:12:51 +01:00
Christoph Oelckers
6ab8e90911
- parse GLDEFS and its game-specific variants in lump order instead of both names sequentially.
2017-01-02 00:28:30 +01:00
Christoph Oelckers
9948189193
- scriptified PowerProtection and PowerDamage.
...
- made ModifyDamage calls iterative instead of recursive. With going through the VM they'd be too costly otherwise.
- small optimization: Detect empty VM functions right when entering the VM and shortcut them. This is to reduce the overhead of virtual placeholders, which in a few cases (e.g. CanCollideWith and ModifyDamage) can be called quite frequently.
2017-01-01 23:11:48 +01:00
Christoph Oelckers
1d3afce59b
- let SBARINFO treat 'null' as 'untranslated'. Strictly speaking this wasn't a bug but apparently some people tend to use 'null' as a general placeholder for 'nothing', even where not intended.
2017-01-01 22:52:11 +01:00
Christoph Oelckers
5de3d662cb
- re-added the glow properties for UDMF which somehow got lost.
2017-01-01 19:36:51 +01:00
Christoph Oelckers
66cc68606f
- scriptified the methods of APowerMorph.
...
- made some changes to PowerMorph to better deal with recursive calls from UndoPlayerMorph. The flag hackery was only needed because the 'alternative' pointers were cleared far too late.
2017-01-01 19:23:43 +01:00
Rachael Alexanderson
c5281df691
- We're on version 1.3pre now.
2017-01-01 11:33:54 -05:00
Christoph Oelckers
2d2963ead4
- fixed: The StripRight fix left some code from a previous fix in that no longer applies.
2017-01-01 16:55:45 +01:00
Rachael Alexanderson
c7dce79831
Merge https://github.com/coelckers/gzdoom
2017-01-01 10:54:19 -05:00
Christoph Oelckers
5d9cea9e0e
- fixed: FString::StripRight's space checking counter was broken and would cause deletion of the last valid character in the string.
2017-01-01 14:44:16 +01:00
Christoph Oelckers
356c5f2e08
- removed the ZScript warning.
2017-01-01 12:29:03 +01:00
Magnus Norddahl
81658d7c88
Move line handling to more files
2017-01-01 10:28:35 +01:00
Edoardo Prezioso
9575715b1e
- Added support to GCC/Clang sanitizers.
2017-01-01 00:17:42 +01:00
Christoph Oelckers
e4c63563e3
- fixed: The 3D floor light splitting code for sprites did not copy the sector's fog density.
...
- fixed: fog calculations for fuzz effects were wrong.
2017-01-01 00:16:53 +01:00
Edoardo Prezioso
6b943043d1
- Update the list of dummy actor flags from Zandronum.
2016-12-31 23:02:01 +01:00
Rachael Alexanderson
2e2c15848e
Merge https://github.com/coelckers/gzdoom
2016-12-31 16:53:30 -05:00
Christoph Oelckers
28d79cc2b0
- added some profiling code to the VM.
2016-12-31 17:59:48 +01:00
Magnus Norddahl
3967156d62
Moved remaining parts of r_plane to r_visibleplane
2016-12-31 14:45:41 +01:00
Magnus Norddahl
07826ccd2f
Move variables closer to their correct location
2016-12-31 14:15:06 +01:00
Magnus Norddahl
5967016dbe
Merge branch 'master' of https://github.com/raa-eruanna/qzdoom into qzdoom
2016-12-31 14:00:22 +01:00
Magnus Norddahl
0884a09b38
Move floorclip, ceilingclip, floorplane and ceilingplane closer to their location
2016-12-31 14:00:12 +01:00
ZZYZX
3aee73eaa4
Enabled user shader for a cameratexture
2016-12-31 07:27:27 -05:00
Magnus Norddahl
165134f1a7
Make wallshade private to r_segs
2016-12-31 13:12:09 +01:00
Magnus Norddahl
ce864655e3
Remove wallshade global from R_RenderDecals
2016-12-31 12:59:43 +01:00
Magnus Norddahl
918904074a
Remove wallshade global from R_DrawFogBoundary
2016-12-31 12:57:48 +01:00
Magnus Norddahl
6fd3691da4
Remove unused declarations
2016-12-31 12:50:57 +01:00
Magnus Norddahl
ad15d56a81
Move files into additional folders
2016-12-31 12:45:07 +01:00
ZZYZX
c845fc126a
Enabled user shader for a cameratexture
2016-12-31 12:17:24 +01:00
Magnus Norddahl
2f96dcc1a8
Move fog boundary drawing to r_fogboundary
2016-12-31 12:04:23 +01:00
Magnus Norddahl
f354cc8c67
Move flat and slope plane drawing to their own files, isolate and privatize their working variables
2016-12-31 11:42:49 +01:00
Magnus Norddahl
447b162534
Move sky rendering to its own file
2016-12-31 10:19:31 +01:00
Rachael Alexanderson
8954efd33c
Merge https://github.com/coelckers/gzdoom
2016-12-30 19:21:51 -05:00
Christoph Oelckers
267b1842b4
- scriptified a few more of the simpler powerups.
2016-12-31 01:08:09 +01:00
Christoph Oelckers
3b524cbed4
- scriptified PowerInfiniteAmmo to test the exported functions.
2016-12-31 00:20:02 +01:00
Christoph Oelckers
fe0f19e1e0
- exported Powerup.InitEffect and EndEffect to scripting.
2016-12-30 23:32:43 +01:00
Christoph Oelckers
5e34bad03b
- fixed: AActor::Tick must call CallDoEffect, not DoEffect for its inventory items or scripted overrides won't be called.
2016-12-30 21:32:06 +01:00
Christoph Oelckers
a105a08bd6
- restored the original implementation of DONTOVERLAP, because Heretic depends on it being somewhat broken.
...
A side effect of the incorrect implementation is that Gargoyles hitting other Gargoyles won't call P_DamageMobj.
2016-12-30 20:00:24 +01:00
alexey.lysiuk
e3a909c296
Fixed compilation with GCC/Clang
...
No more 'error: cannot jump from this goto statement to its label'
2016-12-30 16:05:57 +02:00
Rachael Alexanderson
3992fd32cb
Merge https://github.com/coelckers/gzdoom
2016-12-30 05:58:57 -05:00
Magnus Norddahl
99e263e1b3
Decal rendering to r_decal
2016-12-30 08:31:02 +01:00
Magnus Norddahl
50c525161b
Move wallsprite handling to r_wallsprite
2016-12-30 08:11:06 +01:00
Magnus Norddahl
98026c5711
Move player sprite handling to r_playersprite
2016-12-30 07:51:39 +01:00
Magnus Norddahl
bf237799bf
Move particle drawing to r_particle
2016-12-30 07:26:25 +01:00
Magnus Norddahl
f133b4caa4
Move vissprite to its own file
2016-12-30 07:15:10 +01:00
Magnus Norddahl
80e369541a
Move visplane_t to its own file
2016-12-30 06:42:20 +01:00
Magnus Norddahl
775deeb151
Move variables closer to their correct location
2016-12-30 06:15:10 +01:00
Magnus Norddahl
41d0e7c663
Move portal drawing to r_portal
2016-12-30 06:08:47 +01:00
Magnus Norddahl
60c0dcc3c7
Move openings to r_memory
2016-12-30 05:35:25 +01:00
Magnus Norddahl
74e1955afa
Move more to r_draw_segment
2016-12-30 05:01:42 +01:00
Magnus Norddahl
d3056d2679
Split poly_triangle into multiple files
2016-12-30 02:20:24 +01:00
Christoph Oelckers
a000b57204
- fixed player visibility determination by tracking and translating the actual actor position in addition to the camera position through portals. I hope this fixes the randomly appearing player sprites for good.
2016-12-29 22:19:09 +01:00
Rachael Alexanderson
308e768903
Merge https://github.com/coelckers/gzdoom
2016-12-29 13:57:50 -05:00
Christoph Oelckers
f52744e8a4
- fixed: When looking through a plane mirror the portal plane exclusion logic needs to be flipped, because the mirror inverts the vertical view direction.
2016-12-29 19:54:38 +01:00
Christoph Oelckers
125a30307a
Merge branch 'master' of https://github.com/rheit/zdoom
2016-12-29 14:34:13 +01:00
Christoph Oelckers
a3070e8846
- fixed: FGLTexture::CreateTexBuffer needs to be more careful with setting the texture's translucency information.
...
First, if it has already been determined the value should be left alone and second, for translated textures the generated buffer is inconclusive so in that case it cannot be used at all.
2016-12-29 14:33:53 +01:00
Christoph Oelckers
4f21ff275c
- removed duplicate portal_ceil_alpha and portal_floor_alpha UDMF properties.
...
These already existed as 'alphafloor' and 'alphaceiling' and got accidentally duplicated by Eternity.
2016-12-29 11:44:07 +01:00
Rachael Alexanderson
07f22a090c
Merge https://github.com/coelckers/gzdoom
2016-12-28 21:16:14 -05:00
Rachael Alexanderson
605a60d1d6
- Removed headers from c_functions.cpp, added forward struct declaration for FTranslatedLineTarget in c_functions.h.
2016-12-29 01:30:54 +01:00
Rachael Alexanderson
cab1b60ffc
- Some cleanups for c_cmds.cpp, exported some functions as well as functions used for "print/targetinv" to their own file.
2016-12-29 01:30:54 +01:00
Christoph Oelckers
d748b6ad70
- added explicit fog density as a sector property, accessible through UDMF and ACS.
...
- allow changing sector glow information through ACS.
2016-12-29 01:12:17 +01:00
Magnus Norddahl
b615b1b497
Move some draw segment functions to r_draw_segment
2016-12-29 01:06:24 +01:00
Rachael Alexanderson
de896920b4
Merge https://github.com/coelckers/gzdoom
2016-12-28 17:38:00 -05:00
Christoph Oelckers
11bea8249a
. added SetMusicVolume script function.
2016-12-28 21:41:06 +01:00
Christoph Oelckers
02c3b3613f
- added UDMF properties to set glows per sector.
...
- for explicitly defined glows, use the one for the current animation frame, if an animated texture is active. For default glows it will still use the base texture's to avoid inconsistencies.
2016-12-28 21:35:42 +01:00
Rachael Alexanderson
972bdc2001
Merge https://github.com/coelckers/gzdoom
2016-12-28 12:41:18 -05:00
alexey.lysiuk
5dff3d5af0
Do not apply viewport scaling in fullscreen mode
...
See https://forum.drdteam.org/viewtopic.php?t=7339
2016-12-28 16:11:24 +02:00
alexey.lysiuk
efaaefcb70
gl_scale_viewport CVAR is now saved to config file
...
See https://forum.drdteam.org/viewtopic.php?t=7339
2016-12-28 16:11:10 +02:00
ZZYZX
ed2b73833b
Enabled simple intermission for hubs
2016-12-28 14:06:28 +01:00
Magnus Norddahl
18a551f936
Move all clip segment handling to r_clip_segment and make its working data private
2016-12-28 12:07:55 +01:00
alexey.lysiuk
c03cb2c97a
Added support for long lines in config file
...
Single line key-value pair can now exceed 255 characters
Long path names and additional command line parameters (macOS only) are no longer cut off
2016-12-28 11:38:38 +01:00
Magnus Norddahl
1b284ecf3b
Create files for clip, draw and portal segments
2016-12-28 07:04:13 +01:00
Magnus Norddahl
b2a0f02f68
Remove unused prototype
2016-12-28 02:21:32 +01:00
Magnus Norddahl
4d906c50f4
Merge branch 'master' of https://github.com/raa-eruanna/qzdoom into qzdoom
2016-12-28 01:56:45 +01:00
Magnus Norddahl
db53d9c706
Remove r_local header
2016-12-28 01:56:37 +01:00
Rachael Alexanderson
92e4eef553
Merge https://github.com/coelckers/gzdoom
2016-12-27 19:37:53 -05:00
Magnus Norddahl
259d724106
Move R_GetColumn to walldraw and create header file
2016-12-28 01:35:22 +01:00
Christoph Oelckers
6322c81719
- added UDMF_fields for sector plane reflectiveness.
2016-12-28 01:09:42 +01:00
Magnus Norddahl
f8010854c3
Move colfunc and friends to r_draw and change them to member function pointers
2016-12-27 23:53:47 +01:00
Christoph Oelckers
80f1661931
- fixed: The player checking code after loading a savegame was not changed when tracer was replaced with alternative for holding the player's unmorphed version.
2016-12-27 22:44:22 +01:00
Christoph Oelckers
721b2fb21d
- fixed: Instant floor movers should disable z-interpolation for all affected actors.
2016-12-27 21:16:42 +01:00
Christoph Oelckers
8708c69f83
- added GetClassName script function.
2016-12-27 19:25:55 +01:00
Christoph Oelckers
2478cd0467
- changed locking mechanism for ACS strings.
...
It will now store the level numbers that lock a string instead of just incrementing a counter. This should make it more robust because each level can lock a string only once and some possible leftover garbage data won't be able to cause a lock decrease when a savegame is being reloaded.
2016-12-27 18:53:30 +01:00
Rachael Alexanderson
bad3a130cf
Merge https://github.com/coelckers/gzdoom
2016-12-27 12:21:15 -05:00
Christoph Oelckers
e956d19769
- preserve the factor set by I_SetMusicVolume when starting new music.
2016-12-27 15:44:06 +01:00
Christoph Oelckers
4bf19fb665
- don't let monsters block teleports of non-solid inventory items. Doom's code never considered such a possibility and would consider the move blocking, despite the item being non-solid.
2016-12-27 15:34:44 +01:00
Christoph Oelckers
4da8b1a3b7
- delete r_ headers from portal.cpp.
2016-12-27 13:04:46 +01:00
alexey.lysiuk
2f9d5e285d
Removed deprecated code from macOS SDL backend
2016-12-27 13:18:33 +02:00
alexey.lysiuk
186c7b8814
Removed deprecated code from macOS SDL backend
2016-12-27 12:56:21 +02:00
alexey.lysiuk
96228fd645
Fixed compilation of non-Windows backends
2016-12-27 12:55:26 +02:00
Magnus Norddahl
a94fee0e5d
Rename R_ActiveDrawers to R_Drawers
2016-12-27 08:54:37 +01:00
Magnus Norddahl
272b302294
Create SWPixelFormatDrawers for pal and bgra drawers
2016-12-27 08:47:51 +01:00
Christoph Oelckers
d5032663ad
- fixed: All missiles which can bounce off actors need the CANPASS/PASSMOBJ flag so setting this in the 'bouncetype' property is insufficient, it needs to be done when the actor has been completely parsed.
2016-12-27 02:12:27 -05:00
Magnus Norddahl
398001b6cb
Move code into R_UpdateFuzzPos
2016-12-27 07:45:10 +01:00
Magnus Norddahl
4554cf45f1
Remove duplicate prototype entry
2016-12-27 07:41:30 +01:00
Magnus Norddahl
325fa20a02
Add R_DrawFogBoundaryLine and move R_DrawFogBoundary to a source file closer to its correct location
2016-12-27 07:40:35 +01:00
Magnus Norddahl
f1cd91922b
Move to correct header
2016-12-27 07:32:21 +01:00
Magnus Norddahl
5a7765910f
Merge R_SetupSpanBits with R_SetSpanSource and rename it to R_SetSpanTexture
2016-12-27 07:30:29 +01:00
Magnus Norddahl
4d0cc9e7bb
Remove old voxel slab drawer
2016-12-27 07:25:11 +01:00
Magnus Norddahl
46e9a0cdf9
Remove zdoom ifdef version as we aren't doing merges from there anymore
2016-12-27 07:20:22 +01:00
Magnus Norddahl
49903af394
Remove 4 column wall drawers
2016-12-27 07:18:04 +01:00
Magnus Norddahl
2659090e1c
Move renders into folders
2016-12-27 06:31:55 +01:00
Magnus Norddahl
e27702481d
Fix warning
2016-12-27 05:12:10 +01:00
Magnus Norddahl
e91c5ac54d
Merge branch 'master' into OverlayExtension10
2016-12-27 04:32:13 +01:00
Magnus Norddahl
bafc985282
Fix pal particle performance issue
2016-12-27 03:31:34 +01:00
Magnus Norddahl
66b154a475
Voxel mipmap selection
2016-12-27 03:07:50 +01:00
Christoph Oelckers
a37db1c4d7
- fixed: All missiles which can bounce off actors need the CANPASS/PASSMOBJ flag so setting this in the 'bouncetype' property is insufficient, it needs to be done when the actor has been completely parsed.
2016-12-27 00:32:54 +01:00
Rachael Alexanderson
6b2ddb0f3a
Merge https://github.com/coelckers/gzdoom
2016-12-26 17:26:55 -05:00
Christoph Oelckers
e9574276a5
- added CanCollideWith calls to a few more places where they are needed.
2016-12-26 22:33:07 +01:00
Rachael Alexanderson
d8df255438
Merge https://github.com/coelckers/gzdoom
2016-12-26 15:46:44 -05:00
Rachael Alexanderson
7ea4c9508f
Merge https://github.com/rheit/zdoom
2016-12-26 15:46:17 -05:00
Major Cooke
ff3487d389
Merge branch 'OverlayAlpha' into OverlayExtension9
...
# Conflicts:
# src/p_pspr.cpp
# src/r_draw.cpp
# wadsrc/static/actors/actor.txt
# wadsrc/static/actors/constants.txt
2016-12-26 14:37:22 -06:00
Christoph Oelckers
58316c821d
- fixed: The pitch shifting info for sounds needs to be taken from the sfxinfo currently being played, not the one it links to.
2016-12-26 21:07:21 +01:00
Christoph Oelckers
5327055495
- fixed: Source for nailbomb damage in A_Explode should be the caller's target, if defined and the caller is a missile.
2016-12-26 20:37:04 +01:00
Christoph Oelckers
b9f7e0eb36
Merge remote-tracking branch 'remotes/zdoom/master'
2016-12-26 19:33:16 +01:00
Edoardo Prezioso
3f7c057f92
- Fixed heap use after free issue with lights.
2016-12-26 18:23:17 +01:00
Christoph Oelckers
625e97dfd1
- fixed: UpdateRenderSectorList needs to reset the sector before traversing floor portals.
2016-12-26 16:22:28 +01:00
alexey.lysiuk
3fe3abc51e
Fixed endianness issue in script VM
...
See https://forum.zdoom.org/viewtopic.php?t=54549
2016-12-26 09:36:01 -05:00
alexey.lysiuk
aeee80c8fa
Fixed endianness issue in script VM
...
See https://forum.zdoom.org/viewtopic.php?t=54549
2016-12-26 15:31:59 +01:00
Christoph Oelckers
470a96d3b2
- fixed: non-damaging attacks should not cause infighting, unless some relevant pain flags are being set.
2016-12-26 08:18:25 -05:00
Rachael Alexanderson
80228562b3
- Fixed problems with FillSub and FillRevSub drawers.
2016-12-26 08:05:04 -05:00
Rachael Alexanderson
5d6d75385e
- pulled some things out of the loop for the fill drawer
2016-12-26 07:41:52 -05:00
Christoph Oelckers
be508bc670
- adjust to using msecnode_t's.
2016-12-26 12:11:55 +01:00
Christoph Oelckers
9cb2a8f931
Merge remote-tracking branch 'remotes/zdoom/master'
2016-12-26 12:04:13 +01:00
Christoph Oelckers
7f72de6b71
- use msecnode_t's for the touching_renderlists instead of std::forward_list.
...
- preparations for checking the proper sector to get a sprite's lighting info.
2016-12-26 11:58:08 +01:00
Magnus Norddahl
100b80143a
Add basic voxel drawing showing how to use the input data structures
2016-12-26 05:09:01 +01:00
ZZYZX
6f16597668
GL renderer now uses RenderRadius links too
2016-12-25 23:46:03 +01:00
Christoph Oelckers
19856d6ccb
Merge branch 'master' of https://github.com/rheit/zdoom
2016-12-25 22:56:35 +01:00
Christoph Oelckers
c5d75c18b4
- make gl_finishbeforeswap more useful by handling the case where it causes stalls on NVidia.
2016-12-25 22:56:18 +01:00
Christoph Oelckers
04ff4282ef
- removed the global 'sector_list' variable.
...
If the calling code wants to recycle this it will have to pass a container variable to AActor::UnlinkFromWorld and AActor::LinkToWorld.
This was changed because keeping such data in a global variable is dangerous for a set of functions that can be called from a script.
Note that the scripted versions do not yet support saving of the touching_sectorlist.
2016-12-25 22:40:26 +01:00
Christoph Oelckers
5723f10cc3
- use 'for' iterator syntax to check touching_renderlists.
2016-12-25 19:37:07 +01:00
Christoph Oelckers
663b305eec
- include proper headers for std::find.
2016-12-25 19:25:19 +01:00
Christoph Oelckers
2ce55e5416
- fixed: non-damaging attacks should not cause infighting, unless some relevant pain flags are being set.
2016-12-25 19:19:49 +01:00
alexey.lysiuk
2901e2d834
Added missing Intel intrinsics #include
2016-12-25 17:43:13 +02:00
Christoph Oelckers
89b7cf4262
- fixed: RenderRadius needs to be serialized.
...
- fixed: CustomBridge can be visible so it shouldn't be completely excluded from the render lists.
2016-12-25 14:35:35 +01:00
Christoph Oelckers
ad2993950a
- fixed light level calculation for low light levels.
2016-12-25 12:58:29 +01:00
ZZYZX
44c19b5ad9
Changed zero RenderRadius logic - negative values now used for 'no rendering', restored old logic with max(radius, renderradius)
2016-12-25 13:40:21 +02:00
ZZYZX
40a180c15f
Changed zero RenderRadius logic - thing should still link to own sector
2016-12-25 13:37:45 +02:00
ZZYZX
fcd8a0ce92
Reverted STYLE_None change to P_LinkRenderSectors, implemented zero RenderRadius that effectively disables rendering of an actor entirely
2016-12-25 13:35:03 +02:00
ZZYZX
98657f6844
STYLE_None actors are no more subject to P_LinkRenderSectors
2016-12-25 13:19:45 +02:00
ZZYZX
87b23d160b
Ported RenderRadius and related code from gzdoom branch
2016-12-25 13:09:32 +02:00
Magnus Norddahl
66b9e2208d
Draw a rect where the voxels would be
2016-12-25 11:07:50 +01:00
Magnus Norddahl
5ec989d563
Make particles always square
2016-12-25 08:08:01 +01:00
Magnus Norddahl
08fd81802d
Remove useRt
2016-12-25 08:01:21 +01:00
Magnus Norddahl
6f86c11058
DrawWallAdd1Pal cannot do dynamic lights
2016-12-25 07:56:09 +01:00
Magnus Norddahl
a76cd35333
Dynamic lights to the flats in pal mode
2016-12-25 07:49:44 +01:00
Magnus Norddahl
d428634c58
Add dynlights to pal wall drawers
2016-12-25 07:15:17 +01:00
Magnus Norddahl
ea92b95483
Change define to if statement
2016-12-25 06:00:18 +01:00
Magnus Norddahl
ced7bdf94a
Remove rt drawer family and the infrastructure supporting it
2016-12-25 05:46:16 +01:00
Magnus Norddahl
57593adeb0
Simplify ESPSResult to a boolean
2016-12-25 05:15:23 +01:00
Magnus Norddahl
b0febec986
Removed r_columnmethod as its performance gains are too insignificant to justify its complexity on the codebase
2016-12-25 05:05:53 +01:00