Commit Graph

1361 Commits

Author SHA1 Message Date
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
Rudolf Polzer 42e3d14cd5 leave out 4 files 2012-01-23 20:49:53 +01:00
Rudolf Polzer ebcb592432 OS X: support homebrew by MACLIBDIR=/usr/local/lib 2012-01-23 20:29:05 +01:00
Rudolf Polzer 9cf3816f69 simplify code 2012-01-23 20:19:45 +01:00
Rudolf Polzer 898cef614c fix type cast 2012-01-23 18:18:01 +01:00
Rudolf Polzer 7bd87de737 fix deprecation with libpng 1.4 2012-01-23 17:25:22 +01:00
Rudolf Polzer 4b64a713a0 NOW I do it right: #woxblox#
See http://nl.git.xonotic.org/?p=xonotic/netradiant.git;a=commit;h=30fdfe8ce9e5ac059226ef85e22f8ff79217549e
2012-01-14 12:37:33 +01:00
Rudolf Polzer 98d6ff5baf See http://nl.git.xonotic.org/?p=xonotic/netradiant.git;a=commit;h=30fdfe8ce9e5ac059226ef85e22f8ff79217549e 2012-01-14 12:36:18 +01:00
Rudolf Polzer 30fdfe8ce9 A new NetRadiant build is available on
http://rid.icculus.org/netradiant/files/netradiant-1.5.0-20120114-win32-7z.exe

The builds by default are in sRGB; the build menu provides "nosRGB" options to
do old-style light compiles.

To continue to use non-sRGB on the build service, add -nosRGB to your
.map.options file.

In case you don't see the new build options, please hunt down a file called
"build_menu.xml" in your NetRadiant settings dir (Unix:
~/.netradiant/1.5.0/xonotic.game/, Windows: Application
Data\netradiant\1.5.0\xonotic.game) and delete it before starting Radiant
again).
2012-01-14 12:32:15 +01:00
Rudolf Polzer 326b154fca Merge branch 'master' of git://de.git.xonotic.org/xonotic/netradiant 2012-01-14 00:32:48 +01:00
Rudolf Polzer 57d64f977f fix dependency check causing recompile of all .c files 2012-01-14 00:25:21 +01:00
Rudolf Polzer 34dd9340fc add two missing dlls 2012-01-14 00:10:38 +01:00
Rudolf Polzer 7343cc1f7e another compile fix for win32 on arch linux 2012-01-13 23:42:48 +01:00
Rudolf Polzer 8ecf001ea4 better fit mingw on Arch Linux 2012-01-13 23:28:18 +01:00