xonotic/netradiant.git
9 years agoAdding patch_seam q3map2 regression test. Probably not fixable, but good to
rambetter [Sat, 26 Feb 2011 00:41:18 +0000 (00:41 +0000)]
Adding patch_seam q3map2 regression test.  Probably not fixable, but good to
note.

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

9 years agoUpdating Windows compile guide after the major overhaul of Windows
rambetter [Thu, 24 Feb 2011 04:14:47 +0000 (04:14 +0000)]
Updating Windows compile guide after the major overhaul of Windows
build system.

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

9 years agoThe release config for radiant target was busted on Linux in SCons build.
rambetter [Thu, 24 Feb 2011 03:53:03 +0000 (03:53 +0000)]
The release config for radiant target was busted on Linux in SCons build.
Problem was that the compile flags were overly aggressive and caused segfaults.
They included: -O3 -Winline -ffast-math -fno-unsafe-math-optimizations
  -fno-strict-aliasing
Changed to: -O2 -fno-strict-aliasing
From my experience, -O3 is usually a bad idea.

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

9 years agoRemoving empty directories.
rambetter [Tue, 22 Feb 2011 21:49:45 +0000 (21:49 +0000)]
Removing empty directories.

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoUndoing commits r363 and r371 as it pertains to polylib.c, mathlib.c,
rambetter [Fri, 31 Dec 2010 03:03:13 +0000 (03:03 +0000)]
Undoing commits r363 and r371 as it pertains to polylib.c, mathlib.c,
and mathlib.h (the regression tests have not been removed).
Trunk is now restored to a state that it was in before I started
trying to fix the math accuracy errors in q3map2.  Commits r363 and
r371 were "correct" and did improve math accuracy significantly, but
unfortunately the underlying cause of math accuracy issues is something
else, which is being addressed in branch Rambetter-math-fix-experiments
currently.  I'm taking the BSD approach here, which is "we not going to
partially fix the problem.  it's all or nothing".  Otherwise it's just
too risky in my opinion.  I don't like playing Whack-A-Mole.

Someday, we might merge Rambetter-math-fix-experiments branch to trunk.
Sorry about all these needless commits to trunk.

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

