Christian Ratzenhofer
075e39d582
Check if games folder exists, and copy shaderlist for Q3 if missing
2012-03-26 13:57:19 +02:00
Timothee "TTimo" Besset
f3eedecd09
Merge pull request #19 from merlin1991/scons-update
...
Scons update
2012-03-25 16:33:16 -07:00
Christian Ratzenhofer
5b54de9bf2
updated Windows compile guide to include git
...
and the newest changes to the scons script (no more full blown msys)
2012-03-26 01:13:24 +02:00
Christian Ratzenhofer
d4f7c67be1
Remove calls to wget unzip and cp in the setup target of scons
...
This allows to build on windows without msys
2012-03-26 01:12:56 +02:00
Timothee TTimo Besset
6ac1b9cfd3
Merge branch 'master' of github.com:TTimo/GtkRadiant
2012-03-22 22:59:40 -05:00
Timothee TTimo Besset
a5a1d8287b
new version of glib is touchy
2012-03-22 22:57:36 -05:00
Timothee "TTimo" Besset
02e6ff2dcb
Merge pull request #6 from bnoordhuis/cleanup
...
cleanup + q3map2 crash fix
2012-03-18 06:52:13 -07:00
Ben Noordhuis
d3e3a8e063
build: re-enable optimizations in release builds
...
Commit f961a54 fixes the q3map2 crash at startup so it's safe to enable
optimizations again.
2012-03-18 02:18:26 +01:00
Ben Noordhuis
f961a547ff
q3map2: bump MAX_OS_PATH to 4096
...
Fixes a "buffer overflow detected" abort when compiled with _FORTIFY_SOURCE=1.
The realpath(3) function in glibc checks if the destination buffer is large
enough to hold up to PATH_MAX characters and aborts if that is not the case.
PATH_MAX doesn't have to be defined so assume that it's equal to 4096.
We should really be using pathconf(_PC_PATH_MAX) instead of a hard-coded value
but that means we can no longer use static buffers to hold paths.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
3a959349ac
q3map2: harden UNIX path sniffer against buffer overflows
2012-03-18 02:17:09 +01:00
Ben Noordhuis
808e1c9f6f
q3map2: fix dangling pointer dereference
...
`last` was used but not initialized.
Also fixes a segmentation fault if PATH is not in the environment.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
d7e9dab03d
q3map2: getpwent() result may not be persistent
...
Use getpwuid_r() instead and store the path in a static buffer.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
c2be26a9bd
q3map2: add safe string copy functions
...
* Q_strncpyz()
* Q_strncat()
* Q_strcat()
Guard against buffer overruns, always zero terminate the result.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
997811d430
q3map2: fix bogus empty string checks
...
qdir is an array, not a pointer, so `if (qdir)` is always true.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
ca8d032cfb
fix warning: unused variable 'foo'
2012-03-18 02:17:09 +01:00
Ben Noordhuis
cd725d680a
fix warning: array subscript is above array bounds
...
Simplify and flatten the code while we're at it.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
3311b00ae6
fix warning: format not a string literal and no format arguments
2012-03-18 02:13:11 +01:00
Ben Noordhuis
7c4e1f1fcb
.gitignore build artifacts
2012-03-18 02:13:11 +01:00
Timothee TTimo Besset
830125fad0
uncrustify! now the code is only ugly on the *inside*
2012-03-17 15:01:54 -05:00
Timothee TTimo Besset
515673c08f
trash a bunch of outdated and confusing things
2012-03-17 14:07:19 -05:00
git-svn-migrate
31c68a8299
Convert svn:ignore properties to .gitignore.
2012-03-16 22:20:47 -05:00
Rudolf Polzer
dba712acf6
query the online, not total, CPUs in case some were shut off
2012-03-03 17:31:03 +01:00
Lauri Kasanen
123f3fd962
q3map2: Small cleanups
...
Move one variable to the section it is used in, and remove one unnecessary
NULL check.
If si were NULL at that point, we would have segfaulted ages ago.
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
2012-03-03 17:28:34 +01:00
Lauri Kasanen
053ca4041b
Automatically determine the number of threads on linux
...
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
2012-03-03 17:28:34 +01:00
Lauri Kasanen
f02a56a694
Add gitignore
...
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
2012-03-03 17:28:34 +01:00
Rudolf Polzer
0d10413fe0
fix how glib is included
2012-03-01 14:43:00 +01:00
Rudolf Polzer
6bc28ad466
Merge remote-tracking branch 'origin/ailmanki/et-engineaftercompile'
2012-03-01 12:15:33 +01:00
Rudolf Polzer
aa9e315624
also include libjpeg8 here
2012-03-01 11:25:48 +01:00
Rudolf Polzer
ed96b4352a
no longer use an included libjpeg copy. Use the system one.
2012-03-01 10:35:32 +01:00
Rudolf Polzer
747e474c40
remove internal libjpeg6 copy (patch by monad)
2012-03-01 10:24:29 +01:00
ailmanki
2b0e61ede1
Fix for the fix
2012-02-26 11:24:30 +01:00
ailmanki
2af0e49fc3
Fixed map not starting after compile in Enemy-Territory.
2012-02-26 11:11:19 +01:00
Rudolf Polzer
affe117815
QuakePack seems to be GPL now
2012-02-21 22:59:01 +01:00
Rudolf Polzer
e8f94f12dd
Merge remote-tracking branch 'origin/divVerent/leak-fix'
2012-02-19 18:40:59 +01:00
Rudolf Polzer
95e8ef16a2
fix another import bsp bug
2012-02-19 18:39:03 +01:00
Rudolf Polzer
043b4d7705
fix import decompiling
2012-02-19 18:27:45 +01:00
rambetter
75220350bc
Switching order of picoModuleLWO and picoModuleOBJ as a quick
...
and dirty workaround to problems in libs/picomodel/pm_obj.c which
passes files that aren't Wavefront ASCII.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@491 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-02-14 18:31:09 +00:00
Rudolf Polzer
312f954913
also select the best entity when a leak was found
2012-02-14 13:24:05 +01:00
Rudolf Polzer
11fdc6f6d0
.lin files: find optimal path from leak entity
2012-02-14 13:19:44 +01:00
Rudolf Polzer
bca4840507
another experimental change: better handle leaky maps
2012-02-14 11:35:59 +01:00
Rudolf Polzer
917677bab9
fix drawindexes crash when loading BSP files
2012-02-13 21:09:11 +01:00
Rudolf Polzer
57ee804448
Merge branch 'divVerent/MAX_MAP_DRAW_INDEXES'
2012-02-13 15:51:10 +01:00
Rudolf Polzer
f8bfc8d1df
fix crash in -bsp
2012-02-13 11:22:07 +01:00
Rudolf Polzer
3a7c77d720
unlimit MAX_MAP_DRAW_INDEXES
2012-02-12 19:00:55 +01:00
ailmanki
8c8ef16918
bobtoolz fixes to patch merging
2012-02-11 16:45:17 +01:00
Rudolf Polzer
d5d6e98191
add option -nofastpoint; make old buggy behaviour default as it is typically a lot faster. To not use fast point lights, pass -nofastpoint but not -fast.
2012-02-09 11:28:49 +01:00
Rudolf Polzer
8dcd2d22e6
slow down non-fast operation but make it more accurate by not using falloff tolerance at all when -fast is not used
2012-02-09 10:51:09 +01:00
Rudolf Polzer
c30d367a12
FIXME comment because falloffTolerance is checked in non-fast too for point lights, should we really do that? Maybe add a -slow then...
2012-02-09 10:41:17 +01:00
Rudolf Polzer
0c44cbd7ea
fix falloff tolerance for sRGB
2012-02-09 10:41:09 +01:00
Rudolf Polzer
c60d22dd26
swap values 0 and 1 for -exposure (now -exposure 0 does nothing, -exposure 1 did what 0 did before)
2012-02-09 10:40:48 +01:00