Commit graph

1394 commits

Author SHA1 Message Date
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
Timothee Besset
79605bbc69 fix build extras URLs 2018-02-03 18:00:51 -06:00
Timothee Besset
6f5e9a39b4 bump version 2018-02-03 17:48:17 -06:00
Timothee Besset
6ab305d626 fix the --no-packs stuff 2018-02-03 17:39:38 -06:00
Timothee "TTimo" Besset
a26bd5a9aa
Merge pull request #593 from illwieckz/nopacks
add command line option to not download game packs
2018-02-03 13:49:26 -06:00
Timothee "TTimo" Besset
1b755c86b5
Merge pull request #592 from illwieckz/diffnoise
some fixes to issues pointed by @tkoeppe
2018-02-03 13:48:59 -06:00
Timothee "TTimo" Besset
b6b83ac26a
Merge pull request #597 from Pan7/cubicclip
Disable cubic clipping by default
2018-02-03 13:47:40 -06:00
Pan
9f52d441d9 Disable cubic clipping by default 2018-02-03 18:46:47 +01:00
Jay Dolan
8a4815d63b Remove unnecessary cast in PicoLoadFunc 2018-02-02 07:14:31 -05:00
Jay Dolan
c655d234d5 Fix OS X compile error for pico function prototype. 2018-02-01 12:01:50 -05:00
Pan7
49a90dca7e
Merge pull request #596 from illwieckz/unv-src-mod
unvanquished "src" mod for unvanquished mapping from source
2018-02-01 13:01:44 +01:00
Thomas Debesse
a88505ebe3 unvanquished "src" mod for unvanquished mapping from source 2018-01-31 19:51:19 +01:00
Thomas Debesse
ba64802bb6 some fixes to issues pointed by @tkoeppe 2018-01-28 03:15:25 +01:00
Thomas Debesse
0392cb1e56 add command line option to not download game packs 2018-01-28 03:10:45 +01:00
Timothee "TTimo" Besset
e3bf363a63
Merge pull request #591 from illwieckz/diffnoise
tools: reduce diff noise with NetRadiant
2018-01-27 16:29:58 -06: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
Timothee Besset
b0d239fd81 Merge branch 'master' of github.com:TTimo/GtkRadiant 2018-01-27 15:14:51 -06:00
Timothee Besset
0ea61635b6 Load .MAP as well, in addition to .. .map 2018-01-27 15:14:42 -06:00
Timothee "TTimo" Besset
a2bdc7ca43
Merge pull request #563 from illwieckz/emptydir
do not list empty shader/texture directories
2018-01-27 14:24:08 -06:00
Timothee "TTimo" Besset
88b992a9eb
Merge pull request #562 from illwieckz/notex
always provide notex
2018-01-27 14:18:24 -06:00
Timothee "TTimo" Besset
beaf72c754
Merge pull request #585 from illwieckz/fixurl
allow to open https:// urls
2018-01-27 14:14:56 -06:00
Timothee "TTimo" Besset
1dfec8f7a8
Merge pull request #588 from Pan7/eangle
Angle pointer by entity definition
2018-01-27 14:08:55 -06:00
Timothee "TTimo" Besset
d5329c0636
Merge pull request #589 from illwieckz/dropqlpk3
q3map2: drop quakelive encrypted pk3 vfs
2018-01-27 14:07:52 -06:00
Timothee "TTimo" Besset
0084650867
Merge pull request #590 from illwieckz/nodlpack
don't download gamepacks on “scons -c” fix #477
2018-01-27 14:07:25 -06:00
Thomas Debesse
4f6d5b611d don't download gamepacks on “scons -c” fix #477 2018-01-27 02:40:03 +01:00
Thomas Debesse
ff416cdfb9 q3map2: drop quakelive encrypted pk3 vfs 2018-01-27 02:26:30 +01:00
Pan
784e2de4e3 angle pointer by entity definition 2018-01-27 00:54:01 +01:00
Thomas Debesse
0fd04ccf85 always provide notex
This adds a special VFS providing textures/radiant/notex and shadernotex.

This way, game packs does not have to provide them using the hardcoded
textures/radiant/[shader]notex path (some games prefer other prefixes).

It also allows GtkRadiant to not crash at startup when a wrong game
path is set.

It would also prevents radiant to fail where it tries to load these
textures on very early stage when the whole VFS is not yet loaded,
for example on pk3dir scenario.

The notex and shadernotex textures come from Unvanquished's tex-common
package and are distributed under public domain-like CC0 1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/

See: https://github.com/UnvanquishedAssets/tex-common_src.dpkdir/blob/master/about/tex-common.txt
2018-01-23 00:18:45 +01:00
Thomas Debesse
574dd47394 allow to open https:// urls 2018-01-22 20:06:02 +01:00
Timothee "TTimo" Besset
95ae5af82b
Merge pull request #584 from illwieckz/sconsfix
scons: do not look for vfsqlpk3, make diff easier
2018-01-22 13:01:13 -06:00
Thomas Debesse
7660023c96 scons: do not look for vfsqlpk3, make diff easier
- vfsqlpk3 was removed, so scons does not have to build it and don't
  fail anymore.
- when I was maintaining offline unvanquished branch I got so much pain
  each time I rebased on master because of stupid merge conflict since
  git knows well how to merge line addition/deletion but not to merge
  addition/deletion within the same line… setting each gamepack names
  on its own line will save hours of manual stupid merge solve to people
  wanting to add games in the future.
- I also added a comma on another list because python allows to put comma
  on last element and that's great to reduce diff noise (adding another
  line after the last one does not require to modify the one that was
  the last one before).
2018-01-22 19:26:53 +01:00
Thomas Köppe
e1eeefac58 [pico] Add missing header inclusion 2018-01-22 16:52:52 +00: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
921dc5083c remove rogue INT_MIN definition 2018-01-22 08:52:06 -06:00