9 years agoUndoing revision 377 (reverting just those files modified by that
rambetter [Wed, 29 Dec 2010 09:00:47 +0000 (09:00 +0000)]
Undoing revision 377 (reverting just those files modified by that
commit).  I have disovered the fundamental problem to the math error problems,
and although this commit (r377) is "correct", it fails to address the
fundamental problem.  Therefore, I'd rather leave the code in a state that
has the exact same behavior as before until I get a chance to address the
fundamental issue.

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

9 years agoUpdating notes on regression tests. They are "mostly sort of fixed". Won't
rambetter [Wed, 29 Dec 2010 05:20:32 +0000 (05:20 +0000)]
Updating notes on regression tests.  They are "mostly sort of fixed".  Won't
be fixed for good until I look at the last bit of code that has not been
examined yet, which is the plane intersection code.  I want the errors to be
much less than they are now, even though the disappearing_sliver* tests are
now working.

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

9 years agoContinuing work on BaseWindingForPlane() in polylib.c. In fact I'm pursuing
rambetter [Wed, 29 Dec 2010 04:32:35 +0000 (04:32 +0000)]
Continuing work on BaseWindingForPlane() in polylib.c.  In fact I'm pursuing
the approach that was committed in r375 (but was then backed out).  I can't
believe my eyes, but I seem to be getting 0.000000% error in some of my
regression tests.  The trick is to scale by a power of 2 and never do a
VectorNormalize().

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

9 years agoUndoing revision 375 because it did not offer measured accuracy improvements
rambetter [Tue, 28 Dec 2010 20:05:50 +0000 (20:05 +0000)]
Undoing revision 375 because it did not offer measured accuracy improvements
in the q3map2 math calculations.

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

9 years agoFollowing up on r371; found another optimization for math rounding errors
rambetter [Tue, 28 Dec 2010 19:26:52 +0000 (19:26 +0000)]
Following up on r371; found another optimization for math rounding errors
in BaseWindingForPlane().  This allows me to get rid of an extra call to
VectorSetLength() which contain floating point multiplications.  Behavior
of BaseWindingForPlane() has been verified against base_winding regression
test (comparing output w/ logging patch).

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

9 years agoAdding new regression test, disappearing_sliver3. I discovered this while
rambetter [Tue, 28 Dec 2010 11:24:14 +0000 (11:24 +0000)]
Adding new regression test, disappearing_sliver3.  I discovered this while
poking around at the numbers from disappearing_sliver2.

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

9 years agoWriting up results of disappearing_sliver2 regression test and commit 371.
rambetter [Tue, 28 Dec 2010 11:09:06 +0000 (11:09 +0000)]
Writing up results of disappearing_sliver2 regression test and commit 371.

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

9 years agoAdding winding_logging.patch to disappearing_sliver regression test that
rambetter [Tue, 28 Dec 2010 10:41:41 +0000 (10:41 +0000)]
Adding winding_logging.patch to disappearing_sliver regression test that
helps log the vertex coords.

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

9 years agoRewriting BaseWindingForPlane() in polylib.c from the ground up. The behavior
rambetter [Tue, 28 Dec 2010 10:02:11 +0000 (10:02 +0000)]
Rewriting BaseWindingForPlane() in polylib.c from the ground up.  The behavior
is totally unchanged, and I verified this by running extensive tests.  The
only difference is that the math precision is much much better now.
Performance should be better as well (but that is not tested).
This is a major milestone because it fixes two regression tests:
disappearing_sliver2 and sparkly_seam.
Improvements to math precision is ongoing and more improvements can probably
be made even after this patch.
I will update the README.txt files in the regression tests in a separate
commit.  This commit only includes the actual fixed code.

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

9 years agoImproving base_winding_logging.patch for base_winding regression test.
rambetter [Tue, 28 Dec 2010 09:53:56 +0000 (09:53 +0000)]
Improving base_winding_logging.patch for base_winding regression test.

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

9 years agoAdding base_winding regression test to test changes to BaseWindingForPlane().
rambetter [Tue, 28 Dec 2010 08:42:03 +0000 (08:42 +0000)]
Adding base_winding regression test to test changes to BaseWindingForPlane().

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

9 years agoIn disappearing_sliver README.txt file, describing which commit revision fixes
rambetter [Tue, 28 Dec 2010 08:20:25 +0000 (08:20 +0000)]
In disappearing_sliver README.txt file, describing which commit revision fixes
the problem.  This is for the regression test.

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

9 years agoRemoving the "message" key from disappearing_sliver2.map.
rambetter [Mon, 27 Dec 2010 23:42:36 +0000 (23:42 +0000)]
Removing the "message" key from disappearing_sliver2.map.
Sorry about that.

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

9 years agoAdding disappearing_sliver2 q3map2 regression test. No fix yet (will be soon).
rambetter [Mon, 27 Dec 2010 23:30:56 +0000 (23:30 +0000)]
Adding disappearing_sliver2 q3map2 regression test.  No fix yet (will be soon).

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

9 years agoAdding sparkly_seam q3map2 regression test. No fix yet, but there will be
rambetter [Mon, 27 Dec 2010 23:14:32 +0000 (23:14 +0000)]
Adding sparkly_seam q3map2 regression test.  No fix yet, but there will be
soon.

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

9 years agoAdding Windows compile guide.
rambetter [Mon, 27 Dec 2010 08:29:22 +0000 (08:29 +0000)]
Adding Windows compile guide.

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

9 years agoFixing "disappearing_sliver" bug.
rambetter [Mon, 27 Dec 2010 08:08:00 +0000 (08:08 +0000)]
Fixing "disappearing_sliver" bug.
A regression test is included.
This is a bug in q3map2.  Please read
regression_tests/q3map2/disappearing_sliver/README.txt for more info.

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

9 years agomove old gtk runtime code back to trunk
TTimo [Sun, 26 Dec 2010 04:13:09 +0000 (04:13 +0000)]
move old gtk runtime code back to trunk

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

9 years agoRepackaged the deps with the old gtkglext (to no avail unfortunately) - closing down...
TTimo [Sun, 26 Dec 2010 03:35:18 +0000 (03:35 +0000)]
Repackaged the deps with the old gtkglext (to no avail unfortunately) - closing down this branch and shelving it.

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

9 years agomisc project file fixes from trunk (e.g. rev 345). fixes the 'missing MSVCR90.DLL...
TTimo [Fri, 24 Dec 2010 19:04:32 +0000 (19:04 +0000)]
misc project file fixes from trunk (e.g. rev 345). fixes the 'missing MSVCR90.DLL' absurdity

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@357 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoCleaning up some file dialog tidbits in Rambetter-temp-fixes branch.
rambetter [Sun, 19 Dec 2010 04:12:29 +0000 (04:12 +0000)]
Cleaning up some file dialog tidbits in Rambetter-temp-fixes branch.
Just some code maintenence.  Like removing unused local vars.

PLS MERGE TO TRUNK.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@356 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoThis is a big big GTK file dialog change in Rambetter-temp-fixes branch.
rambetter [Sun, 19 Dec 2010 03:44:26 +0000 (03:44 +0000)]
This is a big big GTK file dialog change in Rambetter-temp-fixes branch.
Thank you to Markus Fischer who provided some example code on how to
use the "new" method of GTK file dialogs.  I then did a lot of research into
how to shape his code into exactly what I wanted.

This is an incomplete change in that I have not cleaned up the code such
as removing unused local variables and unused functions yet.  However, I
wanted to commit this now because it really works beautifully (the GTK file
dialog that is).

- In CFileType, m_pstrGTKMasks now contains string like
"quake3 maps (*.map)" instead of like "quake3 maps <*.map>".  Nobody else
is using this code except in gtkmisc.cpp so it's a safe change.

- Removing all FILEDLG_DBG blocks in gtkmisc.cpp.  It really clutters up the
code and since it's completely overhauled, it's OK to remove.

- Instead of the "old" way of gtk_file_selection_new(), now using
gtk_file_chooser_dialog_new() instead.  Thx to Markus Fischer for examples.

- Actually adding GTK file dialog filters.  It works really nice!  :-)

