Commit graph

26 commits

Author SHA1 Message Date
TTimo
db467908ad Re-enable intel HD GL workaround, still needed .. see issue #512 2017-08-05 15:50:28 -05:00
Pan7
2793befffd Fix warning equality comparison with extraneous parentheses 2 2017-07-09 15:29:30 +02:00
Timothee Besset
e02a9194b7 clean out a bunch of obsolete vendor and hardware specific GL workarounds 2017-05-27 17:15:06 -05:00
TTimo
e4a1a3c850 Merge branch 'InvalidMiscModelFix' of https://github.com/Mateos81/GtkRadiant into Mateos81-InvalidMiscModelFix 2017-05-07 16:11:11 -05:00
Christophe Mateos
6ba4b02cbc Enough. 2017-05-05 23:38:07 +02:00
Christophe Mateos
d25fc9b847 Rollback again. 2017-05-05 23:27:33 +02:00
Christophe Mateos
877f0b4c2f Finalizing alignments rollback. 2017-05-05 10:40:38 +02:00
Christophe Mateos
fba3bd3f4d Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix
# Conflicts:
#	plugins/entity/entity_entitymodel.h
2017-05-04 21:27:04 +02:00
Pan7
5c224421bc Replace deprecated gdk_cursor_new 2017-04-10 17:23:08 +02:00
Pan7
bdb1c3abaa Replacing deprecated GTK functions 2017-03-15 11:58:36 +01:00
Timothee "TTimo" Besset
cb1e21565b Merge pull request #429 from Pan7/gtkimpro
gtk improvements
2017-03-12 12:41:24 -05:00
Pan7
9f22a81a64 gtk improvements 2017-03-10 22:44:05 +01:00
Pan7
afca61523a Use GTK2 events 2017-03-04 18:36:21 +01:00
Pan7
5105fc5db8 Using Sys_FPrintf with SYS_WRN and SYS_ERR 2016-05-16 21:20:20 +02:00
Mateos81
a0e076ce9b Alignments in code. 2016-03-12 20:05:45 +01: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
neumond
09c0da616c Improved mousewheel zoom-in 2014-03-24 06:57:46 +04:00
Timothee TTimo Besset
830125fad0 uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
TTimo
dc4e125df2 apply back 335 and 336, will need to update deps and put a zip out
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@343 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-11-26 19:50:08 +00:00
TTimo
449fdbd6b7 revert 335 and 336, breaking the win32 build
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@337 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-11-26 05:58:34 +00:00
rambetter
c1dbb77342 DONE:
- Removed usage of gdk_gl_font_use_pango_font() which is no longer in
  GtkGLExt Git.  Radiant now compiles on Linux From Scratch using current
  versions of software.
- As a side effect to the above, font inconsistency issues (like really
  large intermittent font in GL views) are gone.  Font looks better too.
- Changing algorithm for labeling grid view to be more robust.  Uses new
  functions gtk_glwidget_font_ascent() and gtk_glwidget_font_descent(),	and
  uses locally defined "cushion" variables.
- In xywindow.cpp, changing stepx and stepy based on 40 pixels, not 32.
  When coordinate numbers are very large the labels get too cluttered.
- Added	calls to gtk_gl_init() and gdk_gl_init() in main().  This is
  recommended according	to the GtkGLExt	reference manual.
- Tested all changes on	Ubuntu 10.10 and Debian	5.0 (Lenny).
TODO:
- In glDrawPixels(), instead of using a 32 bit pixel with
  GL_UNSIGNED_INT_8_8_8_8, see if we can use an 8 bit variant where each
  byte defines opacity and the GL current color is used.  In other words, try
  to use the FT_Bitmap directly without conversion.
- Examine every other use of gtk_glwidget_print_string() and
  gtk_glwidget_print_char() to make sure the positions are determined
  accurately.
NOT TODO:
- Decided not to use glBitmap() with display lists because it would
  disallow pretty antialiased fonts.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@335 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-11-16 03:42:28 +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
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
051578cb3b added file copy tree for the game packs - lists supported games
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@197 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-02-25 04:17:23 +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