Commit graph

411 commits

Author SHA1 Message Date
Timothee Besset
121e2d2d60 Merge branch 'master' of github.com:TTimo/GtkRadiant 2017-02-25 17:19:50 -06:00
Timothee Besset
03f5911b57 issue #380 and friends. the windows path was reading cursor pos via gdk_window_get_pointer and setting via SetCursorPos, doing some bs coord adjustment based on information read from SPI_GETWORKAREA. 2017-02-25 17:19:39 -06:00
Timothee "TTimo" Besset
36ebd24fb4 Merge pull request #408 from Pan7/cam2angles
Camera to angles, store entity key and value for the current pitch, yaw and roll of the camera
2017-02-25 15:27:27 -06:00
Timothee "TTimo" Besset
ceb9a38be5 Merge pull request #402 from Pan7/fixnarrow
Fix gcc warning narrowing conversion of g_MaxWorldCoord
2017-02-25 14:46:49 -06:00
Timothee "TTimo" Besset
55edfadcd9 Merge pull request #400 from Pan7/Fixgtk1
Fix Warning pango_ft2_get_context is deprecated
2017-02-25 14:42:40 -06:00
Pan7
fd952d4775 Camera to angles, store entity key and value for the current pitch, yaw and roll of the camera 2017-02-25 15:46:32 +01:00
Pan7
8ff399011d Fix gcc warning narrowing conversion of g_MaxWorldCoord 2017-02-22 00:44:05 +01:00
Pan7
f514d43e37 Fix Warning pango_ft2_get_context is deprecated 2017-02-21 16:57:49 +01:00
TTimo
a26c818a1e remove the old .vcproj 2017-01-01 09:08:37 -06:00
TTimo
d66c0b02a7 Merge branch 'master' of github.com:TTimo/GtkRadiant 2017-01-01 08:37:14 -06:00
Timothee "TTimo" Besset
0977acea07 Merge pull request #375 from Pan7/fixmain
Fix gcc warning item may be used uninitialized in this function
2017-01-01 08:35:27 -06:00
TTimo
ec670ab48f remove unused tex_palette 2017-01-01 08:34:13 -06:00
Jay Dolan
5938d4e49f Fix a handful of compiler warnings. 2016-12-31 16:02:08 -05:00
Jay Dolan
cdc2dbff32 More texture suffix checks for DarkPlaces effect texture names. 2016-09-15 16:27:55 -04:00
Pan7
5b342944e6 Fix gcc warning item may be used uninitialized in this function 2016-08-23 13:49:43 +02:00
Pan7
f502093f8e Fix missing clamps for stvef 2016-08-17 00:30:32 +02: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
Timothee "TTimo" Besset
9cb253c43b Merge pull request #353 from Pan7/shaderfallback
Win fallback for non associated shader files
2016-06-11 13:00:17 -05:00
Pan7
7ae40ed73c Win fallback for non associated shader files 2016-05-16 22:49:20 +02: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
Pan7
57daf1d8c5 MiniDump for msvc 2016-04-11 22:16:12 +02:00
Mateos81
b298a72b25 Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix 2016-03-12 20:07:23 +01:00
Mateos81
a0e076ce9b Alignments in code. 2016-03-12 20:05:45 +01:00
Timothee "TTimo" Besset
58d61bb3a8 Merge pull request #331 from zturtleman/filter-miscmodel-eclass
Filter misc_model etc by eclass instead of each entity name
2016-01-10 10:50:06 -06: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
8d057ab8ea Filter misc_model etc by eclass instead of each entity name
This makes the recently added "misc_model_breakable" be filtered and
removes the redundant list of model entity names.
2015-11-08 17:47:34 -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
3a6dd7a66c Merge pull request #323 from Mateos81/NumericKeypad
Numeric keypad related shortcuts
2015-10-31 09:39:03 -05:00
Timothee "TTimo" Besset
1189ebe4d4 Merge pull request #319 from Pan7/entanglearrow
Angle arrow for entities with angle and fixed size
2015-10-31 09:37:50 -05:00
Timothee "TTimo" Besset
803721278d Merge pull request #326 from Pan7/fixconshrink
Fix shrinking console
2015-10-31 09:35:56 -05:00
Mateos81
4cf9cfef94 Adjusted middle XYZ position 2015-10-31 14:12:44 +01:00
Mateos81
b4ea54da9c XYZ position adjusted
With either show_axis true or false.
2015-10-31 12:47:35 +01:00
Ensiform
cb7276babf Adds misc_model_breakable entity rendering support for Jedi Academy. 2015-10-09 10:59:01 -05:00
Pan7
a9d397f988 Merge pull request #324 from Mateos81/DisplaySizeInfo
Forgot XZ and YZ views, sorry again
2015-10-09 02:35:45 +02:00
Pan7
86a0a8d8c2 Fix shrinking console 2015-10-07 11:06:01 +02:00
Mateos81
242a5aa962 Forgot XZ and YZ views, sorry again 2015-10-06 18:22:26 +02:00
Mateos81
98476ca2e6 Replaced spaces by tabs... Sorry ^^' 2015-10-06 18:09:05 +02:00
Mateos81
565a183cef Step 2: Alt + Numeric Keypad filters 2015-10-05 23:20:30 +02:00
Mateos81
c961152408 Step 1: Numeric Keypad changes Grid Size 2015-10-05 23:11:24 +02:00
Pan7
1a70de0efe Angle arrow for entities with angle and fixed size 2015-10-04 10:53:05 +02:00
Timothee "TTimo" Besset
47ee49411b Merge pull request #318 from Pan7/entdef
Fix (entity class) def file parsing
2015-10-03 12:31:15 -05:00
Pan7
b0ca831d84 Fix (entity class) def file parsing 2015-10-03 19:26:12 +02:00
Timothee "TTimo" Besset
6c81fef524 Merge pull request #317 from Mateos81/DisplaySizeInfo
DisplaySizeInfo: Lower x print + Add a space after the ':' char + Tabs instead of spaces.
2015-10-03 11:58:55 -05:00
Timothee "TTimo" Besset
6ab189f0b1 Merge pull request #313 from ensiform/misc_model_static_fix
Jedi Academy misc_model_static support for radiant.
2015-10-03 11:50:10 -05:00
Timothee "TTimo" Besset
9154ce75a7 Merge pull request #306 from Pan7/min3dmspeed
Min speed for 3d mouse velocity
2015-10-03 11:47:11 -05:00
Mateos81
cb00cebbb4 DisplaySizeInfo 2015-10-03 00:01:48 +02:00
Ensiform
cbab8835f9 C++11 and newer reserves X"foo" and "bar"Y for string literal syntax.
This patch fixes the instances that were found by MSVC 2015 compiling so far.
2015-09-29 18:35:44 -05:00
Ensiform
401dc19c39 Jedi Academy misc_model_static support for radiant.
This patch adds misc_model_static model rendering for radiant and tidies up the string check code for model classnames in a couple of places.
2015-09-29 16:55:01 -05:00
Pan7
3496e421c6 Min speed for 3d mouse velocity 2015-09-28 15:22:37 +02:00
Timothee "TTimo" Besset
97ee2b51bd Merge pull request #301 from Pan7/openfiles
Increase the max open files to its maximum for msvc
2015-09-27 10:38:35 -05:00
Pan7
ac95505d93 Increase the max open files to its maximum for msvc 2015-09-26 22:47:39 +02:00
Timothee "TTimo" Besset
b255bc6e41 Merge pull request #300 from Pan7/faceselect
Switching the key bindings for single face select (ctrl+shift+LMB) wi…
2015-09-26 12:18:45 -05:00
Pan7
296ab55ef7 Switching the key bindings for single face select (ctrl+shift+LMB) with multi face select (ctrl+shift+alt+LMB) 2015-09-26 12:02:09 +02:00
Pan7
3ac658ce04 Patch Inspector menu item 2015-08-06 23:01:08 +02: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
Eric Wasylishen
12bc0b1633 Add basic quake1 support to preferences.{h,cpp} 2015-05-26 21:23:29 -06: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
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
3d3418e77f Merge pull request #280 from bigjilm/master
Option to color detail brushes in 2d views
2015-03-08 10:20:54 -05:00
Jay Dolan
6a5412d95c Updates for Quake2World -> Quetoo project renaming. 2015-03-08 09:55:36 -04: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
Timothee "TTimo" Besset
d12e955133 wtf. better 2013-11-26 16:11:55 -06:00
Timothee Besset
10bcc6548f older glib compat fix 2013-11-20 20:21:58 +00:00
jdolan
8520a7c3ae Silly debug statement. 2013-11-19 21:23:36 -05:00
jdolan
a6934fb21b Fix umpteen fails in the BSP monitoring state management. Probably introduce 1 or 2 new ones. 2013-11-19 21:15:06 -05:00
jdolan
084169f348 Re-introduce 'quake2' flag is 'idTech2' flag for properly launching legacy games. 2013-10-05 15:21:27 -04:00
jdolan
5101b5b0aa Setup engine, enginepath, executablespath and prefix more thoroughly for q2w.game. 2013-10-05 11:21:44 -04:00
jdolan
7c0ca95b7b Use executables path for launching engine. This is defaulted to engine path for most games, but adjusted for those which have their binaries in a different directory (e.g. Quake2World). 2013-10-05 11:20:49 -04:00
Timothee "TTimo" Besset
99e8d5c211 Remove some old quake2 support code that is not being used in this new implementation of q2/q2w support. Set the BSP monitoring pref to off since q2wmap does not support it atm. 2013-09-22 16:07:47 -05:00
Timothee "TTimo" Besset
69db7ec003 cleanup 2013-09-22 15:53:34 -05:00
Timothee "TTimo" Besset
1ea5782efb only show the engine directory for Q2 and Q2W installs 2013-09-14 17:14:25 -05:00
Timothee "TTimo" Besset
fcc637e9de code needs fixing to compile/work on windows. put in #ifdef for now 2013-09-14 15:47:10 -05:00
jdolan
9760c8c243 Poor-man's BSP monitoring on UNIX: capture stdout and stderr for legacy BSP tools, and append to the Radiant console. 2013-09-14 10:06:39 -04:00
jdolan
10569d4e0c Attempt to resolve prefix_win32 support on Windows. Support for m_strHomeGame was previously conditionalized for Linux and Mac only. Also, try to fix a few OS-specific path issues by using G_DIR_SEPARATOR. 2013-09-13 10:07:17 -04:00
jdolan
e3d0f74cdc Rather than trod on X11 keysyms, just check the meta keys in addition to the alt keys in Sys_AltDown. This way, if someone has a working X11 on Mac and they prefer to actually use their Alt keys, they can. The rest of us can use Cmd. 2013-09-12 12:16:43 -04:00
jdolan
16625f0e7f Use Cmd instead of the (broken) Alt keys on Mac. 2013-09-11 20:50:43 -04:00
Timothee Besset
64332fb43d misc - having a look at brush primitives stuff 2013-09-08 13:28:08 +01:00
Timothee "TTimo" Besset
5aa744b026 misc fixes, reviewed the urt q3map2 code 2013-09-07 17:39:31 -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
Timothee "TTimo" Besset
61aa13c1f9 fix another edge case in the floating texture window management 2013-08-24 08:17:05 -05:00
Timothee "TTimo" Besset
f2ab6576c6 Merge branch 'master' of https://github.com/TTimo/GtkRadiant.git 2013-08-24 08:01:05 -05:00
Christian Ratzenhofer
32aee4bd50 Add support for RTCW to the game setup dialog 2013-08-21 12:40:08 +02:00
Timothee "TTimo" Besset
a7ef4116ff Disable T key to hide group dialog. Would have to check that no textbox is active, pita. Just use Escape. 2013-08-09 22:59:23 -05:00
Timothee "TTimo" Besset
21445bdc19 Merge pull request #211 from QBall147/master
Get rid of the rest of those gtk deprecated warnings for gtk-spin-button, also added 'Always caulk a new brush' to preferences
2013-07-30 08:06:54 -07:00
Chris Brooke
949547b125 Added a toggle button to the main toolbar for creating Structural/Detail brushes 2013-07-26 22:25:56 +01:00
Chris Brooke
449340a95e Added 'Always use Caulk for new brushes' to preferences 2013-07-25 23:55:21 +01: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
Walter Julius Hennecke
1777877774 Fix STVEF game support install routine 2013-07-21 13:20:00 +02:00
Chris Brooke
3d1b78ed2f fix for broken bsp menu (broken by increasing MAX_TEXTUREDIRS to 1024) 2013-07-19 07:08:28 +01:00
jdolan
6ad5f6bfdc Added default_scale for Q2 and Q2W. 2013-07-09 11:58:32 -04:00
Timothee "TTimo" Besset
0389190dce Merge branch 'master' of https://github.com/jdolan/GtkRadiant.git 2013-07-07 14:13:17 -05:00
jdolan
dc575b2e2f Fix uninitialized variable warnings and really retarded syntax (which I think might have had unintended side effects.) Clipper tool works in all 3 view types. 2013-07-07 09:47:03 -04:00
jdolan
abfecbecfa Comment out unused variable. This one looks like we could potentially need it again someday, so I'll not delete it. 2013-07-07 09:39:35 -04:00
jdolan
8184ba89d4 Remove unused static function ResizeImage. I'm not sure why we would want this in qgl.c to begin with. 2013-07-07 09:37:47 -04:00
jdolan
14b0178515 set no_patch=true for UFO:AI as well. 2013-07-07 09:33:44 -04:00
jdolan
128d4669c5 set no_patch=true for Quake2 and Quake2World. 2013-07-07 09:33:19 -04:00
jdolan
6b3915d8f2 Fully conditionalize the prefab path preference. Fixes the last compiler warning in preferences.cpp. 2013-07-07 09:28:31 -04:00
jdolan
23e78ebdf4 Fix another char cast. 2013-07-07 09:24:23 -04:00
jdolan
c8fb5b9b5b Remove unused variable. Fix char cast. Finish conditionalizing of splash_screen. Addresses all of the compiler warnings for main.cpp. 2013-07-07 09:22:34 -04:00
Timothee Besset
4867115b1d Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-07 14:21:03 +01:00
jdolan
576823a4e3 Fix another char cast in gtkmisc.cpp. 2013-07-07 09:16:00 -04:00
jdolan
fad4aff018 Use newer, simpler API to set window icon, and update window icon with current branding (affects Mac / Linux only). 2013-07-07 09:12:25 -04:00
jdolan
2bd349d6c6 Fix char cast compiler warning and print more descriptive error message when loading of pixmap fails. 2013-07-07 09:11:42 -04:00
Timothee "TTimo" Besset
c93f7a1ecc cosmetic - this code isn't used anyway, surface inspector logic has moved to a plugin? 2013-07-07 08:08:38 -05:00
jdolan
e485edc236 Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-07 01:57:35 -04:00
jdolan
fa738a6f22 Add new game preferences variable for executables path. This allows games whose binaries live outside of the engine / data path to be resolved in .proj templates and the like. The executables path can be set via the game preferences dialog.
This changeset also cleans up the game preferences dialog and especially the game configuration dialog by adding frames and fixing padding where necessary.

