Commit graph

199 commits

Author SHA1 Message Date
divverent
2eb4247587 use warsow defaults for minimap in qfusion game
git-svn-id: svn://svn.icculus.org/netradiant/trunk@356 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
e0b28da14b qfusion now keeps aspect too
git-svn-id: svn://svn.icculus.org/netradiant/trunk@349 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
9f8d3f0a00 minimap: -boost = contrast boost (like in darkplaces)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@348 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
0375a83f2b new modes for minimap: -black = black on transparent, -white = white on transparent, -gray = white on black
git-svn-id: svn://svn.icculus.org/netradiant/trunk@347 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
75ba6b77ec use "minimaps" directory for warsow
git-svn-id: svn://svn.icculus.org/netradiant/trunk@346 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
597e5b5eeb allow not keeping aspect
git-svn-id: svn://svn.icculus.org/netradiant/trunk@345 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
3ae3b20987 make minimap parameters game dependent
git-svn-id: svn://svn.icculus.org/netradiant/trunk@344 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
e5d5b5a866 option -border in minimap
git-svn-id: svn://svn.icculus.org/netradiant/trunk@343 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
cf607a4986 msvc shut up
git-svn-id: svn://svn.icculus.org/netradiant/trunk@342 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
4f58d60bc3 remove two debug prints
git-svn-id: svn://svn.icculus.org/netradiant/trunk@341 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
ac7d31060b fix a 0.5 error
git-svn-id: svn://svn.icculus.org/netradiant/trunk@340 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
a04a5b5fda probabilistic sample dispersion for minimap -samples
git-svn-id: svn://svn.icculus.org/netradiant/trunk@339 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
f701f2e268 make -minmax work
git-svn-id: svn://svn.icculus.org/netradiant/trunk@336 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
bde58c1edd simplify shader decision logic in MiniMapSetupBrushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@335 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
1b926fe925 ignore nonsolid brushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@333 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
858727133f naming fixes, allow ordered supersampling
git-svn-id: svn://svn.icculus.org/netradiant/trunk@332 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
ac00716877 command line options for minimap
git-svn-id: svn://svn.icculus.org/netradiant/trunk@331 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
48d3475f81 be compatible to nexuiz for minimaps :P
git-svn-id: svn://svn.icculus.org/netradiant/trunk@330 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:55 +01:00
divverent
12f2c1032c -minimap is now a main option... to be used on already compiled BSPs
git-svn-id: svn://svn.icculus.org/netradiant/trunk@329 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 05:01:53 +01:00
divverent
3597ccd239 unfinished -minimap support in bsp.c, do not use yet, format is not correct yet
git-svn-id: svn://svn.icculus.org/netradiant/trunk@328 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 04:59:44 +01:00
divverent
cfeea25feb new options:
-bsp -deep - include detail brushes into BSP tree generation (but at lowest possible priority), but still ignore them for vis
-vis -mergeportals - only merge vis portals on the same plane, but don't merge clusters (much faster vis, but only slightly worse - will evaluate later why it's worse vis at all)

git-svn-id: svn://svn.icculus.org/netradiant/trunk@244 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 04:57:44 +01:00
divverent
9a44eb324f add an option -mergeportals to speed up vis, while not making the vis data MUCH worse
git-svn-id: svn://svn.icculus.org/netradiant/trunk@243 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 04:36:43 +01:00
divverent
23807ef4b3 some stuff by 27:
- better BSP tree splitting (experimental, option -altsplit)
- also compare shaders when sorting surfaces (should give slightly more fps)
- misc_model spawnflag 32: set vertex alpha from vertex color (for terrain blending)

git-svn-id: svn://svn.icculus.org/netradiant/trunk@240 61c419a2-8eb2-4b30-bcec-8cead039b335
2018-02-06 04:27:20 +01:00
Thomas Debesse
ba64802bb6 some fixes to issues pointed by @tkoeppe 2018-01-28 03:15:25 +01:00
Thomas Debesse
01d635a135 tools: reduce diff noise 2018-01-27 22:54:14 +01:00
Rudolf Polzer
4d3c983a16 fix a slight memory leak 2018-01-27 22:53:18 +01:00
Rudolf Polzer
39a8ddd6d9 q3map2: more warnings
imported from netradiant, original commit message:

> more warnings
2018-01-27 22:53:18 +01:00
rpolzer
58f0f9e557 q3map2/picomodel: remove some warnings
imported from netradiant, initial commit message:

