Christophe Mateos
fba3bd3f4d
Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix
...
# Conflicts:
# plugins/entity/entity_entitymodel.h
2017-05-04 21:27:04 +02:00
TTimo
a26c818a1e
remove the old .vcproj
2017-01-01 09:08:37 -06:00
Pan7
0b38ff0e5b
Fix gcc warning suggest explicit braces to avoid ambiguous
2016-08-21 12:02:15 +02:00
Pan7
c5b717254c
Fix compiling warning for wad
2016-08-17 08:45:14 +02:00
Thomas Köppe
3b2fb7f27e
[unzip.c{,pp}] Change zc{alloc,free} to internal linkage
2016-08-03 15:53:59 +01:00
TTimo
282c13d5ed
fix compilation
2016-06-19 16:09:00 -06:00
Timothee "TTimo" Besset
c918a29cd0
Merge pull request #352 from Pan7/Sys_FPrintf
...
Using Sys_FPrintf with SYS_WRN and SYS_ERR
2016-06-11 13:01:13 -05:00
Pan7
5105fc5db8
Using Sys_FPrintf with SYS_WRN and SYS_ERR
2016-05-16 21:20:20 +02:00
Timothee "TTimo" Besset
376eb6c0ac
issue #343 - was purging the wrong model from cache, causing pointers to freed memory
2016-04-24 16:50:11 -05:00
Timothee Besset
b36b3ba4b6
Visual Studio 2015 on debug configs too
2016-04-24 14:52:52 -05:00
Mateos81
b298a72b25
Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix
2016-03-12 20:07:23 +01:00
Timothee Besset
5ed4d02c78
more Visual Studio 2015 conversion
2015-12-24 19:21:23 -06:00
Mateos81
3027776243
Make NULL models rendered as a box, and selectable (were already editable)
...
TODO:
- Handle the case "Model not found".
- Add relevant console prints.
- Fix glitchy-looking selected box.
2015-11-11 11:56:29 +01:00
Zack Middleton
5debf960e3
Include errno.h in plugins/vfspk3/vfs.cpp
2015-11-08 17:42:11 -06:00
TTimo
48369d78f9
- Convert to Visual Studio 2015
...
- Drop STLPort
- Rebuild libxml2 binaries, update project files accordingly
- Rebuild jpeg-9 binaries
2015-11-07 23:44:49 -06:00
Timothee "TTimo" Besset
11272e6462
Merge pull request #320 from Pan7/errnoh
...
Missing errno.h header
2015-10-04 12:02:35 -05:00
Pan7
509a9632a2
Missing errno.h header
2015-10-04 12:12:03 +02:00
Pan7
124b4c035b
Error description for file accesses that fail
2015-08-09 15:40:41 +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