Lastly, this changeset simplifies the prefix / prefix_win32 code to work like the rest of the conditionalized template attributes (via macro).

Oh, I almost forgot, the CGameInstall::Run() method is a bit less ugly now too. It's still very ugly.
2013-07-07 01:56:38 -04:00
jdolan
5a73ff3997 Reset prop to NULL before re-testing it. Also conditionalize .game generation. 2013-07-06 20:37:50 -04:00
Timothee "TTimo" Besset
6326d84195 bump the number of texture directories, 128 -> 1024. issue #186 2013-07-06 18:38:39 -05:00
Timothee "TTimo" Besset
e82eb1e37e In addition to Esc key, the ViewEntityInfo and ViewTextures keys will now hide the floating dialog again 2013-07-06 17:24:05 -05:00
Timothee "TTimo" Besset
d7fde9f5da Fix issue #192 - flip the notebook page when hiding the dialog, forces the texture window to redraw correctly on next show 2013-07-06 16:48:47 -05:00
Timothee "TTimo" Besset
1c1fa7173a cosmetic 2013-07-06 16:03:25 -05:00
Timothee "TTimo" Besset
5df79a9c62 tweak the GL widget font (for windows mostly) 2013-07-05 15:55:09 -05:00
jdolan
31ad3cbdeb #196 Workaround to get internal clipboard working on Mac. Even if retrieving the selection from the OS fails, if we still have something in the local clipboard buffer, use it. This at least restores the standard copy-paste workflow within the editor. @TTimo please review. 2013-07-04 22:40:41 -04:00
jdolan
b992d051fb Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2013-07-04 20:33:01 -04:00
jdolan
8a8c460048 Add light_spot to the list of recognized light classes. 2013-07-04 20:32:30 -04:00
Timothee "TTimo" Besset
06582069d5 Merge pull request #188 from UberGames/STVEFSupport
STVEF support
2013-06-30 09:35:25 -07:00
jdolan
217e3b51ad Fix Q2Pack path name in generated .game file. 2013-06-29 11:04:49 -04:00
jdolan
83333305cd Remove support for --libgl and Q3R_LIBGL. We should instead rely on GDK_GL_LIBGL_PATH, as GtkGlExt does and we must agree with it. 2013-06-29 10:17:08 -04:00
jdolan
db226fb8d8 Add .obj as a supported filetype because the rest we support are already there. 2013-06-29 10:15:51 -04:00
Walter Julius Hennecke
15b4df2caf Added support for STVEF gamepack. 2013-06-29 14:02:26 +02:00
Walter Julius Hennecke
8c35fd8d9f Bugfix for STVEF support
Fixed a bug for mp mapping where the hm_entities.def was ignored instead
of the sp_entities.def.
2013-06-29 13:44:33 +02:00
jdolan
625eaa9502 Fix 64 bit windows q3map2 visibility. 2013-06-27 17:48:22 -04:00
jdolan
dac352274a Merged upstream. 2013-06-27 16:57:35 -04:00
jdolan
78edf4e227 Make Radiant honor GDK_GL_LIBGL_PATH. This way Radiant and GtkGLExt can use the same instance of libGL.dylib. Failure to do this results in unpredictable and wrong behavior from GL. 2013-06-27 16:02:47 -04:00
jdolan
482dc447ab Yea, that's definitely a crash if you don't return there, even on Apple (wtf?). 2013-06-27 10:02:03 -04:00
Timothee Besset
7c0f42e455 multi vertex select and manipulation 2013-06-23 00:48:21 +01:00
Timothee Besset
68a2a18ec8 fixup the q2w patch 2013-06-22 23:11:25 +01:00
jdolan
b7788b51fd Add prefix_win32 to generated Q2W.game file. 2013-06-22 22:31:26 +01:00
jdolan
56d46ea561 #165 Add prefix_win32 support to game packs. 2013-06-22 22:31:17 +01:00
Timothee Besset
5d08c3e9ec add *.ogg and *.wav to the sound types selection 2013-06-22 21:56:11 +01:00
Timothee "TTimo" Besset
6b62952832 control 32/64 bit version of q3map2 for the Windows build. requires a restart of the editor (and regen of the project file) 2013-06-15 21:03:14 -05:00
Timothee Besset
5d0b2a2b94 fix crashes: libxml2 static linking, turn off libintl stuff 2013-06-03 03:23:11 +01:00
jdolan
246085906e Add prefix_win32 to generated Q2W.game file. 2013-06-02 10:35:21 -04:00
jdolan
e67e9d6655 #165 Add prefix_win32 support to game packs. 2013-06-02 10:12:14 -04: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