- Now using the same file extension logic on Windows file dialogs and GTK
file dialogs.

- Improved file extension logic.  "No file extension specified in file to
be saved.  Attempt to save anyways?"

Tested on Win7 and Linux.
More related changes on the way.

THIS SHOULD BE MERGED INTO TRUNK.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@355 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoSlight fix to r353 in Rambetter-fixes temp: the file suffix in
rambetter [Sun, 19 Dec 2010 01:31:52 +0000 (01:31 +0000)]
Slight fix to r353 in Rambetter-fixes temp: the file suffix in
save operation is case sensitive now w.r.t. to checking a registered
suffix.  The problem was that saving a file foo.MAP does not work.

PLEASE MERGE THIS TO TRUNK.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@354 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoAnother Windows file dialog change in Rambetter-temp-fixes branch.
rambetter [Sun, 19 Dec 2010 01:08:29 +0000 (01:08 +0000)]
Another Windows file dialog change in Rambetter-temp-fixes branch.
Handling file extensions better during save operations.  This is more
Windows-compliant.  For example, when saving map:
- If ".xmap" filter is selected and user types "foo.map", map will be
saved as "foo.map" (previous behavior was "foo.xmap").
- If an unrecognized file extension is typed, GtkRadiant will now honor that
but issue a warning popup window: "Unknown file extension for this save
operation.  Attempt to save anyways?".  All known extensions for the type
are checked.  Previous behavior was that the extension is always changed
based on selected filter.

I will continue making lots of incremental fixes to Rambetter-temp-fixes.

THIS PATCH SHOULD BE MERGED INTO TRUNK.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@353 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoImproving native Windows file dialog in Rambetter-temp-fixes branch some
rambetter [Sat, 18 Dec 2010 03:03:55 +0000 (03:03 +0000)]
Improving native Windows file dialog in Rambetter-temp-fixes branch some
more.  This adds new code and improves code committed in revision 351.

- Calling GetOpenFileName() and GetSaveFileName() from a new thread, thus
allowing the main thread to continue refreshing GtkRadiant while the native
Windows file dialog is open.  Prevents the ugly "hall of mirrors" effect.
A similar approach is used in the open source Inkscape, so I'm not doing
anything too dangerous here.  However, this _is_ hacky in my opinion.

