Christoph Oelckers
e04055dbb2
- added multiple message levels for 'developer' CVAR so that the important stuff won't get drowned in pointless notification spam that's of no use to anyone.
...
- made 'developer' CVAR persist across launches and added some menu entries for it.
- added checks for 'developer' to ACS's CheckInventory function.
2016-08-28 09:55:04 +02:00
Randy Heit
7d03ed4dc7
Use floating point node bounding boxes
2016-04-30 22:37:02 -05:00
Christoph Oelckers
0f99d7d73f
- floatified the few remaining linedef and sector properties that still were fixed_t. The only fixed point things left in r_defs.h are the nodes and a fixed point setter function for vertex_t, which is still needed by the node builder.
2016-04-24 12:15:09 +02:00
Christoph Oelckers
8c1eb201eb
- optimized P_PointInSubsector.
...
It costs more to convert the floating point coordinate for each node check than to convert it once up front and only use fixed point math afterward.
2016-04-18 13:40:08 +02:00
Christoph Oelckers
6445615b5d
- fixed the sound location calculations which got somewhat broken by the constant changes during the conversion.
2016-03-31 21:13:32 +02:00
Christoph Oelckers
8f5ac9b73f
- fixed a float/fixed mixup in R_PointOnSideSlow.
2016-03-31 17:44:05 +02:00
Christoph Oelckers
ff0b371582
- made the linedef deltas private and only accessible through access functions.
...
Now everything should be in place to remove the fixed point math from the rest of the play code.
2016-03-29 16:13:16 +02:00
Christoph Oelckers
c7ae4688a3
- replaced all direct access to vertex coordinates with wrapper functions.
...
So that code replacement can be done piece by piece and not all at once.
2016-03-29 10:07:06 +02:00
Christoph Oelckers
161d03231a
- added custom math routines for reliability.
2016-03-11 15:45:47 +01:00
Christoph Oelckers
f8ebfb541e
- use typedefs for TVector<double> etc.
...
(Better have this out of the way before messing around with this stuff...)
2016-03-10 20:45:45 +01:00
Randy Heit
55142078d8
Normalize line endings
2016-03-01 09:47:10 -06:00
Christoph Oelckers
6adb069506
- rewrote p_local.h so that it doesn't pull in the entire bunch of headers.
...
This was to resolve some circular dependencies with the portal code.
The most notable changees:
* FTextureID was moved from textures.h to doomtype.h because it is frequently needed in files that don't want to do anything with actual textures.
* split off the parts from p_maputl into a separate header.
* consolidated all blockmap related data into p_blockmap.h
* split off the polyobject parts into po_man.h
2016-02-15 02:14:34 +01:00
Christoph Oelckers
939989dc8c
- fixed crash when trying to cache nodes for a map that has no two-sided walls and no minisegs.
...
Under these conditions there are no partner segs and the glsegextras array is NULL.
2016-01-31 01:05:31 +01:00
Christoph Oelckers
a2100410f2
- fix in GL nodes loader.
2015-04-28 22:13:50 +02:00
Christoph Oelckers
6e28963141
- added a sanity check to GL nodes loader for a potential crash.
2015-04-17 19:40:45 +02:00
Christoph Oelckers
84f8c299ce
- fixed: cached GL nodes should use ZGL3 format for maximum precision.
2015-02-26 12:08:52 +01:00
Randy Heit
d602b272b5
Never cache nodes for Build maps
2014-07-29 20:46:20 -05:00
alexey.lysiuk
20adcecb1d
Remove redundant saving of GL nodes if they were loaded from cache
2014-06-02 10:54:52 +02:00
alexey.lysiuk
3e7b0c2916
Fix crash when GL nodes file cannot be opened for writing
...
Report errors to console if nodes file cannot be opened or written
2014-06-02 10:53:29 +02:00
alexey.lysiuk
6aa56202b6
Fix two issues with GL nodes handling
...
Fix inability to load GL nodes for maps with names longer than 5 characters.
Fix inability to load GL nodes from external GWA files.
2014-03-15 13:17:22 +02:00
Randy Heit
0645053431
Add support for standard file paths on Windows.
...
- If the current user does not have write permissions for the directory
zdoom.exe is located in, use standard folder paths located in their home
directory instead. This is a common scenario when people put ZDoom into
Program Files. (Ironically, zdoom.ini used to be in AppData, buth then
people complained when it wasn't in the same directory as zdoom.exe, so
it got turned into zdoom-<user>.ini so at least it could retain some
multi-user support. I'm not sure when the AppData support was removed,
though, since it should have still been kept around for migrating
configs to the new name.)
2013-09-14 23:07:59 -05:00
Randy Heit
da02a44126
Consolidate special path functions into m_specialpaths.cpp
...
- Also remove CDROM_DIR while I'm at it.
2013-09-14 21:04:00 -05:00
Christoph Oelckers
db562142f0
- Fix c++11 literal suffix warnings / patch by Edward-san.
2013-07-22 22:25:44 +02:00
Christoph Oelckers
50c5dc62aa
- fixed typo in USDF spec.
...
- comment fixes taken from GZDoom.
- division by zero check in R_SetVisibility from GZDoom.
2013-06-23 10:28:12 +02:00
Randy Heit
20b48b7c65
- Remove now-unused lumpname variable.
...
SVN r4277 (trunk)
2013-05-25 02:06:34 +00:00
Braden Obrzut
1d4fbc05a5
- Fixed: glbsp nodes in a wad file inside a pk3 would not be loaded.
...
- Fixed: Typo from r4270.
SVN r4273 (trunk)
2013-05-20 20:39:34 +00:00
Randy Heit
7714a45e02
- Fixed: Because P_OpenMapData() now reopens the containing file for the map, P_LoadGLNodes() needs a new check for if the map came from a regular wad.
...
SVN r4136 (trunk)
2013-02-14 05:06:05 +00:00
Randy Heit
d77297e969
- Added support for loading ZGL3/XGL3 nodes.
...
- Added additional debug spew for the nodebuilder.
- Restore the nodebuilder's debug spew that was present in ZDBSP but not the internal version.
Use the CRT's printf for this output to ensure that it is identical to ZDBSP's output for the
same input.
SVN r3980 (trunk)
2012-12-07 06:16:07 +00:00
Braden Obrzut
b52c3238eb
- Instead of implementing the wad code in three places, use the normal resource code for map loading and GL node loading.
...
SVN r3897 (trunk)
2012-10-22 01:28:11 +00:00
Braden Obrzut
67f64081d0
- Changed unix config directory from ~/.zdoom to ~/.config/zdoom to comply with Ubuntu Software Centre guidelines.
...
SVN r3797 (trunk)
2012-07-30 09:31:04 +00:00
Randy Heit
ac0c1eb64b
- Fixed: If the znodes were based on a map with more vertexes than the one it is being loaded
...
for, reject them.
SVN r3477 (trunk)
2012-03-23 23:04:32 +00:00
Randy Heit
a408a913bc
- Added missing newline characters to [BSP rebuilding] messages in p_glnodes.cpp.
...
SVN r3337 (trunk)
2012-01-21 23:48:46 +00:00
Christoph Oelckers
893455ef61
- sync source with latest GZDoom:
...
Includes:
- Made the move tried from checking missile spawns ignore drop off height. This solves the Voodoo Gun ghostly civilian issue.
- Fixed: the NOTELEPORT flag is removed from Dehacked missiles which lose the MISSILE flag. This caused problems with certain special effects based on dehacked spawn cubes.
- Fixed: all Boom silent teleporters preserve relative height.
- support for palette independent particle colors if the renderer can handle them.
SVN r3329 (trunk)
2011-12-06 08:36:28 +00:00
Randy Heit
7714ee3ffd
- Fix more errors found with static code analysis.
...
SVN r3288 (trunk)
2011-09-01 22:57:49 +00:00
Christoph Oelckers
1993e969b7
- GCC warning fixes (GCC stupidity for the most part.)
...
SVN r3154 (trunk)
2011-02-19 08:59:43 +00:00
Christoph Oelckers
f6c1f359e1
- fixed: CreateCachedNodes did not free its file buffer.
...
SVN r3070 (trunk)
2010-12-21 08:39:58 +00:00
Braden Obrzut
b50007ecf6
- Fixed: Compilation errors on Mac OS X.
...
SVN r2824 (trunk)
2010-09-18 20:13:56 +00:00
Christoph Oelckers
09da387689
- added: If a map contains both extended normal and GL nodes the GL nodes loader will now load the prebuilt GL nodes.
...
SVN r2797 (trunk)
2010-09-16 14:26:56 +00:00
Randy Heit
399cfc4890
- Fixd MinGW compilation of p_glnodes.cpp.
...
SVN r2650 (trunk)
2010-08-31 04:35:13 +00:00
Christoph Oelckers
80f1a63cc9
- fixed: The textured automap node initialization code could crash on maps that only have single isolated sectors.
...
SVN r2618 (trunk)
2010-08-28 12:00:42 +00:00
Christoph Oelckers
76816f7da8
- disable check for hidden sectors because it does more harm than good.
...
- don't draw a textured automap in overlay mode.
SVN r2614 (trunk)
2010-08-27 17:49:27 +00:00
Christoph Oelckers
9a4abe0915
- merged automap branch into trunk.
...
SVN r2609 (trunk)
2010-08-27 15:20:05 +00:00