Pan7
252d4fe6b4
strcpy, strcat, vsprintf -> strncpy, strncat, vsnprintf
2015-09-06 03:29:46 +02:00
Pan7
30aa7950ab
Small adjustments: focus, bmp2jpg, cam dialog
2015-09-04 05:25:58 +02:00
Pan7
1a4b9ec54f
Gtk3 port first step
2015-08-27 21:22:03 +02:00
Alex Lo
fcefc8b9de
Fix crash when deleting a misc_model
...
The following sequence of events and conditions will cause a segfault to
occur:
1. Delete a misc_model
2. Undo the delete
3. Delete the same model again
4. Undo the delete
A segfault will occur in CEntityMiscModel::Draw when m_model is
dereferenced as it has been deleted and cleared.
When cloning the misc_model entity, a new CEntityMiscModel is created and
the name is set. However, CEntityMiscModel::BuildCacheRequestString relies
on all epairs to be present before being able to generate the *correct*
request string for the misc_model. Not doing so will cause incorrect
behaviour - in this case, the reference count for the CEntityMiscModel is
decremented one too many times and causes the object to be deleted. The
misc_model object is then used later on after it has been freed.
This commit fixes the problem by copying all epairs, before firing the
OnKeyValueChanged events. This way, all epairs will be available when
BuildCacheRequestString is called.
2015-07-21 00:08:31 +01:00
Eric Wasylishen
01f7a979ae
vfswad: lowercase the wad name at load time, because queries from map/parse.cpp come in as lowercase
2015-05-26 21:23:29 -06:00
Timothee "TTimo" Besset
d12e955133
wtf. better
2013-11-26 16:11:55 -06:00
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