- Using memset() to zero out the memory of the OPENFILENAME structure.
This is safer than selectively setting fields on this structure.  We no
longer need to explicity set certain field to NULL now.

- "all files" filter now lowercase to be consistent with other code.

These changes have been tested on Windows XP and Windows 7.

THIS COMMIT SHOULD BE MERGED INTO TRUNK AT SOME POINT!!!

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@352 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoFixing the native Windows file dialog in Rametter-temp-fixes branch
rambetter [Thu, 16 Dec 2010 07:08:00 +0000 (07:08 +0000)]
Fixing the native Windows file dialog in Rametter-temp-fixes branch
of GtkRadiant.  The previous code was Plain Old Wrong (TM) in the way that
it handled determining which "Save as type" was selected in the file save
dialog.  This change affects the function file_dialog() in gtkmisc.cpp.
Fix has been tested on Windows 7 when the pattern input parameter is something
such as "map" and when it's null.  Will test Windows XP shortly and follow
up with another commit if it's not working correctly there.

THIS COMMIT SHOULD BE MERGED INTO TRUNK AT SOME POINT!!!

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@351 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoProgressing on bringing Radiant 1.6.x to a workable state on Windows.
rambetter [Wed, 15 Dec 2010 09:52:26 +0000 (09:52 +0000)]
Progressing on bringing Radiant 1.6.x to a workable state on Windows.
This commit:
1. Reverts to using GtkR-deps-1.6-3.zip (instead of GtkR-deps-1.6-4.zip).
Some font-related DLLs are therefore no longer used with this patch.
2. Because of the above #1, now using the really old OpenGL font rendering
code on Windows systems.  This is controlled via "#ifdef _WIN32" blocks.
Linux still uses the new and improved OpenGL font rendering.
Note that this old font rendering that Windows now uses (err, has used in the
past too) makes use of gdk_gl_font_use_pango_font(), which is really old
and crufty.

So, with this commit Radiant is fully working (modulo bugs) on Linux and
Windows, and OpenGL fonts work too.

I WOULD NOT SUGGEST MERGING THIS CHANGE INTO TRUNK.  THE CORRECT APPROACH
IS TO INSTEAD FIX THE DLL LIBRARY DEPENDENCIES IN TRUNK.  I AM ONLY COMMITTING
THIS SO THAT I CAN CONTINUE FIXING BUGS IN RADIANT IN THE MEANTIME.

There are still a zillion bugs on Windows.  For example, I can't even save
a .map file at this point.  That is my next task, to fix saving of .map files.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@350 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoBacking out r347 and r345. Keeping r346.
rambetter [Wed, 15 Dec 2010 06:56:33 +0000 (06:56 +0000)]
Backing out r347 and r345.  Keeping r346.
So, this branch is now r344 with patch r346.
DO NOT MERGE THIS CHANGE INTO TRUNK!!!!

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@349 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agoCreating a temporary branch for Rambetter to use in order to
rambetter [Wed, 15 Dec 2010 06:42:34 +0000 (06:42 +0000)]
Creating a temporary branch for Rambetter to use in order to
fix some outstanding issues while the lib-reassembly is taking place.
This branch is starting out as a copy of r347.
I [Rambetter] am not able to work on trunk at the moment because it
is broken on Windows due to the DLL nightmare that is going on.  I would
like to fix some bugs in the meantime.  Commits that should be imported back
into trunk will be clearly marked as such.

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@348 8a3a26a2-13c4-0310-b231-cf6edde360e5

9 years agodamn macro is still there
TTimo [Mon, 13 Dec 2010 05:37:08 +0000 (05:37 +0000)]
damn macro is still there

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

