Commit Graph
468 Commits
Author SHA1 Message Date
Mario e0b3d0ac5a Merge branch 'sysfprintf' into 'master'
import sys_fprintf changes by Pan7 from GtkRadiant tree

See merge request !35
2017-07-10 17:13:28 +00:00
Mario 96a933aef3 Merge branch 'dpkdir' into 'master'
add pk3dir and dpkdir support

See merge request !39
2017-07-10 17:12:52 +00:00
Mario d2944c4a5c Merge branch 'unvdeluxe' into 'master'
[q3map2] dæmon engine expects model space deluxe maps

See merge request !40
2017-07-10 17:08:38 +00:00
Mario 84a1d9557f Merge branch 'importfixes' into 'master'
[q3map2] import fixes from Thomas Köppe

See merge request !33
2017-07-10 17:03:47 +00:00
Thomas Debesse 3935875f88 do not copypaste zlib
unzip.c contains many bits from an older zlib which mismatches with newer zlib loaded by libpng.
This fix just make unzip.c relying on zlib like libpng does, without copypasting it.

Thanks to `Ishq who figured out the issue.
2017-04-26 02:39:47 +02:00
Thomas Debesse 814b68493f [q3map2] unvanquished expects white minimap 2017-04-23 03:24:27 +02:00
Thomas Debesse f015089e73 [q3map2] dæmon engine expects model space deluxe maps 2017-04-20 19:30:46 +02:00
Thomas Debesse f012273544 introduce dpk / dpkdir support
- do not rely on game name but on new dpk format
  to check for DEPS and versions
- pk3 / pk3dir support is for legacy paks only
- add pk4dir support for free (legacy paks)

replace unvanquished references by daemon ones
in function/variable name for versionned vfs code
2017-04-09 14:52:00 +02:00
maek 4f135b96bb Fix FloodEntities origin-less check 2017-03-24 10:15:47 +00:00
Matthias Krüger 72e497d809 q3map2: don't store lightmap if the last bounce computation ran empty. 2017-03-12 22:45:13 +01:00
Thomas Debesse d8449157fd More: Using Sys_FPrintf with SYS_WRN and SYS_ERR
This commit do the same as “Using Sys_FPrintf with SYS_WRN and SYS_ERR” commit by @Pan7 (a288b9c) for occurrences that were left untouched (tools/ subtree only).
2016-10-15 20:16:51 +02:00
Pan7 a288b9c436 Using Sys_FPrintf with SYS_WRN and SYS_ERR 2016-10-14 06:01:07 +02:00
Timothee Besset e3f1afe0e8 phrasing.. 2016-10-14 05:57:53 +02:00
Thomas Köppe 1337e610e6 [tools/quake3/q3map2] Fix memset size bugs 2016-10-14 02:40:14 +02:00
Thomas Köppe fed7a21e60 [quake3/q3map2/brush.c] Fix misnamed variable 2016-10-14 02:40:02 +02:00
Thomas Köppe 12e838fba5 [tools/quake3/q3map2/light{,maps}_ydnar.c] Fix float-to-int conversion by preventing NaN values 2016-10-14 02:38:11 +02:00
Thomas Köppe 15d527b42a [quake3/common/aselib.c] Remove unused local variables 2016-10-14 02:26:31 +02:00
Thomas Köppe 0992bd78a0 [quake3/q3map2/brush.c] Fix arithmetic bug 2016-10-14 02:26:22 +02:00
Thomas Köppe b507e1246e [unzip.c{,pp}] Change zc{alloc,free} to internal linkage 2016-10-14 02:22:46 +02:00
Thomas Debesse b062569fee revert "allocate bigger first"
partial revert of d4fa608
see #54

"allocate bigger first" change was meant to save allocation time keeping same lightmap file size, actually wastes both time and size
2016-10-07 14:57:43 +02:00
Victor Luchits 3012630575 -game qfusion updates 2016-07-14 02:01:41 +03:00
Victor Luchits 82acc96609 Fix default minimum/ambience color for sRGB lightmaps 2016-06-28 12:03:22 +03:00
TimePath 3ecc3113ae Merge remote-tracking branch 'illwieckz/lokipaths' 2016-04-14 17:04:11 +10:00
Thomas Debesse 25e4f9e8cf fix undocumented unexpected LokiInitPaths 2016-04-14 08:56:16 +02:00
TimePath ba09e304aa Merge remote-tracking branch 'illwieckz/unvanquished' 2016-04-14 16:06:34 +10:00
Thomas Debesse b81adbf0da add unvanquished game support to q3map2
- import game_unvanquished.h from daemonmap
- tweak default values
2016-04-14 05:20:40 +02:00
TimePath 85351b6e7f Merge remote-tracking branch 'illwieckz/keepshader' 2016-04-14 13:02:09 +10:00
TimePath 8a00fda721 Merge remote-tracking branch 'illwieckz/exportents' 2016-04-14 12:43:26 +10:00
Thomas Debesse 828804e6eb do not delete q3map2_*.shader on minimap generation 2016-04-14 04:38:01 +02:00
Thomas Debesse 7b9faac5a0 add help for -exportents 2016-04-14 04:35:40 +02:00
Chris Brooke 748436778d Added -exportents to q3map2. 2016-04-14 04:35:37 +02:00
TimePath 8bc246a013 Merge remote-tracking branch 'illwieckz/fastallocate' 2016-04-14 12:13:48 +10:00
TimePath 8b22a94541 Merge remote-tracking branch 'illwieckz/pakpath' 2016-04-14 12:06:19 +10:00
TimePath a68115c805 Merge remote-tracking branch 'illwieckz/outoftree' 2016-04-14 12:00:43 +10:00
Thomas Debesse d4fa608be5 lightmap allocation speed-up, add -fastallocate
- Allocate large lightmaps first to speed up the allocation process
- Add `-fastallocate` option to trade lightmap size against allocation time (useful with hi res lightmaps on large maps: reduce allocation time from days to minutes for only some extra bytes:
- If fast allocation, skip lightmap files that are more than 90% complete
- If fast allocation, do not test allocation on every pixels, especially for large lightmaps

Thanks to Kangz (Corentin Wallez) for his precious help and his kind availability.
2016-04-14 03:55:49 +02:00
Thomas Debesse 3b0aa4834f add -fs_pakpath option to q3map2 to add custom path to assets, fix #29 2016-04-14 03:53:31 +02:00
Thomas Debesse b13a86abcf enable q3map2 out of tree compilation 2016-04-14 03:44:05 +02:00
TimePath 96cdce5ea9 Merge remote-tracking branch 'illwieckz/split' into master 2016-04-14 11:28:59 +10:00
TimePath fec7e30005 Add CMakeLists.txt 2016-04-14 11:10:09 +10:00
Thomas Debesse 3df12612a9 fix -analyze q3map2 help 2016-04-14 01:00:16 +02:00
Thomas Debesse 805a231cdc split fixaas stuff from q3map2 2016-04-14 01:00:15 +02:00
Thomas Debesse 8b4e3c88c3 split bsp analyze/info/scale stuff from q3map2 2016-04-14 01:00:15 +02:00
Thomas Debesse 8658d622ef split help stuff from q3map2 2016-04-14 01:00:15 +02:00
Thomas Debesse f73901765f split bsp conversion stuff from q3map2 2016-04-14 01:00:15 +02:00
Thomas Debesse 10f758e6dd split minimap stuff from q3map2 2016-04-14 01:00:15 +02:00
Mattia Basaglia 2bbbfad1bc Fix a horrible bug in q3map2
This function passed a int* instead of a void** causing local variables to be overwritten,
which in turn caused the program to crash.
2015-07-21 16:26:18 +02:00
Mattia Basaglia 13d728bd47 Add help options to q3map2
Closes #9
2015-07-20 11:37:51 +02:00
SiPlus c39d9bef62 KTX support - something Git didn't want to commit 2015-05-30 22:06:19 +03:00
Rudolf Polzer 214d4c94ce Found why RadSubdivideDiffuseLight happens with !bouncing. Trying
another one now.
2013-09-24 14:51:54 +02:00
Rudolf Polzer a78573e0e9 HAHA. Fix a bug that prevented ANY non-sRGB builds with the current default build menu. For ages now. Also addd some attempt to track down a bounce issue. 2013-09-24 12:45:47 +02:00