Commit Graph
39 Commits
Author SHA1 Message Date
rambetter d8314fa7ae This is a major change that updates the 3rd party libs on Windows builds.
A couple of things are broken right now:
- OpenGL font in Windows not appearing (expected to be broken, will fix)
- Linux build broken because it loads some .vcproj files that are removed
- 3rd party libs are downloaded from porky.nerius.com, not id Software


git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@473 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-02-21 14:37:49 +00:00
rambetter 014a7d9bd9 Adding "Preferences" -> "Other" -> "Brush" tab. This now has
"Default texture scale:".  (Preferences are game specific by the way.)
The default value for this preference is specific to a game, but most
of the time it's 0.5.  This field allows the user to override that default.
This is a feature that was specifically requrested by someone who wants to
try using ZeroRadiant (he wants to set it to 0.25 for his "premium" maps).
It's already a feature in NetRadiant.


git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@436 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-01-23 05:24:30 +00:00
rambetter 358c6bc882 Adding ReactionPack to Radiant code.
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@430 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-01-20 05:36:24 +00:00
timo 5c3690719c misc project file fixes from trunk (e.g. rev 345). fixes the 'missing MSVCR90.DLL' absurdity
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/Rambetter-temp-fixes@357 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-24 19:04:32 +00:00
rambetter 070176f828 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/Rambetter-temp-fixes@356 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-19 04:12:29 +00:00
rambetter 6a023763c8 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/Rambetter-temp-fixes@352 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-18 03:03:55 +00:00
rambetter 0a65360a88 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/Rambetter-temp-fixes@349 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-15 06:56:33 +00:00
timo c2478cff9e damn macro is still there
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@347 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-13 05:37:08 +00:00
timo 4ea003d7f4 rebuilt gtk binary dependencies file
fixed/optimized a number of VC9 project settings
fixed sprintf being hijacked by intl.dll stuff


git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@345 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-13 04:21:05 +00:00
timo 6500f31ba7 apply misc fixes from Markus Fischer and Rambetter
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@329 8a3a26a2-13c4-0310-b231-cf6edde360e5
2009-12-31 18:45:35 +00:00
mattn 099a51f673 * applied Shamus Jedi Academy patch for Zeroradiant (gamepack will follow soon)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@324 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-12-16 22:33:22 +00:00
timo 818de1762f merge branch work back into trunk
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@319 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-09-01 17:34:10 +00:00
mattn d2c9e20484 * 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@301 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-10 08:30:47 +00:00
mattn 957b7a9914 * gametools => gametools_win32, gametools_linux, gametools_macos
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@298 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-10 07:24:06 +00:00
mattn bfaf672b9a * 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@297 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-05 10:21:36 +00:00
mattn c0b2eb3abf * reactivated some old quake2 code
* more translateable strings


git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@296 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-05 08:53:43 +00:00
mattn 0bf788a35f * 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@289 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-27 15:09:36 +00:00
mattn 3813db14eb * Tremulous patch by Ingar
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@288 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-27 14:30:13 +00:00
mattn 4349953c6e * introduced a new config variable to be able to load maps directly from the enginePath/basePath/maps directory
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@286 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 18:50:18 +00:00
mattn f50c729771 * more translations
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@285 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 17:48:22 +00:00
mattn decc4b04c5 * removed unnecessary gi18n.h inclusions
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@283 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 14:30:58 +00:00
mattn 9046b08724 * new strings marked translateable in the preferences menus
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@270 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 09:43:34 +00:00
mattn 377eb8460c * 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: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@264 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 07:52:02 +00:00
timo ea7b552d2e fix
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@249 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-04-13 17:28:01 +00:00
timo b625947b80 fix and improve the game selection and game configuration dialogs - added dir dialog, using GtkComboBox (added support for GtkComboBox too)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@248 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-04-12 23:01:39 +00:00
timo 1739ea38de working on more installation functionality
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@240 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-04-05 21:38:49 +00:00
mattn 74f6a9360a * added nexuiz and quake2 gamepack support
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@237 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-24 16:53:15 +00:00
mattn 27415e3b26 * added quake2world support
* finished warsow support
* NOTE: This should really be generalized

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@235 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-24 16:12:40 +00:00
mattn 4870a5038a * added UFO:AI gamepack
* changed gametools path in game definition file (this allows us to store more than one game in the games/ directory)


git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@234 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-24 15:24:37 +00:00
mattn 41ee07e42c * added UFOAI_PACK support
* fixed prefix option for none q3 based games

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@233 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-24 11:13:02 +00:00
timo 8dd9de21f1 fix windows compile, it's possible the linux build broke and will need misc tweaks. you need a new GtkR-1.6-deps.zip
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@227 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-18 17:47:38 +00:00
mattn 631ea8613f * added UFOAI to gamepack configuration code
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@224 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 20:54:29 +00:00
mattn 240b8760f5 * improved quake2 support by added a quake2 boolean to the CGameDescription class - this allows us to even use the quake2 surfaceplugin function (like e.g. SetFaceTexdef_Q2) without a hardcoded game name of q2.game or heretic2.game
* added support for relative md2 skin paths
* fixed wrong _pico_printf call

git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@203 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-04 17:33:05 +00:00
timo d33d4c6952 misc fixes
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@200 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-02 23:36:20 +00:00
timo 0ea249e0e3 added file copy tree for the game packs - lists supported games
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@197 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-02-25 04:17:23 +00:00
timo 7bc8a87313 basic architecture for game configuration at runtime. writes out a .game, no sanity checks, does not copy any game pak data
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@192 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-12-25 00:10:45 +00:00
timo c694b861b9 more eol-style
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant.ab@186 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:53:53 +00:00
timo 6d84c61f18 more eol-style
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@185 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:51:54 +00:00
timo 1b7c0e6899 transfer from internal tree r5311 branches/1.4-gpl
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/ZeroRadiant@177 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-09-12 18:54:28 +00:00