gtkradiant/plugins
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
..
eclassfgd MSVC8: change output dir rules to put binaries into install/ 2008-04-25 02:17:12 +00:00
entity * fixed warnings 2008-06-26 11:40:59 +00:00
image * reactivated some old quake2 code 2008-07-05 08:53:43 +00:00
imagehl MSVC8: change output dir rules to put binaries into install/ 2008-04-25 02:17:12 +00:00
imagem8 * fixed warnings 2008-06-26 11:40:59 +00:00
imagepng * reactivated WXY_Print function to generate screenshots from the xy window 2008-06-27 15:09:36 +00:00
imagewal * fixed warnings 2008-06-26 11:40:59 +00:00
map * fixed warnings 2008-06-26 11:40:59 +00:00
mapxml MSVC8: change output dir rules to put binaries into install/ 2008-04-25 02:17:12 +00:00
model MSVC8: change output dir rules to put binaries into install/ 2008-04-25 02:17:12 +00:00
sample MSVC8: change output dir rules to put binaries into install/ 2008-04-25 02:17:12 +00:00
shaders * fixed warnings 2008-06-26 11:40:59 +00:00
spritemodel MSVC8: change output dir rules to put binaries into install/ 2008-04-25 02:17:12 +00:00
surface * divVerent's patch for the brush primitives surface dialog (fixed segfault due to NULL pointer) 2008-07-10 08:30:47 +00:00
surface_heretic2 * more translateable strings 2008-07-05 07:14:52 +00:00
surface_quake2 * more translateable strings 2008-07-05 07:14:52 +00:00
surface_ufoai * more translateable strings 2008-07-04 22:11:30 +00:00
textool * removed unnecessary gi18n.h inclusions 2008-06-26 14:30:58 +00:00
vfspak * reactivated WXY_Print function to generate screenshots from the xy window 2008-06-27 15:09:36 +00:00
vfspk3 * reactivated WXY_Print function to generate screenshots from the xy window 2008-06-27 15:09:36 +00:00
vfswad * fixed warnings 2008-06-26 11:21:13 +00:00