Commit graph

790 commits

Author SHA1 Message Date
Pan7
930bd66b87 Fix for a crash 2015-09-28 23:39:57 +02:00
Pan7
ae48794e84 Not using static xml library 2015-09-25 09:08:28 +02:00
Pan7
691cd9f73f Patch Inspector starts with col and row 1 in the gui 2015-09-19 10:49:31 +02:00
Pan7
9707f8aafd Patch inspector update, surface inspector look 2015-09-18 21:37:58 +02:00
Pan7
99b97a59a1 Win fallback for non associated shader files 2015-09-18 15:45:00 +02:00
Pan7
0982631313 Fix texture browser texture setting 2015-09-17 14:53:17 +02:00
Pan7
b1ae9d4c15 Fix default shader for entities 2015-09-17 08:49:08 +02:00
Pan7
607b83db41 Default shader for entities per *.game file 2015-09-16 21:58:01 +02:00
Pan7
2f05c71d37 Using Sys_FPrintf with SYS_WRN and SYS_ERR 2015-09-16 16:11:16 +02:00
Pan7
9ab3f77fb3 Entity info -> Focus entity/brush 2015-09-16 14:36:06 +02:00
Pan7
d14c77696f Fixing Entity info, adding parent to dialogs, setting (default) focus 2015-09-16 10:55:25 +02:00
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