Commit graph

146 commits

Author SHA1 Message Date
Timothee Besset
4d6d4d8f6c fix surface dialog closing up when typing in the texture box 2013-11-26 20:45:15 +00:00
jdolan
43594358c1 Enable decimal precision for texture rotation in idTech2 surface dialog. 2013-11-19 21:30:28 -05:00
jdolan
7d092b3417 Cleanup to idTech2 surface inspector. 2013-10-05 11:20:01 -04:00
Timothee "TTimo" Besset
99e8ea8cf2 Remove done, apply button from idtech3 surface inspector.
Turn off the half baked undo, all changes applied immediate for now.
2013-09-14 18:45:29 -05:00
Timothee "TTimo" Besset
233c1f257e use g_malloc and g_free everywhere - causes Windows only crashes 2013-09-14 15:46:37 -05:00
jdolan
19cd2b04fd Merging. 2013-09-11 20:44:05 -04:00
jdolan
87c191207b Hide surface inspector on ESC, just like Q3 inspector. 2013-09-11 18:39:13 -04:00
Timothee "TTimo" Besset
0912498271 remove the offsets column 2013-09-08 08:51:14 -05:00
TTimo
666847b0ce switch to xp compatible compiler toolchain, add/fix an archive and upload script for the VM builder 2013-08-24 22:50:12 +00:00
Chris Brooke
60a0f49052 some more gtk spin-button cleanup ( Preferences / Surface Inspector / Patch Inspector / Arbitrary Rotation / gtkGenSurf plugin ) 2013-07-22 03:06:06 +01:00
jdolan
5552711b3c Merging upstream. 2013-07-09 00:08:11 -04:00
jdolan
f79bd4709b Remove unused variables. 2013-07-08 23:21:28 -04:00
jdolan
b28ec5a77d Start to clean up the internal structure of the idTech2 surface inspector. 2013-07-08 23:09:09 -04:00
jdolan
5c34795c7f Peace out hard-coded idTech2 plugins. 2013-07-08 22:21:39 -04:00
jdolan
1019199749 Rename surface_ufoai to surface_idtech2. This plugin should be used for all Quake1 / Quake2 derived games. Updated game packs to be checked in shortly. 2013-07-08 22:20:13 -04:00
jdolan
4ecd0a3991 Fix SnapToGrid and fix all of those pesky Gtk warnings. 2013-07-08 10:01:07 -04:00
jdolan
d7604ab519 Remove offset spinners and locking functionality from the surface inspector. More aesthetic improvements. Make the Value field call GetTexMods on-change. 2013-07-08 09:17:08 -04:00
jdolan
4f566cabd0 Remove the hbutton Okay/Apply/Cancel crap from the surface inspector. All changes are now immediate. That's what Undo is for. 2013-07-07 18:10:18 -04:00
jdolan
da0bca1aca Make the ufoai surface inspector less shitty and more like the Q3A one. 2013-07-07 16:57:45 -04:00
Timothee "TTimo" Besset
0389190dce Merge branch 'master' of https://github.com/jdolan/GtkRadiant.git 2013-07-07 14:13:17 -05:00
Timothee "TTimo" Besset
48998b0f4a rework the surface inspector buttons. support Esc key to hide/cancel the dialog, support Enter key to apply. and a bunch of internal cleanup to get familiar with that code. 2013-07-07 14:10:02 -05:00
jdolan
2f403e160b Use intptr_t for pointer offset magic in TexTool. Fixes a couple compiler warnings. 2013-07-07 09:58:56 -04:00
jdolan
3ddd0fca0c Fix a few more char casts. 2013-07-07 09:53:55 -04:00
jdolan
75b26411c3 Move static variable declaration into implementation file, since that's where it belongs. Fixes a compiler warning. 2013-07-07 09:49:23 -04:00
jdolan
45b95af999 Revert "Kill off UFO plugins."
This reverts commit 75cc7d3a45.
2013-07-04 20:12:37 -04:00
jdolan
75cc7d3a45 Kill off UFO plugins. 2013-07-04 13:03:56 -04:00
jdolan
409f1fc026 Failure to load PCX/BMP/TGA should not result in a fatal error. Check the existence of these files first, if the file does not exist, simply return. This way we'll still blow up on malformed images, which is less annoying. 2013-06-29 11:05:49 -04:00
jdolan
ea202cd932 @TTimo -style formatting :> 2013-06-29 10:19:52 -04:00
jdolan
33eff58869 Try skin.tga in the model directory as a last-ditch-effort to load model skins. This fixes all of the Quake2World models in Radiant. 2013-06-29 10:16:29 -04:00
Timothee Besset
5d0b2a2b94 fix crashes: libxml2 static linking, turn off libintl stuff 2013-06-03 03:23:11 +01:00
Timothee Besset
f72f41cf1d fix ws2_32 lib dep 2013-06-02 00:17:56 +01:00
Timothee Besset
f397e4a8d6 link libxml2 2013-06-01 23:39:34 +01:00
Timothee Besset
9f425c0c72 add include path for gdk-pixbuf 2013-06-01 23:26:37 +01:00
Timothee Besset
1ec0ec94ba switching to newer gtk and libxml. wip 2013-06-01 23:05:35 +01:00
Timothee "TTimo" Besset
974213d297 Use a new version of the jpeg library, with x64 support 2013-05-27 22:08:36 -05:00
Timothee "TTimo" Besset
2ca658fe9f convert projects to msvc 2012 2013-05-23 20:44:41 -05:00
jdolan
a269593afe Low hanging fruit: bring the number of compiler warnings down from 264 to 33. 2013-05-03 02:57:29 -04:00
Timothee 'TTimo' Besset
def29cb7b4 synapse: when using '*' for the minor, work extra hard to match with a single, already active provider. this fixes the problems related to having pk3 vfs and qlpk3 vfs both loaded for instance 2012-09-16 22:57:31 -05:00
Timothee 'TTimo' Besset
fe7062c8b9 misc fixes 2012-08-23 22:39:53 -05:00
Chris Brooke
fcdbd268ed Quake Live PK3 support - FIXED 2012-06-18 16:31:12 +01:00
Chris Brooke
ef1697925f Quake Live PK3 support 2012-06-18 02:03:11 +01:00
Timothee 'TTimo' Besset
61a03e2ee7 add license info on a few things 2012-06-04 23:42:31 -05:00
Timothee 'TTimo' Besset
b36ee55e96 cleanup 2012-05-27 18:53:14 -05:00
Willi Schinmeyer
069d2350eb Fixed transparency (qer_trans) not working on models 2012-05-04 10:32:48 +02:00
Timothee 'TTimo' Besset
85a66c9519 fix unzip code 2012-04-14 17:15:55 -05:00
alex8664
b6d70499bf This is fix for failure of compilation on new libpng 2012-03-31 17:33:33 +04:00
Ben Noordhuis
ca8d032cfb fix warning: unused variable 'foo' 2012-03-18 02:17:09 +01:00
Timothee TTimo Besset
830125fad0 uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
rambetter
88f8603d62 8MB stack size linker options on all VC2008 proj files.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@485 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 04:12:34 +00:00
rambetter
33da149be0 Backing out commit 483. Going to set linker flags instead.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@484 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 04:08:22 +00:00
rambetter
e39f6f4bae Increasing stack size on Windows build.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@483 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 03:56:18 +00:00
rambetter
8d530e8707 - Updated Windows build doc, very slight revision. Changed 37 targets to 38.
- Added plugins/imagehl to list of modules built (both	Windows and Linux).
    Not	really sure what this does, but it's the only module (as defined by
    stuff in plugins/ or contrib/) that exists and isn't currently part of the
    build.
