]> de.git.xonotic.org Git - xonotic/netradiant.git/log
xonotic/netradiant.git
12 years agomore warnings be gone
Rudolf Polzer [Sun, 5 Jun 2011 17:43:21 +0000 (19:43 +0200)]
more warnings be gone

12 years agomore warning fixes
Rudolf Polzer [Sun, 5 Jun 2011 17:37:54 +0000 (19:37 +0200)]
more warning fixes

12 years agofix a slight memory leak
Rudolf Polzer [Sun, 5 Jun 2011 17:37:50 +0000 (19:37 +0200)]
fix a slight memory leak

12 years agofix uninitialized use of an int when filtering a patch into a tree - possible perform...
Rudolf Polzer [Sun, 5 Jun 2011 17:33:29 +0000 (19:33 +0200)]
fix uninitialized use of an int when filtering a patch into a tree - possible performance increase after this fix

12 years agofix ignoring surface alpha for surfacemodels
Rudolf Polzer [Sun, 5 Jun 2011 17:32:43 +0000 (19:32 +0200)]
fix ignoring surface alpha for surfacemodels

12 years agosome warning fixes
Rudolf Polzer [Sun, 5 Jun 2011 17:32:39 +0000 (19:32 +0200)]
some warning fixes

12 years agofix some more warnings
Rudolf Polzer [Sun, 5 Jun 2011 17:21:31 +0000 (19:21 +0200)]
fix some more warnings

12 years agofix a scanf warning
Rudolf Polzer [Sun, 5 Jun 2011 17:19:45 +0000 (19:19 +0200)]
fix a scanf warning

12 years agofix some compile errors
Rudolf Polzer [Sun, 5 Jun 2011 17:18:08 +0000 (19:18 +0200)]
fix some compile errors

12 years agoASE support: support *node_name
Rudolf Polzer [Sun, 5 Jun 2011 16:57:26 +0000 (18:57 +0200)]
ASE support: support *node_name

12 years agofix a possible bug that can cause ds->shaderInfo to be NULL
Rudolf Polzer [Sun, 5 Jun 2011 16:43:31 +0000 (18:43 +0200)]
fix a possible bug that can cause ds->shaderInfo to be NULL

12 years agohide another "error"
Rudolf Polzer [Sun, 22 May 2011 18:35:37 +0000 (20:35 +0200)]
hide another "error"

12 years agofix compile on current Arch Linux
Rudolf Polzer [Sun, 22 May 2011 18:34:23 +0000 (20:34 +0200)]
fix compile on current Arch Linux

12 years agofix another error
Rudolf Polzer [Mon, 16 May 2011 13:08:02 +0000 (15:08 +0200)]
fix another error

12 years agomore errors
Rudolf Polzer [Mon, 16 May 2011 12:57:14 +0000 (14:57 +0200)]
more errors

12 years agofix some compile errors on win32
Rudolf Polzer [Mon, 16 May 2011 12:46:06 +0000 (14:46 +0200)]
fix some compile errors on win32

12 years agofix GetProcAddress usage
Rudolf Polzer [Mon, 16 May 2011 04:37:38 +0000 (06:37 +0200)]
fix GetProcAddress usage

12 years agofix compile errors
Rudolf Polzer [Sun, 15 May 2011 20:26:46 +0000 (22:26 +0200)]
fix compile errors

12 years agofix error
Rudolf Polzer [Sun, 15 May 2011 20:24:57 +0000 (22:24 +0200)]
fix error

12 years agoMerge branch 'master' of git://git.xonotic.org/xonotic/netradiant
Rudolf Polzer [Sun, 15 May 2011 20:28:13 +0000 (22:28 +0200)]
Merge branch 'master' of git://git.xonotic.org/xonotic/netradiant

Conflicts:
tools/quake3/q3map2/path_init.c

12 years agoradiant: make shift-middle, and ctrl-middle also paste
Rudolf Polzer [Sun, 15 May 2011 20:18:14 +0000 (22:18 +0200)]
radiant: make shift-middle, and ctrl-middle also paste

not only shift-ctrl-middle

12 years agosupport more locations for pixbufloader-bmp
Rudolf Polzer [Sat, 14 May 2011 16:37:52 +0000 (18:37 +0200)]
support more locations for pixbufloader-bmp

12 years agofix typo
Rudolf Polzer [Mon, 9 May 2011 04:49:43 +0000 (06:49 +0200)]
fix typo

