xonotic/netradiant.git
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

12 years ago* reactivated WXY_Print function to generate screenshots from the xy window
mattn [Fri, 27 Jun 2008 15:09:36 +0000 (15:09 +0000)]
* reactivated WXY_Print function to generate screenshots from the xy window
* removed all the references to the old bugzilla links (deadlinks - no longer useful)

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

12 years ago* Tremulous patch by Ingar
mattn [Fri, 27 Jun 2008 14:30:13 +0000 (14:30 +0000)]
* Tremulous patch by Ingar

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

12 years ago* removed todo entry
mattn [Thu, 26 Jun 2008 18:50:38 +0000 (18:50 +0000)]
* removed todo entry

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

12 years ago* introduced a new config variable to be able to load maps directly from the enginePa...
mattn [Thu, 26 Jun 2008 18:50:18 +0000 (18:50 +0000)]
* introduced a new config variable to be able to load maps directly from the enginePath/basePath/maps directory

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

12 years ago* more translations
mattn [Thu, 26 Jun 2008 17:48:22 +0000 (17:48 +0000)]
* more translations

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

12 years ago* fixed dir handle leaks for windows
mattn [Thu, 26 Jun 2008 15:19:48 +0000 (15:19 +0000)]
* fixed dir handle leaks for windows

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

12 years ago* removed unnecessary gi18n.h inclusions
mattn [Thu, 26 Jun 2008 14:30:58 +0000 (14:30 +0000)]
* removed unnecessary gi18n.h inclusions

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

12 years ago* const stuff
mattn [Thu, 26 Jun 2008 13:58:20 +0000 (13:58 +0000)]
* const stuff

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

12 years ago* const stuff
mattn [Thu, 26 Jun 2008 13:57:38 +0000 (13:57 +0000)]
* const stuff

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

12 years ago* reverted some const changes in order to let g_slist_append work again
mattn [Thu, 26 Jun 2008 13:53:24 +0000 (13:53 +0000)]
* reverted some const changes in order to let g_slist_append work again

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

12 years ago* added TODO entry
mattn [Thu, 26 Jun 2008 11:51:10 +0000 (11:51 +0000)]
* added TODO entry

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

12 years ago* fixed warnings
mattn [Thu, 26 Jun 2008 11:40:59 +0000 (11:40 +0000)]
* fixed warnings

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

12 years ago* fixed warning
mattn [Thu, 26 Jun 2008 11:40:00 +0000 (11:40 +0000)]
* fixed warning

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

12 years ago* fixed warnings
mattn [Thu, 26 Jun 2008 11:39:44 +0000 (11:39 +0000)]
* fixed warnings

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

12 years ago* fixed warnings
mattn [Thu, 26 Jun 2008 11:21:13 +0000 (11:21 +0000)]
* fixed warnings
* removed www dir (dead links, almost none of the posted links are available - correct me when i'm wrong, then we can revert this remove)

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

12 years ago* fixed warnings and fixed clips counter
mattn [Thu, 26 Jun 2008 11:20:01 +0000 (11:20 +0000)]
* fixed warnings and fixed clips counter

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

12 years ago* some notes for running the translated version of radiant
mattn [Thu, 26 Jun 2008 11:01:07 +0000 (11:01 +0000)]
* some notes for running the translated version of radiant

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

12 years ago* INSTALL.txt: dead link
mattn [Thu, 26 Jun 2008 11:00:42 +0000 (11:00 +0000)]
* INSTALL.txt: dead link
* LICENSE_ID: empty file

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

12 years ago* mark strings translateable in the dialogs
mattn [Thu, 26 Jun 2008 10:19:31 +0000 (10:19 +0000)]
* mark strings translateable in the dialogs

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

12 years ago* new strings marked translateable in the preferences menus
mattn [Thu, 26 Jun 2008 09:43:34 +0000 (09:43 +0000)]
* new strings marked translateable in the preferences menus

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

12 years ago* translated more strings into german
mattn [Thu, 26 Jun 2008 09:07:09 +0000 (09:07 +0000)]
* translated more strings into german

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

12 years ago* more translateable strings
mattn [Thu, 26 Jun 2008 08:58:17 +0000 (08:58 +0000)]
* more translateable strings

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

12 years ago* note about translating radiant
mattn [Thu, 26 Jun 2008 08:38:52 +0000 (08:38 +0000)]
* note about translating radiant

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

12 years ago* added first translation start for german
mattn [Thu, 26 Jun 2008 08:32:36 +0000 (08:32 +0000)]
* added first translation start for german

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

12 years ago* added pot file (translation catalog)
mattn [Thu, 26 Jun 2008 08:31:13 +0000 (08:31 +0000)]
* added pot file (translation catalog)
* marked more strings as translateable
* deactivated gtk_disable_setlocale and bind the textdomains

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

12 years ago* fixed a lot of compiler warnings (mostly const char * stuff and use of uninitialize...
mattn [Thu, 26 Jun 2008 07:52:02 +0000 (07:52 +0000)]
* fixed a lot of compiler warnings (mostly const char * stuff and use of uninitialized data)
* add support for translating radiant (just marked three strings, more to come)

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

12 years ago* removed config.mk (not used)
mattn [Thu, 26 Jun 2008 06:57:21 +0000 (06:57 +0000)]
* removed config.mk (not used)
* fixed some warnings in synapse.cpp (const stuff, unused variable)

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

12 years ago* moved zeroradiant (1.6) into trunk
mattn [Thu, 26 Jun 2008 06:52:09 +0000 (06:52 +0000)]
* moved zeroradiant (1.6) into trunk

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

12 years ago* add compiling file from 1.5 with minor changes
mattn [Thu, 26 Jun 2008 06:47:18 +0000 (06:47 +0000)]
* add compiling file from 1.5 with minor changes
* moved some parts of the old compiling file to the changelog (what was that for anyway?)

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

12 years ago* prepared the COMPILING file for 1.5 for branches/1.5
mattn [Thu, 26 Jun 2008 06:46:24 +0000 (06:46 +0000)]
* prepared the COMPILING file for 1.5 for branches/1.5

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

12 years ago* eol-style native
mattn [Wed, 25 Jun 2008 22:07:02 +0000 (22:07 +0000)]
* eol-style native

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

12 years ago* changed eol-style to native
mattn [Wed, 25 Jun 2008 22:05:08 +0000 (22:05 +0000)]
* changed eol-style to native

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

12 years ago* renamed class LoadModule into CLoadModule because LoadModule is already a registere...
mattn [Thu, 19 Jun 2008 11:56:48 +0000 (11:56 +0000)]
* renamed class LoadModule into CLoadModule because LoadModule is already a registered function on windows
* fixed some other windows compilation problems

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

12 years ago* fixed crash that occurs if there is not enough space for the status toolbar (thanks...
mattn [Wed, 18 Jun 2008 09:41:02 +0000 (09:41 +0000)]
* fixed crash that occurs if there is not enough space for the status toolbar (thanks Pan-(G))

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

12 years ago* updated two toolbar images
mattn [Sat, 26 Apr 2008 06:59:53 +0000 (06:59 +0000)]
* updated two toolbar images

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

12 years ago* missing bitmaps
mattn [Sat, 26 Apr 2008 06:57:15 +0000 (06:57 +0000)]
* missing bitmaps

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

12 years agoMSVC8: change output dir rules to put binaries into install/
TTimo [Fri, 25 Apr 2008 02:17:12 +0000 (02:17 +0000)]
MSVC8: change output dir rules to put binaries into install/

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