Commit graph

665 commits

Author SHA1 Message Date
jdolan
87c191207b Hide surface inspector on ESC, just like Q3 inspector. 2013-09-11 18:39:13 -04:00
jdolan
c410aad9d7 Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-09 11:58:48 -04:00
jdolan
6ad5f6bfdc Added default_scale for Q2 and Q2W. 2013-07-09 11:58:32 -04:00
Timothee "TTimo" Besset
47bdae97d5 Merge pull request #204 from jdolan/master
Replace the hard-coded quake2 / heretic2 surface inspectors with a generic idtech2 version
2013-07-09 06:29:18 -07:00
jdolan
ccdc7a3881 Remove stale project references from .sln file. 2013-07-09 00:09:02 -04: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
Timothee "TTimo" Besset
aa185ce027 Merge pull request #200 from zeehio/master
Linking fix in Linux
2013-07-08 14:48:06 -07: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
Sergio Oller
75cc56d6a3 Linking fix: -lxml2 should be appended after the .o objects when linking to prevent undefined references (and not in LINKFLAGS). Also, FinishBuild was badly indented. 2013-07-07 23:01:06 +02: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
8c9343d8a0 remove ufoai 2013-07-07 15:43:14 -05: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
cf5af64c94 Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-07 10:22:16 -04:00
jdolan
83f039dbd7 Comment out unused variables in gtkgensurf plugin. 2013-07-07 10:20:18 -04:00
jdolan
0dae745694 Again, use intptr_t when casting from gpointer to int. 2013-07-07 10:18:51 -04:00
jdolan
a6fbf511a2 Yet another char cast fix. 2013-07-07 10:16:11 -04:00
jdolan
8910ffc600 Use intptr_t again when casting gpointer to integers. 2013-07-07 10:14:48 -04:00
jdolan
21a7ab44c7 Re-define fileHandle_t as void * so that it is 64-bit safe. Fixes 4 compiler warnings and potentially some broken code. 2013-07-07 10:14:29 -04: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
5ed95d5bdd Fix signedness warning by casting. 2013-07-07 09:51:38 -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
dc575b2e2f Fix uninitialized variable warnings and really retarded syntax (which I think might have had unintended side effects.) Clipper tool works in all 3 view types. 2013-07-07 09:47:03 -04:00
jdolan
abfecbecfa Comment out unused variable. This one looks like we could potentially need it again someday, so I'll not delete it. 2013-07-07 09:39:35 -04:00
jdolan
8184ba89d4 Remove unused static function ResizeImage. I'm not sure why we would want this in qgl.c to begin with. 2013-07-07 09:37:47 -04:00
jdolan
14b0178515 set no_patch=true for UFO:AI as well. 2013-07-07 09:33:44 -04:00
jdolan
128d4669c5 set no_patch=true for Quake2 and Quake2World. 2013-07-07 09:33:19 -04:00
jdolan
6b3915d8f2 Fully conditionalize the prefab path preference. Fixes the last compiler warning in preferences.cpp. 2013-07-07 09:28:31 -04:00
jdolan
23e78ebdf4 Fix another char cast. 2013-07-07 09:24:23 -04:00
jdolan
c8fb5b9b5b Remove unused variable. Fix char cast. Finish conditionalizing of splash_screen. Addresses all of the compiler warnings for main.cpp. 2013-07-07 09:22:34 -04:00
Timothee Besset
4867115b1d Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-07 14:21:03 +01:00
jdolan
576823a4e3 Fix another char cast in gtkmisc.cpp. 2013-07-07 09:16:00 -04:00
jdolan
fad4aff018 Use newer, simpler API to set window icon, and update window icon with current branding (affects Mac / Linux only). 2013-07-07 09:12:25 -04:00
jdolan
2bd349d6c6 Fix char cast compiler warning and print more descriptive error message when loading of pixmap fails. 2013-07-07 09:11:42 -04:00
Timothee "TTimo" Besset
2a8cef7f9e Merge pull request #198 from jdolan/master
Add executables path, clean up preferences some
2013-07-07 06:09:49 -07:00
Timothee "TTimo" Besset
c93f7a1ecc cosmetic - this code isn't used anyway, surface inspector logic has moved to a plugin? 2013-07-07 08:08:38 -05:00
jdolan
e485edc236 Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-07 01:57:35 -04:00
jdolan
fa738a6f22 Add new game preferences variable for executables path. This allows games whose binaries live outside of the engine / data path to be resolved in .proj templates and the like. The executables path can be set via the game preferences dialog.
This changeset also cleans up the game preferences dialog and especially the game configuration dialog by adding frames and fixing padding where necessary.

Lastly, this changeset simplifies the prefix / prefix_win32 code to work like the rest of the conditionalized template attributes (via macro).

Oh, I almost forgot, the CGameInstall::Run() method is a bit less ugly now too. It's still very ugly.
2013-07-07 01:56:38 -04:00
jdolan
5a73ff3997 Reset prop to NULL before re-testing it. Also conditionalize .game generation. 2013-07-06 20:37:50 -04:00
Timothee "TTimo" Besset
6326d84195 bump the number of texture directories, 128 -> 1024. issue #186 2013-07-06 18:38:39 -05:00
Timothee "TTimo" Besset
e82eb1e37e In addition to Esc key, the ViewEntityInfo and ViewTextures keys will now hide the floating dialog again 2013-07-06 17:24:05 -05:00
Timothee "TTimo" Besset
d7fde9f5da Fix issue #192 - flip the notebook page when hiding the dialog, forces the texture window to redraw correctly on next show 2013-07-06 16:48:47 -05:00
Timothee "TTimo" Besset
1c1fa7173a cosmetic 2013-07-06 16:03:25 -05:00