12 years agoget SHGetKnownFolderPath the right way
Rudolf Polzer [Tue, 3 May 2011 06:09:22 +0000 (08:09 +0200)]
get SHGetKnownFolderPath the right way

12 years agomore includes
Rudolf Polzer [Sun, 1 May 2011 19:36:07 +0000 (21:36 +0200)]
more includes

12 years agofix compile on arch linux
Rudolf Polzer [Sun, 1 May 2011 19:26:26 +0000 (21:26 +0200)]
fix compile on arch linux

12 years agoimprove path finding logic
Rudolf Polzer [Sun, 1 May 2011 19:17:23 +0000 (21:17 +0200)]
improve path finding logic

12 years agoalso support SavedGames on Win32
Rudolf Polzer [Sun, 1 May 2011 19:06:13 +0000 (21:06 +0200)]
also support SavedGames on Win32

12 years agosupport passing the home path to q3map2 as -fs_home (home dir only, ends with /....
Rudolf Polzer [Sun, 1 May 2011 16:49:33 +0000 (18:49 +0200)]
support passing the home path to q3map2 as -fs_home (home dir only, ends with /. to request a dotdir name) and -fs_homepath (full path, including /.gamename)

12 years agoq3map2: accept -fs_home /home/rpolzer/.xonotic to set the home dir
Rudolf Polzer [Sun, 1 May 2011 16:43:34 +0000 (18:43 +0200)]
q3map2: accept -fs_home /home/rpolzer/.xonotic to set the home dir

12 years agountested changes so DP might work with this again. Who knows if they even compile.
Rudolf Polzer [Fri, 29 Apr 2011 08:55:57 +0000 (10:55 +0200)]
untested changes so DP might work with this again. Who knows if they even compile.

12 years agoadd a missing variable
Rudolf Polzer [Wed, 20 Apr 2011 15:58:23 +0000 (17:58 +0200)]
add a missing variable

12 years agoadd the #include here too
Rudolf Polzer [Wed, 20 Apr 2011 15:57:26 +0000 (17:57 +0200)]
add the #include here too

12 years agofix two more bugs
Rudolf Polzer [Wed, 20 Apr 2011 15:50:29 +0000 (17:50 +0200)]
fix two more bugs

12 years agoadd a missing #include
Rudolf Polzer [Wed, 20 Apr 2011 15:49:36 +0000 (17:49 +0200)]
add a missing #include

12 years agoq3map2: use "My Games" directory if exists on Win32
Rudolf Polzer [Wed, 20 Apr 2011 15:35:51 +0000 (17:35 +0200)]
q3map2: use "My Games" directory if exists on Win32

13 years agoturn two picomodel errors into warnings
Rudolf Polzer [Tue, 12 Apr 2011 18:40:19 +0000 (20:40 +0200)]
turn two picomodel errors into warnings

13 years agofix install-gamepack abort with an empty src dir
Rudolf Polzer [Sat, 2 Apr 2011 10:55:10 +0000 (12:55 +0200)]
fix install-gamepack abort with an empty src dir

13 years agoif we get empty brushes in CSG subtract, don't complain, just don't insert the new...
Rudolf Polzer [Sun, 27 Feb 2011 06:18:02 +0000 (07:18 +0100)]
if we get empty brushes in CSG subtract, don't complain, just don't insert the new brush (as this can happen intentionally when a brush is entirely covered)

13 years agoOsitionPack is actually GPL-compatible:
Rudolf Polzer [Wed, 23 Feb 2011 13:50:43 +0000 (14:50 +0100)]
OsitionPack is actually GPL-compatible:

14:49:13     @divVerent | BTW, what license is OsirionPack?
14:49:38          Ingar | GPL/CC/make your pick
14:49:54          Ingar | I wrote it, so if you want to included it you have all my permissions
14:50:17     @divVerent | I then take this as your permission to release it as part of NetRadiant, thus under GPL :P
14:50:27     @divVerent | this will mean my builds will include it then :P
14:50:31          Ingar | that's fine ^^
14:50:35     @divVerent | free promotion :P

13 years agomake WarsowPack use ingar's location from now on. Warsow's svn is too unreliable...
Rudolf Polzer [Wed, 23 Feb 2011 13:47:16 +0000 (14:47 +0100)]
make WarsowPack use ingar's location from now on. Warsow's svn is too unreliable and causes too many build failures, and WILL NOT BE ADDED AGAIN. Warsow devs shall just get a github account, KTHX.

13 years agoallow game packs to override the default of brush primitives
Rudolf Polzer [Wed, 23 Feb 2011 13:33:18 +0000 (14:33 +0100)]
allow game packs to override the default of brush primitives

13 years agoMerge branch 'master' of ssh://icculus.org/netradiant
Rudolf Polzer [Wed, 23 Feb 2011 13:19:58 +0000 (14:19 +0100)]
Merge branch 'master' of ssh://icculus.org/netradiant

13 years agoRevert "also load DDS files the way DarkPlaces stores them (does DDS loading even...
Rudolf Polzer [Wed, 23 Feb 2011 12:25:22 +0000 (13:25 +0100)]
Revert "also load DDS files the way DarkPlaces stores them (does DDS loading even work?)" because Radiant does not support this yet, and it won't be easy to do the same hack in Radiant.

This reverts commit 8850310690375a24654e7f0ff9b76ea55ddd1470.

13 years agoalso load DDS files the way DarkPlaces stores them (does DDS loading even work?)
Rudolf Polzer [Wed, 23 Feb 2011 12:24:47 +0000 (13:24 +0100)]
also load DDS files the way DarkPlaces stores them (does DDS loading even work?)

13 years agoalso support the alpha channel hack for JPEG that DarkPlaces supports (foo.jpg +...
Rudolf Polzer [Wed, 23 Feb 2011 12:22:07 +0000 (13:22 +0100)]
also support the alpha channel hack for JPEG that DarkPlaces supports (foo.jpg + foo_alpha.jpg)

13 years agoJPEG support: allow grayscale JPEG files in q3map2 (untested)
Rudolf Polzer [Wed, 23 Feb 2011 12:14:07 +0000 (13:14 +0100)]
JPEG support: allow grayscale JPEG files in q3map2 (untested)

13 years agoMerge branch 'master' of git://git.xonotic.org/xonotic/netradiant
Rudolf Polzer [Tue, 22 Feb 2011 19:09:54 +0000 (20:09 +0100)]
Merge branch 'master' of git://git.xonotic.org/xonotic/netradiant

13 years agoforgot to check lightDeluxel for NULL here
Rudolf Polzer [Tue, 22 Feb 2011 16:48:30 +0000 (17:48 +0100)]
forgot to check lightDeluxel for NULL here

13 years ago::zerowing-base=474
Rudolf Polzer [Tue, 22 Feb 2011 08:05:55 +0000 (09:05 +0100)]
::zerowing-base=474

13 years agoFixing Linux SCons build.
rambetter [Tue, 22 Feb 2011 04:48:05 +0000 (04:48 +0000)]
Fixing Linux SCons build.
Fixing plugins on both Linux and Windows.  It's consistent now.
Fixing gl font on Windows.
Mostly, added lots of plugins.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@474 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoThis is a major change that updates the 3rd party libs on Windows builds.
rambetter [Mon, 21 Feb 2011 14:37:49 +0000 (14:37 +0000)]
This is a major change that updates the 3rd party libs on Windows builds.
A couple of things are broken right now:
- OpenGL font in Windows not appearing (expected to be broken, will fix)
- Linux build broken because it loads some .vcproj files that are removed
- 3rd party libs are downloaded from porky.nerius.com, not id Software

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@473 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoMerge remote-tracking branch 'origin/divVerent/weird-shift-a'
Rudolf Polzer [Mon, 14 Feb 2011 18:42:28 +0000 (19:42 +0100)]
Merge remote-tracking branch 'origin/divVerent/weird-shift-a'

13 years ago(by LordHavoc) game_etut uses BSP format version 47 too
Rudolf Polzer [Sun, 30 Jan 2011 15:02:01 +0000 (16:02 +0100)]
(by LordHavoc) game_etut uses BSP format version 47 too

13 years agouse bsp version 47 for the appropriate games, this unbreaks a previous
Forest Hale [Sun, 30 Jan 2011 03:18:05 +0000 (03:18 +0000)]
use bsp version 47 for the appropriate games, this unbreaks a previous
commit

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@440 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agomore changes by Nikoli
Rudolf Polzer [Thu, 27 Jan 2011 15:48:47 +0000 (16:48 +0100)]
more changes by Nikoli

13 years agomakefile changes by Nikoli to allow building some parts separately
Rudolf Polzer [Thu, 27 Jan 2011 06:38:54 +0000 (07:38 +0100)]
makefile changes by Nikoli to allow building some parts separately

13 years agofix foreground color in console window (patch by Nikoli)
Rudolf Polzer [Wed, 26 Jan 2011 20:00:13 +0000 (21:00 +0100)]
fix foreground color in console window (patch by Nikoli)

13 years agoFixing filters.
rambetter [Sun, 23 Jan 2011 09:12:34 +0000 (09:12 +0000)]
Fixing filters.
I didn't realize they were so broken.
The fix is safe and should not break plugins or anything else.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@437 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding "Preferences" -> "Other" -> "Brush" tab. This now has
rambetter [Sun, 23 Jan 2011 05:24:30 +0000 (05:24 +0000)]
Adding "Preferences" -> "Other" -> "Brush" tab.  This now has
"Default texture scale:".  (Preferences are game specific by the way.)
The default value for this preference is specific to a game, but most
of the time it's 0.5.  This field allows the user to override that default.
This is a feature that was specifically requrested by someone who wants to
try using ZeroRadiant (he wants to set it to 0.25 for his "premium" maps).
It's already a feature in NetRadiant.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@436 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years ago::zerowing-base=435
Rudolf Polzer [Sat, 22 Jan 2011 15:13:22 +0000 (16:13 +0100)]
::zerowing-base=435

13 years agocustom surfaces as used by reaction quake
Rudolf Polzer [Sat, 22 Jan 2011 15:13:00 +0000 (16:13 +0100)]
custom surfaces as used by reaction quake

13 years agoNo longer including JAPack in default Radiant builds. This is in order
rambetter [Sat, 22 Jan 2011 07:10:03 +0000 (07:10 +0000)]
No longer including JAPack in default Radiant builds.  This is in order
to reduce the size of Windows Radiant builds by a factor of 2.  JAPack
can still be used, but must either be installed manually after a build
is made, or it must be explicitly downloaded before the build.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@435 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoModifying game_reaction.h (for the game Reaction) to add custom surfaces.
rambetter [Sat, 22 Jan 2011 07:03:51 +0000 (07:03 +0000)]
Modifying game_reaction.h (for the game Reaction) to add custom surfaces.
This is more convenient than using custinfoparms.txt.  TTI (from the
Reaction team) game these to me.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@434 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoTurn off desktop compositing in Windows ("Aero") for Radiant.
rambetter [Sat, 22 Jan 2011 03:22:21 +0000 (03:22 +0000)]
Turn off desktop compositing in Windows ("Aero") for Radiant.
Otherwise, "hall of mirrors" effect takes place in the OpenGL viewports.
This fix is a real hack.  It's actually borrowed from other Radiants such
as NetRadiant.  I'd like to fix the underlying issue someday so that Aero
can be used with Radiant.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@433 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agodetect format error on Import..., and convert (as it was intended)
Rudolf Polzer [Fri, 21 Jan 2011 22:34:25 +0000 (23:34 +0100)]
detect format error on Import..., and convert (as it was intended)

13 years agorename the DwmEnableComposition variable
Rudolf Polzer [Fri, 21 Jan 2011 08:13:40 +0000 (09:13 +0100)]
rename the DwmEnableComposition variable

13 years ago::zerowing-base=432
Rudolf Polzer [Thu, 20 Jan 2011 13:36:36 +0000 (14:36 +0100)]
::zerowing-base=432

13 years agofix the game_ file to match this q3map2 version
Rudolf Polzer [Thu, 20 Jan 2011 13:36:18 +0000 (14:36 +0100)]
fix the game_ file to match this q3map2 version

13 years agoIn function AddGamePath() in path_init.c for q3map2,
rambetter [Thu, 20 Jan 2011 07:15:47 +0000 (07:15 +0000)]
In function AddGamePath() in path_init.c for q3map2,
only adding path if it's not already added (remove duplicates).
It's cleaner this way.

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@432 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding game_reaction.h to q3map2. We cannot use "-game quake3" because
Rudolf Polzer [Thu, 20 Jan 2011 13:35:30 +0000 (14:35 +0100)]
Adding game_reaction.h to q3map2.  We cannot use "-game quake3" because
we use ~/.Reaction instead of ~/.q3a .  Oh well.  This is for Reaction Quake III.

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@431 8a3a26a2-13c4-0310-b231-cf6edde360e5

Conflicts:

tools/quake3/q3map2/q3map2.h

13 years agoIn function AddGamePath() in path_init.c for q3map2,
rambetter [Thu, 20 Jan 2011 07:15:47 +0000 (07:15 +0000)]
In function AddGamePath() in path_init.c for q3map2,
only adding path if it's not already added (remove duplicates).
It's cleaner this way.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@432 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding game_reaction.h to q3map2. We cannot use "-game quake3" because
rambetter [Thu, 20 Jan 2011 06:31:26 +0000 (06:31 +0000)]
Adding game_reaction.h to q3map2.  We cannot use "-game quake3" because
we use ~/.Reaction instead of ~/.q3a .  Oh well.  This is for Reaction Quake III.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@431 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding ReactionPack to Radiant code.
rambetter [Thu, 20 Jan 2011 05:36:24 +0000 (05:36 +0000)]
Adding ReactionPack to Radiant code.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@430 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years ago::zerowing-base=429
Rudolf Polzer [Wed, 19 Jan 2011 07:02:38 +0000 (08:02 +0100)]
::zerowing-base=429

13 years agoremove unnecessary code found by Rambetter
Rudolf Polzer [Wed, 19 Jan 2011 07:02:00 +0000 (08:02 +0100)]
remove unnecessary code found by Rambetter

13 years agoFixing a 45 degree model clipping problem.
rambetter [Wed, 19 Jan 2011 06:41:33 +0000 (06:41 +0000)]
Fixing a 45 degree model clipping problem.
Introducing Q3MAP2_EXPERIMENTAL_MODEL_CLIPPING_FIX to control the new code,
current value is 1 (enable the fix).
This code fixes the q3map2 regression test model_clipping_45_degrees.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@429 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agofix another misapplied diff
Rudolf Polzer [Thu, 13 Jan 2011 20:18:04 +0000 (21:18 +0100)]
fix another misapplied diff

13 years agomore fixes
Rudolf Polzer [Thu, 13 Jan 2011 20:10:43 +0000 (21:10 +0100)]
more fixes

13 years agofix compile error
Rudolf Polzer [Thu, 13 Jan 2011 19:10:12 +0000 (20:10 +0100)]
fix compile error

13 years ago::zerowing-base=428
Rudolf Polzer [Wed, 12 Jan 2011 12:58:55 +0000 (13:58 +0100)]
::zerowing-base=428

13 years agoIn decal_misalignment regression test for q3map2, accidentally had checked in
rambetter [Wed, 12 Jan 2011 08:33:40 +0000 (08:33 +0000)]
In decal_misalignment regression test for q3map2, accidentally had checked in
the wrong shader file, ramb_common.shader.  Replacing with
radiant_regression_tests.shader.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@428 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding model_clipping_45_degrees regression test for q3map2.
rambetter [Wed, 12 Jan 2011 08:04:12 +0000 (08:04 +0000)]
Adding model_clipping_45_degrees regression test for q3map2.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@427 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding decal_misalignment regression test for q3map2.
rambetter [Wed, 12 Jan 2011 07:09:53 +0000 (07:09 +0000)]
Adding decal_misalignment regression test for q3map2.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@426 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding piercing_triangle regression test.
rambetter [Wed, 12 Jan 2011 05:42:04 +0000 (05:42 +0000)]
Adding piercing_triangle regression test.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@425 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX in mathlib to control which
rambetter [Wed, 12 Jan 2011 03:35:57 +0000 (03:35 +0000)]
Adding MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX in mathlib to control which
version of code in VectorNormalize() is used.  Yes, I put the old code back
in there, and it's active if MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX is 0.
Right now it's 1, so the fixed code is active.  I need this quick way to
test regression tests.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@424 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoRenaming #define constants:
rambetter [Wed, 12 Jan 2011 03:21:31 +0000 (03:21 +0000)]
Renaming #define constants:
EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES ->
  Q3MAP2_EXPERIMENTAL_HIGH_PRECISION_MATH_FIXES
EXPERIMENTAL_SNAP_NORMAL_FIX ->
  Q3MAP2_EXPERIMENTAL_SNAP_NORMAL_FIX
EXPERIMENTAL_SNAP_PLANE_FIX ->
  Q3MAP2_EXPERIMENTAL_SNAP_PLANE_FIX

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@423 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoadd missing regression tests in last commit
Rudolf Polzer [Tue, 11 Jan 2011 13:52:09 +0000 (14:52 +0100)]
add missing regression tests in last commit

13 years ago::zerowing-base=422
Rudolf Polzer [Tue, 11 Jan 2011 13:39:55 +0000 (14:39 +0100)]
::zerowing-base=422

13 years agoIncreasing the values of 3 constants that control how much space is reserved
rambetter [Tue, 11 Jan 2011 09:49:45 +0000 (09:49 +0000)]
Increasing the values of 3 constants that control how much space is reserved
for the stack and/or static memory for holding arrays of structures.
MAX_ORIGINAL_EDGES changed from 0x10000 to 0x20000 (x2 increase).
MAX_MAP_BRUSHES changed from 0x8000 to 0x10000 (x2 increase).
MAX_MAP_DRAW_VERTS changed from 0x80000 to 0x100000 (x2 increase).
This is pertaining to q3map2 only.
There is a real-world case where increasing these constants is needed.
That case is when compiling Icy World for Urban Terror.
Besides that, increasing these does not hurt anything (other than requiring
more memory).

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@422 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAs per TTimo's suggestion, turning all three experimental q3map2 fixes on
rambetter [Tue, 11 Jan 2011 08:25:10 +0000 (08:25 +0000)]
As per TTimo's suggestion, turning all three experimental q3map2 fixes on
in q3map2.h: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES,
EXPERIMENTAL_SNAP_NORMAL_FIX, and EXPERIMENTAL_SNAP_PLANE_FIX.  These are all
set to 1 now.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@421 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoFinishing up the degenerate_winding2 and degenerate_winding3 regression tests.
rambetter [Tue, 11 Jan 2011 02:23:58 +0000 (02:23 +0000)]
Finishing up the degenerate_winding2 and degenerate_winding3 regression tests.
Sure enough, they expose the "problem".  I just created these based on my
understanding of the code and seeing a potential problem.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@420 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoAdding the beginnings of degenerate_winding2 and degenerate_winding3
rambetter [Tue, 11 Jan 2011 02:08:30 +0000 (02:08 +0000)]
Adding the beginnings of degenerate_winding2 and degenerate_winding3
regression tests for q3map2.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@419 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoImporting regression tests for q3map2 from Rambetter-math-fix-experiments into
rambetter [Mon, 10 Jan 2011 06:25:33 +0000 (06:25 +0000)]
Importing regression tests for q3map2 from Rambetter-math-fix-experiments into
trunk.  Branch Rambetter-math-fix-experiments can be deleted now.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@417 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoImporting code changes for q3map2 from Rambetter-math-fix-experiments branch
rambetter [Mon, 10 Jan 2011 06:15:47 +0000 (06:15 +0000)]
Importing code changes for q3map2 from Rambetter-math-fix-experiments branch
into trunk.  Right now all the new code that fixes problems is turned off.
There are three new #defines in q3map2.h:
EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX,
and EXPERIMENTAL_SNAP_PLANE_FIX.  All of these are currently set to 0, which
means don't enable that new code.  You can easily edit these to be 1 in order
to enable the new code.

There are very very minor changes to the code even with these three #defines
disabled.  They are as follows.

- In PlaneEqual() in map.c, now considering deltas equal to given epsilon
values as "far enough to be different".  Previously, the '<=' operation was
used, now '<' is being used.

- In FindFloatPlane() in map.c, considering delta equal to distanceEpsilon
(for plane distance) to be sufficiently far away.  Before, delta had to be
strictly greater than distanceEpsilon.

- VectorNormalize() in mathlib.c is more accurate now.  This change itself
causes at least one regression test to succeed.  The previous implementation
of VectorNormalize() caused excessive errors to be introduced due to sloppy
arithmetic.

Note, the epsilon changes account for the possibility that the epsilons
are set to 0.0 on the command-line.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@416 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agoFixing Win compile guide, "if you choose path other than
rambetter [Sun, 9 Jan 2011 21:36:32 +0000 (21:36 +0000)]
Fixing Win compile guide, "if you choose path other than
C:\MinGW, make sure there is no space in the path".

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@412 8a3a26a2-13c4-0310-b231-cf6edde360e5

13 years agofix two bugs cppcheck found
Rudolf Polzer [Sat, 8 Jan 2011 19:59:46 +0000 (20:59 +0100)]
fix two bugs cppcheck found

13 years agotreat entity leak different from entity in solid (the latter should not cause a leak...
Rudolf Polzer [Sun, 2 Jan 2011 19:42:33 +0000 (20:42 +0100)]
treat entity leak different from entity in solid (the latter should not cause a leak message, but a proper "in solid")

13 years agofix these options more
Rudolf Polzer [Sat, 1 Jan 2011 19:19:57 +0000 (20:19 +0100)]
fix these options more

13 years agofix option checking for -grid* options
Rudolf Polzer [Sat, 1 Jan 2011 19:15:20 +0000 (20:15 +0100)]
fix option checking for -grid* options