- The code to disable desktop composition in Windows has been moved from start
    of main() to an option in Preferences.  The	pref reads as follows:
    "NVIDIA/Aero bug - disable Windows composition".  It is enabled by default.
- Color themes controlled by "Misc" -> "Colors" -> "Themes" options are now
    saved as soon as you select them.  The color theme is no longer clobbered
    when opening Preferences.
- The ATI broken driver (bug #802) pref has been reworded since it applies to
    Intel cards as well.  Before:
    "ATI cards with broken drivers - bug #802".  After:
    "ATI and Intel cards w/ buggy drivers (disappearing polygons)".


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@479 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-03-03 15:51:44 +00:00
rambetter
48410b113d Fixing Linux SCons build.
Fixing plugins on both Linux and Windows.  It's consistent now.
Fixing gl font on Windows.
Mostly, added lots of plugins.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@474 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-02-22 04:48:05 +00:00
rambetter
561e062c87 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: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@473 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-02-21 14:37:49 +00:00
TTimo
a6e2bf8e2d 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
2010-12-24 19:04:32 +00:00
rambetter
7f2f9610ba 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
2010-12-15 06:56:33 +00:00
TTimo
7c46911658 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
2010-12-13 04:21:05 +00:00
TTimo
48d505dff5 textool fix (Markus Fischer)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@331 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-01-02 16:03:41 +00:00
TTimo
c14eb495aa misc
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@330 8a3a26a2-13c4-0310-b231-cf6edde360e5
2009-12-31 18:50:00 +00:00
TTimo
a54ff4a83e apply misc fixes from Markus Fischer and Rambetter
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@329 8a3a26a2-13c4-0310-b231-cf6edde360e5
2009-12-31 18:45:35 +00:00
TTimo
cc4e44e31a merge branch work back into trunk
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@319 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-09-01 17:34:10 +00:00
TTimo
2def0428da ABToSVK commit
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@308 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-08-24 03:20:51 +00:00
Forest Hale
88cea027e6 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
2008-07-25 07:31:37 +00:00
mattn
995f6a1011 * 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
2008-07-10 08:30:47 +00:00
mattn
5f6f117633 * reactivated some old quake2 code
* more translateable strings


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@296 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-05 08:53:43 +00:00
mattn
46bdd92bb4 * more translateable strings
* fixed warnings about unused variables


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@293 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-05 07:14:52 +00:00
mattn
c974ae628c * more translateable strings
* fixed warning about unused variable


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@292 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-04 22:11:30 +00:00
mattn
04c7eb042d * 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
2008-06-27 15:09:36 +00:00
mattn
d5fc00a4f8 * removed unnecessary gi18n.h inclusions
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@283 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 14:30:58 +00:00
mattn
99b8049c8c * fixed warnings
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@278 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 11:40:59 +00:00
mattn
c0f477bd04 * 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
2008-06-26 11:21:13 +00:00
mattn
e4b1c1a55c * 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
2008-06-26 07:52:02 +00:00
mattn
5efe3f31db * 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
2008-06-26 06:57:21 +00:00
TTimo
11f8765db7 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
2008-04-25 02:17:12 +00:00
mattn
bc05037367 * modified ufoai surface plugin to read the surface and content flag names from the game project file
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@232 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-24 10:47:55 +00:00
TTimo
94199c49dc 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: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@227 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-18 17:47:38 +00:00
mattn
71b0f48eee * cleanup - use GINT_TO_POINTER and GPOINTER_TO_INT
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@219 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 19:10:26 +00:00
mattn
a4e4f11c0e * show supported models in picomodel about message
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@216 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 17:24:26 +00:00
mattn
008af4cf61 * readded copyright notice to picomodel plugin
* moved plugin bitmaps into install/modules/bitmaps


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@214 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 16:35:07 +00:00
mattn
706fbc414b * fixed ufoai surface plugin (don't give a stack variable pointer to the button callback function but a static array pointer)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@213 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 16:05:36 +00:00
mattn
f9f45eef67 * sample plugin toolbar bitmap
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@210 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 09:47:43 +00:00
mattn
eaa3e3169f * added filter api to create new filters from within plugins
* TTimo, please have a look at the mainframe.cpp part


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@208 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 09:42:56 +00:00
mattn
861fbade9a * use CMD_SEP in sample plugin (minor cleanup)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@206 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 08:08:45 +00:00
mattn
a5664116d3 * sample plugin
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@205 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 08:05:56 +00:00
mattn
08391b4c93 * UFO: Alien Invasion surface plugin
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@201 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-04 16:51:36 +00:00
TTimo
a06f65b042 apply patch from Martin Gerhardy - more quake2 related modules compiled and misc fixes
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@195 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-02-18 20:54:58 +00:00
TTimo
7a51df0e11 add q3map2 build to scons
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@193 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-01-02 04:47:59 +00:00
TTimo
0975f4af11 propagate from internal tree
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@191 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-05 13:28:33 +00:00
TTimo
64fe6940f0 eol
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@190 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 04:09:22 +00:00
TTimo
2b5ef55c7c more eol-style
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@187 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:57:33 +00:00
TTimo
b1bfb19ecd more eol-style
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@186 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:53:53 +00:00
TTimo
33efc90892 more eol-style
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@185 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:51:54 +00:00
TTimo
ab3a99dbbe eol style
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@184 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:47:06 +00:00
TTimo
9998050654 set eol-style
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@183 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:34:51 +00:00
TTimo
4189d27b34 some updates to the Linux build system - obtained a core binary and all required modules
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@180 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-10-24 04:00:48 +00:00
TTimo
8037810110 transfer from internal tree r5311 branches/1.4-gpl
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@177 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-09-12 18:54:28 +00:00