Commit Graph

88 Commits

Author SHA1 Message Date
divverent 0298900c31 command line options for minimap
git-svn-id: svn://svn.icculus.org/netradiant/trunk@331 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 10:52:11 +00:00
divverent 633f825b61 be compatible to nexuiz for minimaps :P
git-svn-id: svn://svn.icculus.org/netradiant/trunk@330 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-26 09:42:48 +00:00
divverent 97449bed37 -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
2009-04-26 09:34:11 +00:00
divverent 852c9b4889 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
2009-04-25 21:22:22 +00:00
divverent af0dd0ca3b bugfix in latest change
git-svn-id: svn://svn.icculus.org/netradiant/trunk@327 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 18:55:20 +00:00
divverent e8fcd30f80 less spammy vis output, more useful
git-svn-id: svn://svn.icculus.org/netradiant/trunk@326 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 18:52:56 +00:00
divverent e6fa8d7f3c less spammy vis output
git-svn-id: svn://svn.icculus.org/netradiant/trunk@325 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 16:49:14 +00:00
divverent d909e5b8c7 patches by jal: fix some warnings, and spawnflags 64 on misc_model to not smooth the normals
git-svn-id: svn://svn.icculus.org/netradiant/trunk@324 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 16:32:45 +00:00
divverent a28f548b54 ncrease MAX_MAP_VISIBILITY
git-svn-id: svn://svn.icculus.org/netradiant/trunk@323 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-21 14:50:45 +00:00
divverent 68a9e95faf fix two msvc compile errors
git-svn-id: svn://svn.icculus.org/netradiant/trunk@319 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-13 19:51:54 +00:00
divverent 185afa1e25 fix a crash in RBSP reading
git-svn-id: svn://svn.icculus.org/netradiant/trunk@318 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-10 19:48:07 +00:00
divverent 4ae10cbf8d add alias _shadeangle to _smoothnormals
git-svn-id: svn://svn.icculus.org/netradiant/trunk@315 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-10 13:56:55 +00:00
divverent 57d8b2d701 more portals on leaf
git-svn-id: svn://svn.icculus.org/netradiant/trunk@249 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-05 18:19:14 +00:00
divverent ee826a7843 make it output nice looking origin brushes
git-svn-id: svn://svn.icculus.org/netradiant/trunk@248 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-05 16:32:53 +00:00
divverent cc213a0182 crude origin brush generation when decompiling
git-svn-id: svn://svn.icculus.org/netradiant/trunk@247 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-05 15:46:06 +00:00
divverent 053a016f5c fix decompiling crash
git-svn-id: svn://svn.icculus.org/netradiant/trunk@245 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-04 21:13:45 +00:00
divverent e2b0ecdcfb 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
2009-04-04 11:56:32 +00:00
divverent 9851662e8d 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
2009-04-03 13:51:31 +00:00
divverent 889347e958 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
2009-03-31 06:28:17 +00:00
divverent f560e2703b apply all of VorteX's changes except deviance (that one sucks :P)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@237 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-29 18:08:19 +00:00
divverent 7e4c830250 VorteX: KeyExists function, cast shadows from func_wall by default in prophecy and dq
git-svn-id: svn://svn.icculus.org/netradiant/trunk@236 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-29 17:17:08 +00:00
divverent c3fb8e6e16 already apply some safe changes:
emitmetastats
_ls