> q3map2 is now waring free
2018-01-27 22:53:18 +01:00
Rudolf Polzer
5a40208a05 q3map2: fix some more warnings
imported from netradiant, initial commit message:

> fix some more warnings
2018-01-27 22:53:18 +01:00
TimePath
4d558e10c7 q3map2: remove some "unused but set variable" warning
imported from netradiant, initial commit message:

> Remove -Wno-unused-but-set-variable
2018-01-27 22:53:18 +01:00
Thomas Debesse
ff416cdfb9 q3map2: drop quakelive encrypted pk3 vfs 2018-01-27 02:26:30 +01:00
Thomas Köppe
d3d00345c5 [q3map2/{vis,visflow}.c] Reinstate offsetof-based size computation.
The logic isn't entirely legitimate, since fixedWinding_t is a
fixed-size type that is *sometimes* treated as a variable-sized type,
but it would require deeper refactoring to make this strictly
conforming. As it is, we just keep the offset computation as a
reasonable way to calculate the allocation size.

Fixes #583.
2018-01-22 16:03:21 +00:00
Timothee Besset
f00e8fd6a6 fix pk3dir/dpk/dpkdir code 2018-01-22 09:03:45 -06:00
Timothee Besset
67fa177673 cleanup more offsetof usage 2018-01-22 08:43:48 -06:00
Thomas Köppe
f061ce9990 Change winding_t, winding_accu_t and brush_t to use flexible array members rather than fixed-sized arrays.
The arrays were always meant to be variably sized, and objects are only ever allocated dynamically. Object size computations are simplified with this change.

Flexible arrays were introduced in C99, so this change means that we will require a C99-conforming compiler henceforth.
2018-01-22 02:23:23 +00:00
Timothee "TTimo" Besset
c0a5da84f0
Merge pull request #535 from illwieckz/unvanquished
initial unvanquished support
2018-01-21 15:09:53 -06:00
Timothee "TTimo" Besset
c92429820b
Merge pull request #533 from illwieckz/pk3dir
pk3dir support (+pk4dir/dpkdir support)
2018-01-21 15:08:15 -06:00
Timothee Besset
08b44c433d Disable the deprecated functions warning 2018-01-21 14:59:29 -06:00
Timothee Besset
fc33f1818c Merge branch 'master' of github.com:TTimo/GtkRadiant 2018-01-21 14:47:38 -06:00
Timothee Besset
e08d6b6429 Visual Studio 2017. Fixed q3map2_urt 64 bit compilation also. 2018-01-21 14:47:06 -06:00
Thomas Köppe
ec0907f7ca Use standard "offsetof" facility rather than manual code involving null pointer dereferences. 2018-01-21 01:54:24 +00:00
Timothee "TTimo" Besset
3c49dd161d
Merge pull request #576 from tkoeppe/bugfixes
Bugfixes in sciptlib.c and map.c
2018-01-20 15:35:53 -06:00
Timothee "TTimo" Besset
61d14dfd10
Merge pull request #578 from Pan7/donotalias
Extra donotenterlarge surfaceparm for nonotenterlarge
2018-01-16 08:59:54 -06:00
Pan
911d5562f6 Extra donotenterlarge surfaceparm for nonotenterlarge 2018-01-16 13:12:13 +01:00
Thomas Köppe
760623150e [q3map2] Unwind script stack in case of script loading error.
Also avoid type punning read into char* variable (even though char* and void* happen to be layout-compatible).
2018-01-08 15:18:40 +00:00
Thomas Köppe
606d72adf2 [q3map2] Fix errnoneous plane access if plane was not found 2018-01-08 15:17:58 +00:00
Thomas Debesse
da38f7754c [q3map2] reduce diff noise with netradiant tree 2018-01-07 21:16:53 +01:00
neumond
eee8d14261 q3map2: Add -game unvanquished 2018-01-07 21:16:53 +01:00
Thomas Debesse
c99c1abd9b [q3map2] import pk3dir/dpk/dpkdir support from netradiant
- load every pk3dir/dpkdir as VFS
- increase VFS_MAXDIR
- dpk/dpkdir is not versionned yet
2018-01-07 21:09:52 +01:00
Timothee "TTimo" Besset
94849adc93
Merge pull request #534 from illwieckz/noradiosity
Proper working with noradiosity 1 lights
2018-01-07 13:06:03 -06:00