ported over the 1.5 branch version of q3map2 which is newer

made Visual Studio files work in VS2005 Express
fixed a ton of warnings in VS2005 Express
fixed some compile problems on OpenSUSE 11.0


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@302 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
Forest Hale
2008-07-25 07:31:37 +00:00
parent 995f6a1011
commit 88cea027e6
126 changed files with 6908 additions and 3792 deletions

View File

@@ -182,7 +182,7 @@ float CalculateLightRadius(entity_t * e, bool outer)
if (!outer) {
if (iSpawnFlags & 2)
fIntensity *= .9;
fIntensity *= .9f;
else
fIntensity *= .25f;
}

View File

@@ -1610,7 +1610,7 @@ static void on_lock_valuechange_togglebutton_toggled (GtkToggleButton *togglebut
{
bool is_Locked;
is_Locked = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lock_valuechange_togglebutton));
is_Locked = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(lock_valuechange_togglebutton)) != false;
gtk_widget_set_sensitive( GTK_WIDGET( hscale_value_spinbutton ), is_Locked );
gtk_widget_set_sensitive( GTK_WIDGET( vscale_value_spinbutton ), is_Locked );