git-svn-id: svn://svn.icculus.org/netradiant/trunk@235 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-28 21:48:25 +00:00
divverent beb45fadfa add a "todo item" directory containing VorteX's patches
git-svn-id: svn://svn.icculus.org/netradiant/trunk@234 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-28 21:38:13 +00:00
divverent d1f9bcaef2 fix q3map2 -scale command line parsing
git-svn-id: svn://svn.icculus.org/netradiant/trunk@233 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-28 15:04:42 +00:00
divverent afe3aebe6f fix a stupid error in moving paths
git-svn-id: svn://svn.icculus.org/netradiant/trunk@226 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-23 13:48:12 +00:00
divverent b222e12c36 Q_mkdir: create parent directories first
git-svn-id: svn://svn.icculus.org/netradiant/trunk@225 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-22 11:54:48 +00:00
divverent 4a5b039ba1 new argument -celshader, for cel shading without changing the .map file
git-svn-id: svn://svn.icculus.org/netradiant/trunk@224 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-20 17:01:59 +00:00
divverent ecfd6813e3 remove two mysterious crashes (although I don't know why it was broken to begin with)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@223 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-20 16:50:58 +00:00
divverent 3f92bea422 add an option -fs_homebase to override homebase path in the game pack (for use by gamepacks so they need no specific q3map2 change to use the right home dir)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@221 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-16 12:26:23 +00:00
divverent 8b446e3fbe fix two other bugs in the same function
git-svn-id: svn://svn.icculus.org/netradiant/trunk@200 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 15:49:25 +00:00
divverent 05ec869106 fix a typo on tjunction.c that makes surface "fixing" ineffective (any surface that has, at one point, two equal vertices gets removed entirely, fixing is performed but the fixed surface is never used)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@199 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 15:41:21 +00:00
divverent 6a04feabc5 try to eliminate MAX_MAP_PLANES limits
git-svn-id: svn://svn.icculus.org/netradiant/trunk@198 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 15:24:29 +00:00
divverent cf6c8123dd -lightmapdir option
git-svn-id: svn://svn.icculus.org/netradiant/trunk@197 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-25 14:36:20 +00:00
divverent 9bd5bdc258 new insane -tex option to q3map2 -scale; simulates turned off "texture lock" when scaling.
git-svn-id: svn://svn.icculus.org/netradiant/trunk@196 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-23 13:52:47 +00:00
divverent 1fe92f1474 support non-uniform -scale
git-svn-id: svn://svn.icculus.org/netradiant/trunk@193 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-15 09:53:49 +00:00
divverent d17571c17c allow non-uniform -scale
git-svn-id: svn://svn.icculus.org/netradiant/trunk@192 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-15 09:41:31 +00:00
divverent e7f13faa4b fix multiple bugs with the limit extension
git-svn-id: svn://svn.icculus.org/netradiant/trunk@191 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-14 18:14:30 +00:00
divverent 7f9ebdace7 fix hang in tjunction.c
git-svn-id: svn://svn.icculus.org/netradiant/trunk@189 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-14 16:32:12 +00:00
divverent 257c44e531 entirely remove MAX_ORIGINAL_EDGES and MAX_EDGE_LINES
git-svn-id: svn://svn.icculus.org/netradiant/trunk@187 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-12 06:37:47 +00:00
divverent 5ad75e84a3 16x MAX_EDGE_LINES, MAX_ORIGINAL_EDGES
git-svn-id: svn://svn.icculus.org/netradiant/trunk@186 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-10 18:53:04 +00:00
divverent 36240b8016 Some limits removed by dynamically expanding the arrays using realloc:
-#define        MAX_MAP_MODELS                  0x400
-#define        MAX_MAP_BRUSHES                 0x10000
-#define        MAX_MAP_SHADERS                 0x800           //%     0x400   /* ydnar */
-#define        MAX_MAP_NODES                   0x20000
-#define        MAX_MAP_BRUSHSIDES              0x100000        //%     0x20000 /* ydnar */
-#define        MAX_MAP_LEAFFACES               0x100000        //%     0x20000 /* ydnar */
-#define        MAX_MAP_LEAFBRUSHES             0x40000



git-svn-id: svn://svn.icculus.org/netradiant/trunk@185 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-10 18:37:56 +00:00
divverent 6e3846c8c3 retain _q3map2_version worldspawn tag when using -onlyents
git-svn-id: svn://svn.icculus.org/netradiant/trunk@184 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-10 06:30:50 +00:00
divverent 3aca84b7e5 q3map2: inject the invocation commandline into keys of the worldspawn entity (to allow easier recompiling of the map)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@181 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-08 19:35:57 +00:00
divverent e467f40d4a it now compiles on OS X, but does it work?
git-svn-id: svn://svn.icculus.org/netradiant/trunk@169 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-09 22:44:43 +00:00
divverent 11323f121c remove two debug prints
git-svn-id: svn://svn.icculus.org/netradiant/trunk@151 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-06 06:57:49 +00:00
divverent 64d4a06eba new command: regroup entities.
Moves all selected brushes into the selected entity.
Usage:

- Select brush from entity
- Hit Ctrl-Alt-E
- Select some other brush
- Regroup

The other brush will get added to the entity.

- Select brush from entity
- Regroup

The brush will get removed from the entity, and moved to worldspawn.



git-svn-id: svn://svn.icculus.org/netradiant/trunk@147 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-02 08:40:46 +00:00
divverent c75784be71 if an origin brush exists, ALSO take into account the "origin" key (add the two)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@143 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-01-01 12:14:01 +00:00
divverent 17a441b49d bug fix, sorry, mikeeusa... but make dotproduct*scale actually behave the intended way.
In existing shaders, replace

dotProduct2scale ( x y z min max )

by

dotProduct2scale ( x y z max 0 )

because that's what the old code actually caused


git-svn-id: svn://svn.icculus.org/netradiant/trunk@139 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-12-10 15:21:33 +00:00
divverent 1c46929cfd fix a warning; NULL out the unused faces of misc_models (apparently this changes nothing)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@137 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-12-09 14:57:03 +00:00
divverent de31a1ec98 add forgotten dotProductScale
git-svn-id: svn://svn.icculus.org/netradiant/trunk@135 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-12-09 10:35:40 +00:00