Commit Graph

30 Commits

Author SHA1 Message Date
Pan7 5105fc5db8 Using Sys_FPrintf with SYS_WRN and SYS_ERR 2016-05-16 21:20:20 +02: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
Mateos81 242a5aa962 Forgot XZ and YZ views, sorry again 2015-10-06 18:22:26 +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
Mateos81 cb00cebbb4 DisplaySizeInfo 2015-10-03 00:01:48 +02: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
Timothee "TTimo" Besset f555e3d13e Merge pull request #261 from neumond/imzoom
Improved mousewheel zoom-in
2015-03-08 10:23:43 -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 19bd95b0a2 Added option to change detail brush color in 2d view 2015-01-15 07:14:03 -05: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
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
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 a269593afe Low hanging fruit: bring the number of compiler warnings down from 264 to 33. 2013-05-03 02:57:29 -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 995f6a1011 * divVerent's patch for the brush primitives surface dialog (fixed segfault due to NULL pointer)
* Quote http://zerowing.idsoftware.com/pipermail/gtkradiant/2008-July/011094.html : Attached to this message is a patch for a "somewhat working" brush
primitives surface dialog. It is an ugly hack, as it converts between
fake texdef notations and brush primitives whenever values are needed.
Had to fix an accuracy bug: the surface dialog rounded all rotation
values to integer angles, which SEVERELY broke things for me (changed
the Gtk spin object to use 4 digits, which is enough for me).

Also, I changed the fake texdef / brush primitives conversions to use
long double internally, as float's roundoff errors were quite visible to
me when testing.

Hope the remaining roundoff errors from converting back and forth won't
kill me, but it worked for a simple map example.

Also, I had to separate out "Snap to grid" and "Don't clamp" into two
separare options. They now mean:

- Snap to grid: snaps drag/etc. actions to the grid
- Don't clamp: disable brush point snapping during many operations, like
  merely shifting brushes, editing texturing parameters, map loading,
  etc.

The reason is that I do need the grid, but I don't want to get my
objects messed up by the snapping in my map. As I am using free
rotations, this DOES change quite much.

The config.py change is needed for compilation on Debian stable;
Debian's scons does not use the CFLAGS variable, but just CCFLAGS and
CXXFLAGS. In newer scons versions, CFLAGS is _shared_ flags for C and
C++, so if you want to require these, you don't need to include the
CFLAGS in CXXFLAGS too.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@301 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-10 08:30:47 +00: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 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 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