Commit graph

39 commits

Author SHA1 Message Date
Jay Dolan
64f12998e9 Use Gtk theme default text color for console.
Use the theme's default text color for normal text output. For folks using dark Gtk themes, the black text was unreadable.
2019-02-23 11:15:33 -05:00
Thomas Debesse
0fd04ccf85 always provide notex
This adds a special VFS providing textures/radiant/notex and shadernotex.

This way, game packs does not have to provide them using the hardcoded
textures/radiant/[shader]notex path (some games prefer other prefixes).

It also allows GtkRadiant to not crash at startup when a wrong game
path is set.

It would also prevents radiant to fail where it tries to load these
textures on very early stage when the whole VFS is not yet loaded,
for example on pk3dir scenario.

The notex and shadernotex textures come from Unvanquished's tex-common
package and are distributed under public domain-like CC0 1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/

See: https://github.com/UnvanquishedAssets/tex-common_src.dpkdir/blob/master/about/tex-common.txt
2018-01-23 00:18:45 +01:00
Thomas Debesse
a3773852a4 preproc: add a FreeBSD condition everytime there is Linux or MacOS 2017-08-30 14:20:01 +00:00
Pan7
23018aaf4d Replace deprecated GDK_DISPLAY with gdk_x11_get_default_xdisplay 2017-05-28 01:09:56 +02:00
Pan7
7e95dbb1e0 Texture directory list 2017-05-02 02:15:35 +02:00
Pan7
0402765f7b Replace deprecated gtk combo 2017-04-24 16:32:26 +02:00
Timothee "TTimo" Besset
ba1e7f2efb Merge pull request #450 from Pan7/deprcursor2
Replace deprecated gdk_cursor_new
2017-04-22 13:05:20 -05:00
Pan7
5c224421bc Replace deprecated gdk_cursor_new 2017-04-10 17:23:08 +02:00
Pan7
ddbf0ec597 Replace deprecated GtkSignalFunc, gtk_container_children 2017-04-03 19:26:13 +02:00
Pan7
626c2ef7cd More gtk i81n 2017-03-16 12:40:56 +01:00
Pan7
bdb1c3abaa Replacing deprecated GTK functions 2017-03-15 11:58:36 +01:00
Pan7
ec310f779c Fix (3d view) mouse problem with using gdk 2017-03-02 16:54:38 +01: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
Pan7
5105fc5db8 Using Sys_FPrintf with SYS_WRN and SYS_ERR 2016-05-16 21:20:20 +02:00
jdolan
5101b5b0aa Setup engine, enginepath, executablespath and prefix more thoroughly for q2w.game. 2013-10-05 11:21:44 -04: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
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
625eaa9502 Fix 64 bit windows q3map2 visibility. 2013-06-27 17:48:22 -04: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
jdolan
a269593afe Low hanging fruit: bring the number of compiler warnings down from 264 to 33. 2013-05-03 02:57:29 -04:00
freemancw
7cf0bccc19 changed title of save dialog to make more sense 2012-12-17 05:16:52 -05:00
Chris Brooke
b8095edbb5 Snapshots fixed 2012-07-14 10:46:48 +01:00
Timothee 'TTimo' Besset
2edb714346 asdf 2012-07-07 12:35:16 -05:00
Timothee 'TTimo' Besset
b2d34e0367 support versioning the project template and triggering regeneration of the user project 2012-07-04 14:28:32 -05:00
Clinton Freeman
a590514178 Added saving to quit dialog prompt 2012-05-09 21:36:03 -04:00
Clinton Freeman
24b3efb6ec Reworked gtk_MessageDialog to have icons, center
the window, etc.
2012-05-09 20:51:27 -04:00
Timothee TTimo Besset
830125fad0 uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
mattn
04c7eb042d * reactivated WXY_Print function to generate screenshots from the xy window
* removed all the references to the old bugzilla links (deadlinks - no longer useful)

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@289 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-27 15:09:36 +00:00
mattn
3138825cde * more translations
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@285 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 17:48:22 +00:00
mattn
d5fc00a4f8 * removed unnecessary gi18n.h inclusions
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@283 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 14:30:58 +00:00
mattn
b98f83c4ee * const stuff
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@281 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 13:57:38 +00:00
mattn
e4b1c1a55c * fixed a lot of compiler warnings (mostly const char * stuff and use of uninitialized data)
* add support for translating radiant (just marked three strings, more to come)


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@264 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 07:52:02 +00:00
TTimo
f33fed31ce misc fixes
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@200 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-02 23:36:20 +00:00
TTimo
1099f571fe basic architecture for game configuration at runtime. writes out a .game, no sanity checks, does not copy any game pak data
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@192 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-12-25 00:10:45 +00:00
TTimo
33efc90892 more eol-style
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@185 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:51:54 +00:00
TTimo
8037810110 transfer from internal tree r5311 branches/1.4-gpl
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@177 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-09-12 18:54:28 +00:00