Commit Graph

762 Commits

Author SHA1 Message Date
Pan7 73e54acf55 gtk3 text buffer colors 2015-09-06 17:24:34 +02:00
Pan7 844545d1da small fix for missing a byte 2015-09-06 07:17:52 +02:00
Pan7 252d4fe6b4 strcpy, strcat, vsprintf -> strncpy, strncat, vsnprintf 2015-09-06 03:29:46 +02:00
Pan7 6c759f1e0a New: Texture directory list widget 2015-09-06 00:03:56 +02:00
Pan7 30aa7950ab Small adjustments: focus, bmp2jpg, cam dialog 2015-09-04 05:25:58 +02:00
Pan7 add20c2816 Converted bmp images to png 2 2015-08-30 13:11:11 +02:00
Pan7 b73fe7abef Converted bmp images to png 2015-08-30 13:09:35 +02:00
Pan7 621c43a618 Feature: Make Hollow Touch/Overlap 2015-08-30 05:39:31 +02:00
Pan7 967b493e50 replacing deprecated gdk_pixbuf_unref 2015-08-30 04:45:36 +02:00
Pan7 1a4b9ec54f Gtk3 port first step 2015-08-27 21:22:03 +02:00
Timothee "TTimo" Besset 424958f54b Merge pull request #292 from xycaleth/fix-undo-crash
Fix crash when undoing a delete of a misc_model
2015-07-23 16:29:19 -05:00
Timothee "TTimo" Besset f7cd40df07 Merge pull request #293 from pelya/master
GL Display lists were used regardless of display list settings in poi…
2015-07-23 16:24:56 -05:00
pelya ece18581d1 GL Display lists were used regardless of display list settings in points.cpp, this crashes with some Intel videodrivers 2015-07-23 22:03:52 +03: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
Timothee "TTimo" Besset d9d76af697 Merge pull request #290 from ericwa/quake1
Quake 1 Support
2015-05-29 08:03:53 -05: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
Eric Wasylishen 12bc0b1633 Add basic quake1 support to preferences.{h,cpp} 2015-05-26 21:23:29 -06:00
Timothee "TTimo" Besset 0f75c22b0d Merge pull request #287 from jdolan/master
Use g_get_user_special_dir rather than hard-coded "My Documents"
2015-03-18 11:59:15 -05:00
Jay Dolan e750bb0972 Merge remote-tracking branch 'upstream/master' 2015-03-18 11:01:59 -04:00
Jay Dolan c626a12e7a Use glib's g_get_user_special_dir to resolve 'Documents'. This works on XP (My Documents) and Vista+ (Documents). 2015-03-18 11:00:57 -04:00
Timothee "TTimo" Besset 7d4b7ad362 Merge pull request #286 from jdolan/master
Fix "My Games" folder on Wintoons.
2015-03-08 10:40:54 -05:00
Jay Dolan 3446bf9b27 Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2015-03-08 11:32:56 -04:00
Jay Dolan 7cd4aa4fe0 Use \My Documents\My Games\ on Windows. This aligns us with NetRadiant and the actual location of this folder on Windows systems. It was an error to use /Users/jdolan\My Games. That's not a thing. 2015-03-08 11:31:53 -04:00
Timothee "TTimo" Besset b648ceddbc Merge pull request #263 from neumond/defflag
entity.def: parser fix
2015-03-08 10:24:17 -05:00
Timothee "TTimo" Besset f555e3d13e Merge pull request #261 from neumond/imzoom
Improved mousewheel zoom-in
2015-03-08 10:23:43 -05:00
Timothee "TTimo" Besset 3f58715a04 Merge pull request #241 from xycaleth/master
Fixed a number of out of bounds accesses.
2015-03-08 10:22:26 -05:00
Timothee "TTimo" Besset 3d3418e77f Merge pull request #280 from bigjilm/master
Option to color detail brushes in 2d views
2015-03-08 10:20:54 -05:00
Timothee "TTimo" Besset c285bb6119 Merge pull request #284 from jdolan/master
Skip Quake4 per-pixel lighting assets in texture window
2015-03-08 10:19:31 -05:00
Jay Dolan 6a5412d95c Updates for Quake2World -> Quetoo project renaming. 2015-03-08 09:55:36 -04:00
Jay Dolan bca10b6337 Eclipse project file updates. 2015-02-10 10:08:15 -05:00
Jay Dolan 636b1010b3 Suppress a warning. 2015-02-10 10:08:05 -05:00
Jay Dolan 2beef62683 Skip glow, heightmap, normalmap and specularmap files for Q4 texture sets. 2015-02-10 10:07:31 -05:00
Josh Steffen 805ceb9df6 brace alignment 2015-01-16 17:10:09 -05:00
Josh Steffen c55e260114 only color detail brush if it's not part of an entity 2015-01-15 15:54:54 -05:00
Josh Steffen a1fd52a8c2 Changed 'Detail brushes...' to 'Detail Brush...' for consistency 2015-01-15 11:08:46 -05:00
Josh Steffen 19bd95b0a2 Added option to change detail brush color in 2d view 2015-01-15 07:14:03 -05:00
neumond 6f6ee7f713 removed unused flag 2014-03-25 19:15:58 +04:00
neumond 27946b2e13 Zoom option in preferences 2014-03-24 07:46:49 +04:00
neumond 09c0da616c Improved mousewheel zoom-in 2014-03-24 06:57:46 +04:00
Jay Dolan 73b5b0dca7 Merge pull request #255 from ericwa/clang
Use clang on OS X instead of gcc48
2014-01-20 04:38:10 -08:00
Eric Wasylishen adbace1da2 Use clang on OS X instead of gcc48
Also - add 'pkgconfig' to list of MacPorts to install, as it's a required dependency.
2014-01-19 22:25:08 -07:00
Timothee 'TTimo' Besset 5b1bb1ce7e asdf 2013-12-28 10:25:07 -06:00
Timothee 'TTimo' Besset f3132c982b asdf 2013-12-28 10:24:29 -06:00
Timothee 'TTimo' Besset 64d8539105 rawwr 2013-12-28 10:23:45 -06:00
Timothee 'TTimo' Besset 00d0891ee4 also, markup and stuff 2013-12-28 10:20:07 -06:00
Timothee 'TTimo' Besset 46a144e7cd updated OSX instructions 2013-12-28 10:17:42 -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
Timothee Besset 10bcc6548f older glib compat fix 2013-11-20 20:21:58 +00:00
Timothee "TTimo" Besset 26d8547ea0 Merge pull request #245 from jdolan/master
Stabilize BSP monitoring code
2013-11-19 19:53:47 -08:00