]> 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.

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

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

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

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

13 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 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 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 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 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 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 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 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 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

13 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

13 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.

13 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

13 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

13 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

13 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.

13 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.

13 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().

13 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.

13 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).

13 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

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

13 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

13 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

13 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.

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

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

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

13 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

13 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)

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

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

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

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

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