Alex Lo
76ea7385dd
Fixed a number of out of bounds accesses.
...
Visual Studio's static code analyser found a number of out of bounds array
accesses. This commit fixes a number of them as well as a few other problems
the analyser brought up.
This also fixes #1 in the issue tracker.
2013-11-01 00:24:58 +00:00
Timothee "TTimo" Besset
5aa744b026
misc fixes, reviewed the urt q3map2 code
2013-09-07 17:39:31 -05:00
TTimo
666847b0ce
switch to xp compatible compiler toolchain, add/fix an archive and upload script for the VM builder
2013-08-24 22:50:12 +00:00
Chris Brooke
65175c80b1
oops forgot q3map2_urt (added -exportents)
2013-07-15 07:16:51 +01:00
Chris Brooke
3e5bc317d0
Added -exportents to q3map2.
2013-07-15 04:58:15 +01:00
Timothee Besset
0241ec6d9b
put q3map2.exe x64 in install/x64, and copy the dependent DLLs
2013-06-07 05:13:20 +01:00
Timothee Besset
5d0b2a2b94
fix crashes: libxml2 static linking, turn off libintl stuff
2013-06-03 03:23:11 +01:00
Timothee Besset
7c1f101a29
spitting x64 q3map2 now
2013-06-02 00:56:33 +01:00
Timothee Besset
f397e4a8d6
link libxml2
2013-06-01 23:39:34 +01:00
Timothee Besset
9f425c0c72
add include path for gdk-pixbuf
2013-06-01 23:26:37 +01:00
Timothee Besset
1ec0ec94ba
switching to newer gtk and libxml. wip
2013-06-01 23:05:35 +01:00
Timothee "TTimo" Besset
ca29808460
missed those - q3map2 x64
2013-05-30 03:22:29 -05:00
Timothee "TTimo" Besset
2ca658fe9f
convert projects to msvc 2012
2013-05-23 20:44:41 -05:00
Timothee 'TTimo' Besset
05e48b2d4e
add q3data to the windows project
2012-10-07 14:22:42 -05:00
Timothee 'TTimo' Besset
df729933f8
compile q3data on Linux
2012-10-07 11:52:47 -05:00
Timothee 'TTimo' Besset
2bd4ea84f0
better QL Linux homepath config
2012-08-29 21:43:19 -05:00
Timothee 'TTimo' Besset
c692d7b5c5
point to the right QL homepath
2012-08-29 20:49:09 -05:00
Chris Brooke
9b37f2e205
Ok bspc works now for quakelive
2012-07-31 18:01:54 +01:00
Timothee "TTimo" Besset
06ac3b72a5
Merge pull request #104 from QBall147/bspc
...
Added bspc to the solution (with initial ql support)
2012-07-30 19:10:32 -07:00
Chris Brooke
bc1f18b574
Added bspc to the solution (with ql support)
2012-07-30 12:23:40 +01:00
Chris Brooke
2101cf6ae7
QuakeLive PK3 support for Q3Map2
2012-07-27 17:46:54 +01:00
Eric Wasylishen
29df45359d
Remove includes for glib/gconvert.h and glib/gmem.h, according to http://developer.gnome.org/glib/stable/glib-compiling.html it is an error to include individual hedaers starting with glib 2.32
2012-07-21 12:21:58 -04:00
Timothee 'TTimo' Besset
3311e3a0da
renaming q3map2.urt -> q3map2_urt
2012-07-07 17:39:27 -05:00
TTimo
8464aef05e
more fixes
2012-07-07 10:35:17 -05:00
TTimo
8cb9ca9031
fix/update the urt q2map2 project
2012-07-07 10:15:37 -05:00
Chris Brooke
26d3246edf
Additional Surface parameters for Quake Live -
...
snowsteps
woodsteps
The below params have been added but have not been implemented yet in ql
(been told it probably will be re-purposed at a later date)
dmgthrough <-- Missile dmg through surface(?)
2012-07-02 05:54:59 +01:00
Timothee 'TTimo' Besset
f3fb7465da
propagate png compatibility fix
2012-06-30 17:39:21 -05:00
Timothee 'TTimo' Besset
1e7ca049d6
stripped the common/ and libs/ that are coming from an older release of GtkR, bump version up. building Linux bins for Majki to test with
2012-06-09 14:49:14 -05:00
Timothee 'TTimo' Besset
61a03e2ee7
add license info on a few things
2012-06-04 23:42:31 -05:00
Timothee 'TTimo' Besset
b19c4bc879
this was built on top of 1.5, so it never got properly transformed to a GPL license. took care of that now
2012-05-28 18:29:36 -05:00
Timothee 'TTimo' Besset
03fbaaa2b6
pass through the same uncrustify rules as the rest of the code to help unifying the code
2012-05-27 22:33:41 -05:00
Timothee 'TTimo' Besset
b36ee55e96
cleanup
2012-05-27 18:53:14 -05:00
Timothee 'TTimo' Besset
31286fb558
import urban terror bumpy q3map2 from http://code.google.com/p/urt-bumpy-q3map2/ - removed some trash files, no modifications yet
2012-05-27 18:50:03 -05:00
Timothee 'TTimo' Besset
6476802ae8
dunno what happened there, someone brain farted hard
2012-05-06 15:55:10 -05:00
Timothee 'TTimo' Besset
c40e0b3e57
unused
2012-04-15 11:24:38 -05:00
Timothee 'TTimo' Besset
943424faa1
fix q3map2
2012-04-14 17:31:10 -05:00
Timothee 'TTimo' Besset
85a66c9519
fix unzip code
2012-04-14 17:15:55 -05:00
Timothee TTimo Besset
c64cd0cd05
Q2Tools source - didn't import this in initially
2012-04-07 18:53:01 -05:00
alex8664
67411cb18e
This is fix for failure of compilation on new libpng
2012-03-31 17:31:50 +04: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
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
3311b00ae6
fix warning: format not a string literal and no format arguments
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