]> git.rm.cloudns.org Git - xonotic/netradiant.git/log
xonotic/netradiant.git
14 years agofix another misapplied diff
Rudolf Polzer [Thu, 13 Jan 2011 20:18:04 +0000 (21:18 +0100)]
fix another misapplied diff

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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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")

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

14 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

14 years agoMerge branch 'master' of ssh://git.xonotic.org/netradiant
Rudolf Polzer [Fri, 31 Dec 2010 17:55:14 +0000 (18:55 +0100)]
Merge branch 'master' of ssh://git.xonotic.org/netradiant

14 years agoAuthor: rambetter
Rudolf Polzer [Fri, 31 Dec 2010 17:54:33 +0000 (18:54 +0100)]
Author: rambetter
Date: Thu Dec 30 21:03:13 2010
New Revision: 390

Modified:
GtkRadiant/trunk/libs/mathlib.h
GtkRadiant/trunk/libs/mathlib/mathlib.c
GtkRadiant/trunk/tools/quake3/common/polylib.c
Log:
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.

14 years agoalways chmod the release exe file
Rudolf Polzer [Fri, 31 Dec 2010 12:36:47 +0000 (13:36 +0100)]
always chmod the release exe file

14 years agoalways chmod the release exe file
Rudolf Polzer [Fri, 31 Dec 2010 12:36:47 +0000 (13:36 +0100)]
always chmod the release exe file

14 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

14 years agogive ViewFront/ViewSide/ViewTop default shortcuts
Rudolf Polzer [Wed, 29 Dec 2010 16:50:08 +0000 (17:50 +0100)]
give ViewFront/ViewSide/ViewTop default shortcuts

14 years agoAuthor: rambetter
Rudolf Polzer [Wed, 29 Dec 2010 16:41:57 +0000 (17:41 +0100)]
Author: rambetter
New Revision: 379
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.

14 years agoAuthor: rambetter
Rudolf Polzer [Wed, 29 Dec 2010 16:38:51 +0000 (17:38 +0100)]
Author: rambetter
Date: Tue Dec 28 23:20:32 2010
New Revision: 378
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.

14 years agosvn r377 by Rambetter:
Rudolf Polzer [Wed, 29 Dec 2010 16:37:57 +0000 (17:37 +0100)]
svn r377 by Rambetter:
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().

14 years agoAuthor: rambetter
Rudolf Polzer [Wed, 29 Dec 2010 16:36:09 +0000 (17:36 +0100)]
Author: rambetter
New Revision: 376
Undoing revision 375 because it did not offer measured accuracy improvements
in the q3map2 math calculations.

14 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

14 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

14 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

14 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

14 years agoFix by Rambetter (svn r371):
Rudolf Polzer [Tue, 28 Dec 2010 19:31:25 +0000 (20:31 +0100)]
Fix by Rambetter (svn r371):
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).

14 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

14 years agoexplicitly use the -readmap option for converting
Rudolf Polzer [Tue, 28 Dec 2010 12:50:57 +0000 (13:50 +0100)]
explicitly use the -readmap option for converting

14 years agobetter help for -convert
Rudolf Polzer [Tue, 28 Dec 2010 12:50:14 +0000 (13:50 +0100)]
better help for -convert

14 years agochange -convert arguments to get -readmap, -readbsp arguments
Rudolf Polzer [Tue, 28 Dec 2010 12:47:29 +0000 (13:47 +0100)]
change -convert arguments to get -readmap, -readbsp arguments

14 years agomore regression test updates by Rambetter
Rudolf Polzer [Tue, 28 Dec 2010 12:38:32 +0000 (13:38 +0100)]
more regression test updates by Rambetter

14 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

14 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

14 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

14 years agoAuthor: rambetter
Rudolf Polzer [Tue, 28 Dec 2010 10:24:25 +0000 (11:24 +0100)]
Author: rambetter
Date: Tue Dec 28 04:02:11 2010
New Revision: 371

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.

14 years agomore regression tests from ZeroRadiant
Rudolf Polzer [Tue, 28 Dec 2010 10:22:00 +0000 (11:22 +0100)]
more regression tests from ZeroRadiant

14 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

14 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

14 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

14 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

14 years agomove to the right dir
Rudolf Polzer [Tue, 28 Dec 2010 07:38:16 +0000 (08:38 +0100)]
move to the right dir

14 years agomore regression tests from ZeroRadiant
Rudolf Polzer [Tue, 28 Dec 2010 07:37:48 +0000 (08:37 +0100)]
more regression tests from ZeroRadiant

14 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

14 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

14 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

14 years agouse forward slashes in .mtl files
Rudolf Polzer [Mon, 27 Dec 2010 11:44:03 +0000 (12:44 +0100)]
use forward slashes in .mtl files

14 years agotake over q3map2 sliver fix from ZeroRadiant trunk (r363)
Rudolf Polzer [Mon, 27 Dec 2010 09:23:34 +0000 (10:23 +0100)]
take over q3map2 sliver fix from ZeroRadiant trunk (r363)

14 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

14 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

14 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

14 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

14 years agoalso -deluxemapsastexcoord
Rudolf Polzer [Sat, 25 Dec 2010 23:18:13 +0000 (00:18 +0100)]
also -deluxemapsastexcoord

