Commit graph

779 commits

Author SHA1 Message Date
Pan7
5192b4eaca Replacing deprecated icon loading 2015-09-15 16:18:28 +02:00
Pan7
3784e60fab Camera to angles, store entity key and value for the current pitch, yaw and roll of the camera 2015-09-15 11:11:40 +02:00
Pan7
9c16349a3e Storing label with the classname for the entity creation 2015-09-14 21:55:51 +02:00
Pan7
007cd5e0d4 Ability to have icons for the entity menu items (right click 2d-view menu) 2015-09-14 20:37:16 +02:00
Pan7
5c9c2d44d5 GTK3 mouse/device grab 2015-09-14 11:44:11 +02:00
Pan7
939d0b4288 shaderlist.txt tag hidden, load but hide shader files from texture browser, ie models:hidden 2015-09-13 22:25:33 +02:00
Pan7
efc0056a04 Fix Flush & Reload 2015-09-13 22:07:39 +02:00
Pan7
6b45304644 Fix for GTK 3.16 2015-09-13 19:12:35 +02:00
Pan7
ef4e758bc3 Fix preprocessor String-izing 2015-09-13 15:17:01 +02:00
Pan7
19c079556b Draw or render 2015-09-13 14:42:52 +02:00
Pan7
b009d0794a Missing ifdef USE_GTKGLAREA 2015-09-13 11:04:59 +02:00
Pan7
7dc9eae709 Support for gtkglarea 2015-09-13 10:07:25 +02:00
Pan7
1f11d6019d Beep save option 2015-09-12 05:21:46 +02:00
Pan7
60ee00288d Small adjustments and underline (color) for tagged text in the console 2015-09-12 04:39:34 +02:00
Pan7
9c76371876 Modified ExtractFilePath, ExtractFileName, ExtractFileBase, ExtractFileExtension, strcpy -> Q_strncpyz 2015-09-08 03:09:48 +02:00
Pan7
6e1dd532c4 WIN32 -> _WIN32, _CRT_NONSTDC_NO_DEPRECATE for project files 2015-09-07 03:35:33 +02:00
Pan7
8a3387a765 sprintf -> snprintf 2015-09-07 00:41:21 +02:00
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