Commit Graph

704 Commits

Author SHA1 Message Date
Rudolf Polzer 0a4e4f3786 more changes by Nikoli 2011-01-27 16:48:47 +01:00
Rudolf Polzer 24856f2621 makefile changes by Nikoli to allow building some parts separately 2011-01-27 07:38:54 +01:00
Rudolf Polzer 6dce431cd0 fix foreground color in console window (patch by Nikoli) 2011-01-26 21:00:13 +01:00
Rudolf Polzer b903b9ef25 ::zerowing-base=435 2011-01-22 16:13:22 +01:00
Rudolf Polzer b56d42b971 custom surfaces as used by reaction quake 2011-01-22 16:13:00 +01:00
Rudolf Polzer 73c9441a02 detect format error on Import..., and convert (as it was intended) 2011-01-21 23:34:25 +01:00
Rudolf Polzer 96d42ebc73 rename the DwmEnableComposition variable 2011-01-21 09:13:40 +01:00
Rudolf Polzer 112794e120 ::zerowing-base=432 2011-01-20 14:36:36 +01:00
Rudolf Polzer ccb417b54d fix the game_ file to match this q3map2 version 2011-01-20 14:36:18 +01:00
rambetter 1f2be9e1a6 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
2011-01-20 14:35:44 +01:00
Rudolf Polzer 857d05d90f 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
2011-01-20 14:35:30 +01:00
Rudolf Polzer 33746a4e6a ::zerowing-base=429 2011-01-19 08:02:38 +01:00
Rudolf Polzer 391d71d9ba remove unnecessary code found by Rambetter 2011-01-19 08:02:00 +01:00
Rudolf Polzer cfbdf38d39 fix another misapplied diff 2011-01-13 21:18:04 +01:00
Rudolf Polzer dfb4b5c8c1 more fixes 2011-01-13 21:10:43 +01:00
Rudolf Polzer 4ab91bf770 fix compile error 2011-01-13 20:10:12 +01:00
Rudolf Polzer 34a1e2074b ::zerowing-base=428 2011-01-12 13:58:55 +01:00
Rudolf Polzer b188aed61b add missing regression tests in last commit 2011-01-11 14:52:09 +01:00
Rudolf Polzer 94cb905da9 ::zerowing-base=422 2011-01-11 14:39:55 +01:00
Rudolf Polzer 6ce0c65e77 fix two bugs cppcheck found 2011-01-08 20:59:46 +01:00
Rudolf Polzer b15b0b849f treat entity leak different from entity in solid (the latter should not cause a leak message, but a proper "in solid") 2011-01-02 20:42:33 +01:00
Rudolf Polzer 8f04ed28bf fix these options more 2011-01-01 20:19:57 +01:00
Rudolf Polzer 8b586748c4 fix option checking for -grid* options 2011-01-01 20:15:20 +01:00
Rudolf Polzer c4a7877baf Merge branch 'master' of ssh://git.xonotic.org/netradiant 2010-12-31 18:55:14 +01:00
Rudolf Polzer 7a04b6fdea 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.
2010-12-31 18:54:33 +01:00
Rudolf Polzer 10d0890e16 always chmod the release exe file 2010-12-31 13:37:20 +01:00
Rudolf Polzer c8524834a7 give ViewFront/ViewSide/ViewTop default shortcuts 2010-12-29 17:51:35 +01:00
Rudolf Polzer 469cba24be 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.
2010-12-29 17:41:57 +01:00
Rudolf Polzer bbd9067353 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.
2010-12-29 17:38:51 +01:00
Rudolf Polzer 7aa95f5ab5 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().
2010-12-29 17:38:21 +01:00
Rudolf Polzer 7daa362c91 Author: rambetter
New Revision: 376
Undoing revision 375 because it did not offer measured accuracy improvements
in the q3map2 math calculations.
2010-12-29 17:36:09 +01:00
Rudolf Polzer 887435af2b 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).
2010-12-28 20:31:25 +01:00
Rudolf Polzer a3aa889e15 explicitly use the -readmap option for converting 2010-12-28 13:50:57 +01:00
Rudolf Polzer b20c63153a better help for -convert 2010-12-28 13:50:14 +01:00
Rudolf Polzer 74ca0f3701 change -convert arguments to get -readmap, -readbsp arguments 2010-12-28 13:47:29 +01:00
Rudolf Polzer 1ba2ff7e29 more regression test updates by Rambetter 2010-12-28 13:38:32 +01:00
Rudolf Polzer ec64df5697 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.
2010-12-28 11:24:25 +01:00
Rudolf Polzer bbcc70e072 more regression tests from ZeroRadiant 2010-12-28 11:24:03 +01:00
Rudolf Polzer 5e21f6e064 move to the right dir 2010-12-28 08:38:16 +01:00
Rudolf Polzer 778bd8f4b4 more regression tests from ZeroRadiant 2010-12-28 08:37:48 +01:00
Rudolf Polzer 1bd74f2b3c use forward slashes in .mtl files 2010-12-27 12:44:03 +01:00
Rudolf Polzer 2a853e5b62 take over q3map2 sliver fix from ZeroRadiant trunk (r363) 2010-12-27 10:23:57 +01:00
Rudolf Polzer 5245aefcbe also -deluxemapsastexcoord 2010-12-26 00:18:13 +01:00
Rudolf Polzer bd191dea07 fix warnings 2010-12-23 12:54:38 +01:00
Rudolf Polzer fa46a28662 improved lightmap handling 2010-12-23 12:52:10 +01:00
Rudolf Polzer b80d1ce478 fix file extension 2010-12-23 10:25:23 +01:00
Rudolf Polzer 4853a12dc8 fix some file name bugs 2010-12-23 10:23:53 +01:00
Rudolf Polzer 6e456106a3 Merge commit 'origin/ailmanki/helpchange' 2010-12-23 10:12:10 +01:00
Rudolf Polzer 5097e3d49d option -lightmapsastexcoord to extract lightmap UV 2010-12-23 10:10:54 +01:00
Rudolf Polzer 4e12b14cdf make it callable 2010-12-23 09:39:59 +01:00