14 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

14 years agofix warnings
Rudolf Polzer [Thu, 23 Dec 2010 11:54:38 +0000 (12:54 +0100)]
fix warnings

14 years agoimproved lightmap handling
Rudolf Polzer [Thu, 23 Dec 2010 11:52:10 +0000 (12:52 +0100)]
improved lightmap handling

14 years agofix file extension
Rudolf Polzer [Thu, 23 Dec 2010 09:25:23 +0000 (10:25 +0100)]
fix file extension

14 years agofix some file name bugs
Rudolf Polzer [Thu, 23 Dec 2010 09:23:53 +0000 (10:23 +0100)]
fix some file name bugs

14 years agoMerge commit 'origin/ailmanki/helpchange'
Rudolf Polzer [Thu, 23 Dec 2010 09:12:10 +0000 (10:12 +0100)]
Merge commit 'origin/ailmanki/helpchange'

14 years agooption -lightmapsastexcoord to extract lightmap UV
Rudolf Polzer [Thu, 23 Dec 2010 09:02:13 +0000 (10:02 +0100)]
option -lightmapsastexcoord to extract lightmap UV

14 years agomake it callable
Rudolf Polzer [Thu, 23 Dec 2010 08:39:59 +0000 (09:39 +0100)]
make it callable

14 years agoinitial obj support
Rudolf Polzer [Thu, 23 Dec 2010 08:38:40 +0000 (09:38 +0100)]
initial obj support

14 years agomake names unique again
Rudolf Polzer [Thu, 23 Dec 2010 08:14:48 +0000 (09:14 +0100)]
make names unique again

14 years agointermediate commit to add .obj conversion support
Rudolf Polzer [Thu, 23 Dec 2010 08:11:47 +0000 (09:11 +0100)]
intermediate commit to add .obj conversion support

14 years agomake shift-a not always check classname, but check the current entity key if entity...
Rudolf Polzer [Wed, 22 Dec 2010 16:38:33 +0000 (17:38 +0100)]
make shift-a not always check classname, but check the current entity key if entity inspector is open

14 years agoAdd help link to Xonotic wiki.
ailmenki [Mon, 20 Dec 2010 20:38:10 +0000 (21:38 +0100)]
Add help link to Xonotic wiki.

14 years agodon't om nom nom nom away the file you just wrote
Rudolf Polzer [Mon, 20 Dec 2010 08:48:19 +0000 (09:48 +0100)]
don't om nom nom nom away the file you just wrote

14 years agovars don't work the way I think...
Rudolf Polzer [Mon, 20 Dec 2010 07:29:52 +0000 (08:29 +0100)]
vars don't work the way I think...

14 years agomore release-win32 fixes
Rudolf Polzer [Mon, 20 Dec 2010 07:27:43 +0000 (08:27 +0100)]
more release-win32 fixes

14 years agoproperly brand the builds
Rudolf Polzer [Mon, 20 Dec 2010 07:14:46 +0000 (08:14 +0100)]
properly brand the builds

14 years agoadd a comment
Rudolf Polzer [Mon, 20 Dec 2010 07:09:34 +0000 (08:09 +0100)]
add a comment

14 years agorelease building: more stuff
Rudolf Polzer [Mon, 20 Dec 2010 07:09:10 +0000 (08:09 +0100)]
release building: more stuff

14 years agoshorten the file names
Rudolf Polzer [Mon, 20 Dec 2010 07:07:24 +0000 (08:07 +0100)]
shorten the file names

14 years agofix make release-all
Rudolf Polzer [Mon, 20 Dec 2010 06:51:25 +0000 (07:51 +0100)]
fix make release-all

14 years agoa release-all target
Rudolf Polzer [Mon, 20 Dec 2010 06:50:24 +0000 (07:50 +0100)]
a release-all target

14 years agoadd makefile targets for source tarballs
Rudolf Polzer [Mon, 20 Dec 2010 06:49:38 +0000 (07:49 +0100)]
add makefile targets for source tarballs

14 years agoremove a LOT of unused symbols from qgl.cpp
Rudolf Polzer [Sun, 19 Dec 2010 20:06:42 +0000 (21:06 +0100)]
remove a LOT of unused symbols from qgl.cpp

14 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

14 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

14 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

14 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

14 years agoin "GimpRadiant" mode, make the focused XY view the current one for nudgeSelection
Rudolf Polzer [Sat, 18 Dec 2010 23:27:12 +0000 (00:27 +0100)]
in "GimpRadiant" mode, make the focused XY view the current one for nudgeSelection

14 years agobe more specific about depcheck errors (show whether compile or link stage failed)
Rudolf Polzer [Sat, 18 Dec 2010 21:40:31 +0000 (22:40 +0100)]
be more specific about depcheck errors (show whether compile or link stage failed)

14 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

14 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

14 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

14 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

14 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

14 years agoadd [BspFile] to be used in compile command lines to explicitly refer to the .bsp
Rudolf Polzer [Tue, 14 Dec 2010 21:08:25 +0000 (22:08 +0100)]
add [BspFile] to be used in compile command lines to explicitly refer to the .bsp