9 years agoixing a big problem on Windows platforms that has to do with copying over
rambetter [Mon, 13 Dec 2010 04:50:40 +0000 (04:50 +0000)]
ixing a big problem on Windows platforms that has to do with copying over
game packs to the game install directory.  Before this patch, users of
Radiant weren't able to start Radiant without doing some manual copying of
game pack files over by hand (and I'm sure nobody figured that out).
The problem is in radiant/missing.cpp.  CopyTree() didn't correctly recursively
copy directories because of a problem in FindFiles::FindFiles() on Windows.

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

9 years agorebuilt gtk binary dependencies file
TTimo [Mon, 13 Dec 2010 04:21:05 +0000 (04:21 +0000)]
rebuilt gtk binary dependencies file
fixed/optimized a number of VC9 project settings
fixed sprintf being hijacked by intl.dll stuff

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

9 years agoupdated the setup functionality on windows, new deps file, bumped version up
TTimo [Mon, 29 Nov 2010 01:12:35 +0000 (01:12 +0000)]
updated the setup functionality on windows, new deps file, bumped version up

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

9 years agoapply back 335 and 336, will need to update deps and put a zip out
TTimo [Fri, 26 Nov 2010 19:50:08 +0000 (19:50 +0000)]
apply back 335 and 336, will need to update deps and put a zip out

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

9 years agofix Linux compile from mhash stuff
TTimo [Fri, 26 Nov 2010 06:46:05 +0000 (06:46 +0000)]
fix Linux compile from mhash stuff

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

9 years agocompiles again on win32, trashed mhash
TTimo [Fri, 26 Nov 2010 05:59:17 +0000 (05:59 +0000)]
compiles again on win32, trashed mhash

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

9 years agorevert 335 and 336, breaking the win32 build
TTimo [Fri, 26 Nov 2010 05:58:34 +0000 (05:58 +0000)]
revert 335 and 336, breaking the win32 build

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

9 years agoDoing away with the 32 bit per pixel memory buffer. Now passing the returned
rambetter [Tue, 16 Nov 2010 07:07:28 +0000 (07:07 +0000)]
Doing away with the 32 bit per pixel memory buffer.  Now passing the returned
pango memory buffer directly to OpenGL.  This simplifies the code.  Performance
did not seem to be better, but it certainly looks faster in theory.

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

9 years agoDONE:
rambetter [Tue, 16 Nov 2010 03:42:28 +0000 (03:42 +0000)]
DONE:
- Removed usage of gdk_gl_font_use_pango_font() which is no longer in
  GtkGLExt Git.  Radiant now compiles on Linux From Scratch using current
  versions of software.
- As a side effect to the above, font inconsistency issues (like really
  large intermittent font in GL views) are gone.  Font looks better too.
- Changing algorithm for labeling grid view to be more robust.  Uses new
  functions gtk_glwidget_font_ascent() and gtk_glwidget_font_descent(), and
  uses locally defined "cushion" variables.
- In xywindow.cpp, changing stepx and stepy based on 40 pixels, not 32.
  When coordinate numbers are very large the labels get too cluttered.
- Added calls to gtk_gl_init() and gdk_gl_init() in main().  This is
  recommended according to the GtkGLExt reference manual.
- Tested all changes on Ubuntu 10.10 and Debian 5.0 (Lenny).
TODO:
- In glDrawPixels(), instead of using a 32 bit pixel with
  GL_UNSIGNED_INT_8_8_8_8, see if we can use an 8 bit variant where each
  byte defines opacity and the GL current color is used.  In other words, try
  to use the FT_Bitmap directly without conversion.
- Examine every other use of gtk_glwidget_print_string() and
  gtk_glwidget_print_char() to make sure the positions are determined
  accurately.
NOT TODO:
- Decided not to use glBitmap() with display lists because it would
  disallow pretty antialiased fonts.

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

9 years agoIn Radiant main() method, add putenv("LC_NUMERIC=C").
rambetter [Sun, 14 Nov 2010 01:40:25 +0000 (01:40 +0000)]
In Radiant main() method, add putenv("LC_NUMERIC=C").
sscanf() and *printf() calls are all over the code, which are
locale-sensitive.  gtk_init() sets all locales.  So if you're in
Germany, your printf()'s will output e.g. "10,5" for ten and
a half.  Reading floating points with sscanf() is also totally broken
in locales such as Germany.  So, we can't really get rid of all the
*scanf()'s and the *printf()'s.  Instead, set LC_NUMERIC to "C".

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

9 years agopthread_join Fix from Nerius Landys
namespace [Sat, 13 Nov 2010 13:36:27 +0000 (13:36 +0000)]
pthread_join Fix from Nerius Landys

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

10 years agofix undo bug with entities (lights) - Markus Fischer
TTimo [Fri, 8 Jan 2010 04:01:08 +0000 (04:01 +0000)]
fix undo bug with entities (lights) - Markus Fischer

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

10 years agotextool fix (Markus Fischer)
TTimo [Sat, 2 Jan 2010 16:03:41 +0000 (16:03 +0000)]
textool fix (Markus Fischer)

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

10 years agomisc
TTimo [Thu, 31 Dec 2009 18:50:00 +0000 (18:50 +0000)]
misc

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

10 years agoapply misc fixes from Markus Fischer and Rambetter
TTimo [Thu, 31 Dec 2009 18:45:35 +0000 (18:45 +0000)]
apply misc fixes from Markus Fischer and Rambetter

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

10 years agomisc
TTimo [Thu, 31 Dec 2009 18:24:36 +0000 (18:24 +0000)]
misc

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

11 years ago* patch from Micah Heyer (GtkRadiant Mailinglist)
mattn [Thu, 29 Jan 2009 21:01:52 +0000 (21:01 +0000)]
* patch from Micah Heyer (GtkRadiant Mailinglist)
* fixes a segfault in gtkgensurf bitmap loading

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

11 years agoRemoved compiled linux executables
namespace [Mon, 29 Dec 2008 23:05:52 +0000 (23:05 +0000)]
Removed compiled linux executables

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

11 years ago* applied Shamus Jedi Academy patch for Zeroradiant (gamepack will follow soon)
mattn [Tue, 16 Dec 2008 22:33:22 +0000 (22:33 +0000)]
* applied Shamus Jedi Academy patch for Zeroradiant (gamepack will follow soon)

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

12 years agoremove some FIXME comments about quakelive paths, since they are the
Forest Hale [Sat, 20 Sep 2008 11:12:28 +0000 (11:12 +0000)]
remove some FIXME comments about quakelive paths, since they are the
same as quake3 currently

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

12 years agopatch from Rudolf Polzer implementing bsp46 support and adding -game
Forest Hale [Sat, 20 Sep 2008 11:07:36 +0000 (11:07 +0000)]
patch from Rudolf Polzer implementing bsp46 support and adding -game
quakelive and -game nexuiz modes to q3map2

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

12 years agofix setup target
TTimo [Sat, 13 Sep 2008 16:12:55 +0000 (16:12 +0000)]
fix setup target

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

12 years ago* applied patch by StefanV (from mailinglist) that fixes an error in config.py (broke...
mattn [Sat, 6 Sep 2008 08:35:17 +0000 (08:35 +0000)]
* applied patch by StefanV (from mailinglist) that fixes an error in config.py (broke compilation) and some string conversion warnings
* fixes some more string conversions warnings in bobtoolz
* fixed unresolved symbols in bobtoolz and gtkgensurf (due to the above mentioned patch where the prototypes were not updated)

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

12 years agomerge branch work back into trunk
TTimo [Mon, 1 Sep 2008 17:34:10 +0000 (17:34 +0000)]
merge branch work back into trunk

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

12 years ago* fixed missing string for error output
mattn [Mon, 25 Aug 2008 12:32:29 +0000 (12:32 +0000)]
* fixed missing string for error output

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

12 years agoABToSVK commit
TTimo [Sun, 24 Aug 2008 03:20:51 +0000 (03:20 +0000)]
ABToSVK commit

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@308 8a3a26a2-13c4-0310-b231-cf6edde360e5

12 years ago* fixed a warning and an error in the overflow check in l_net
mattn [Fri, 25 Jul 2008 19:14:48 +0000 (19:14 +0000)]
* fixed a warning and an error in the overflow check in l_net
* const stuff for GetNextChainItem (bobtoolz)

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

12 years agoported over the 1.5 branch version of q3map2 which is newer
Forest Hale [Fri, 25 Jul 2008 07:31:37 +0000 (07:31 +0000)]
ported over the 1.5 branch version of q3map2 which is newer
made Visual Studio files work in VS2005 Express
fixed a ton of warnings in VS2005 Express
fixed some compile problems on OpenSUSE 11.0

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

12 years ago* divVerent's patch for the brush primitives surface dialog (fixed segfault due to...
mattn [Thu, 10 Jul 2008 08:30:47 +0000 (08:30 +0000)]
* divVerent's patch for the brush primitives surface dialog (fixed segfault due to NULL pointer)
* Quote http://zerowing.idsoftware.com/pipermail/gtkradiant/2008-July/011094.html : Attached to this message is a patch for a "somewhat working" brush
primitives surface dialog. It is an ugly hack, as it converts between
fake texdef notations and brush primitives whenever values are needed.
Had to fix an accuracy bug: the surface dialog rounded all rotation
values to integer angles, which SEVERELY broke things for me (changed
the Gtk spin object to use 4 digits, which is enough for me).

Also, I changed the fake texdef / brush primitives conversions to use
long double internally, as float's roundoff errors were quite visible to
me when testing.

Hope the remaining roundoff errors from converting back and forth won't
kill me, but it worked for a simple map example.

Also, I had to separate out "Snap to grid" and "Don't clamp" into two
separare options. They now mean:

- Snap to grid: snaps drag/etc. actions to the grid
- Don't clamp: disable brush point snapping during many operations, like
  merely shifting brushes, editing texturing parameters, map loading,
  etc.

The reason is that I do need the grid, but I don't want to get my
objects messed up by the snapping in my map. As I am using free
rotations, this DOES change quite much.

The config.py change is needed for compilation on Debian stable;
Debian's scons does not use the CFLAGS variable, but just CCFLAGS and
CXXFLAGS. In newer scons versions, CFLAGS is _shared_ flags for C and
C++, so if you want to require these, you don't need to include the
CFLAGS in CXXFLAGS too.

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

12 years ago* fixed spawnflags dialog due to local and global variable mix (thanks divVerent)
mattn [Thu, 10 Jul 2008 07:41:14 +0000 (07:41 +0000)]
* fixed spawnflags dialog due to local and global variable mix (thanks divVerent)

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

12 years ago* brush primitive patch by divVerent
mattn [Thu, 10 Jul 2008 07:38:14 +0000 (07:38 +0000)]
* brush primitive patch by divVerent

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

12 years ago* gametools => gametools_win32, gametools_linux, gametools_macos
mattn [Thu, 10 Jul 2008 07:24:06 +0000 (07:24 +0000)]
* gametools => gametools_win32, gametools_linux, gametools_macos

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

12 years ago* removed a lot of HACKs for several games by merging the enginepath_win32, enginepat...
mattn [Sat, 5 Jul 2008 10:21:36 +0000 (10:21 +0000)]
* removed a lot of HACKs for several games by merging the enginepath_win32, enginepath_linux and enginepath_macos from 1.5
to 1.6 (default for everything is quake3)
* removed the hacks for q2.game and heretic2.game (just check whether the game config value quake2 is set - TODO: game
dialog needs update - quake2 option should be given)

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

12 years ago* reactivated some old quake2 code
mattn [Sat, 5 Jul 2008 08:53:43 +0000 (08:53 +0000)]
* reactivated some old quake2 code
* more translateable strings

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

12 years ago* more translateable strings
mattn [Sat, 5 Jul 2008 08:37:22 +0000 (08:37 +0000)]
* more translateable strings

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

12 years ago* synced german translation with latest pot updates
mattn [Sat, 5 Jul 2008 07:32:06 +0000 (07:32 +0000)]
* synced german translation with latest pot updates

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

12 years ago* more translateable strings
mattn [Sat, 5 Jul 2008 07:14:52 +0000 (07:14 +0000)]
* more translateable strings
* fixed warnings about unused variables

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

12 years ago* more translateable strings
mattn [Fri, 4 Jul 2008 22:11:30 +0000 (22:11 +0000)]
* more translateable strings
* fixed warning about unused variable

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

12 years ago* some new translateable strings
mattn [Fri, 4 Jul 2008 21:43:45 +0000 (21:43 +0000)]
* some new translateable strings

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

12 years ago* removed SETUP=0 (only valid for 1.5)
mattn [Mon, 30 Jun 2008 18:09:38 +0000 (18:09 +0000)]
* removed SETUP=0 (only valid for 1.5)

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