Project file update for elbeem
Warning clean up of python project
This commit is contained in:
@@ -312,7 +312,7 @@ ECHO Done
|
||||
RelativePath="..\..\intern\attributes.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\intern\cfgparser.hpp">
|
||||
RelativePath="..\..\intern\cfgparser.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\intern\factory_lbm.h">
|
||||
|
||||
@@ -1,6 +1,22 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 7.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "build_install_all", "build_install_all.vcproj", "{02110D03-59DB-4571-8787-72B3C03B2F2D}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9} = {A90C4918-4B21-4277-93BD-AF65F30951D9}
|
||||
{98330220-47A6-42E0-9DE4-AD0FF5D204D6} = {98330220-47A6-42E0-9DE4-AD0FF5D204D6}
|
||||
{C66F722C-46BE-40C9-ABAE-2EAC7A697EB8} = {C66F722C-46BE-40C9-ABAE-2EAC7A697EB8}
|
||||
{FAF46346-65CC-4DB2-85C4-B99826F79D0C} = {FAF46346-65CC-4DB2-85C4-B99826F79D0C}
|
||||
{B093415D-C0F6-4E76-8F5A-6BC1917BCE9E} = {B093415D-C0F6-4E76-8F5A-6BC1917BCE9E}
|
||||
{E784098D-3ED8-433A-9353-9679415DDDC5} = {E784098D-3ED8-433A-9353-9679415DDDC5}
|
||||
{76D90B92-ECC7-409C-9F98-A8814B90F3C0} = {76D90B92-ECC7-409C-9F98-A8814B90F3C0}
|
||||
{121EC196-8E8A-4937-B0BD-0F114C87D55E} = {121EC196-8E8A-4937-B0BD-0F114C87D55E}
|
||||
{542A9FA1-B7FF-441C-AE15-054DB31D3488} = {542A9FA1-B7FF-441C-AE15-054DB31D3488}
|
||||
{213356A9-3A1F-41DA-9819-1297BCD17DEE} = {213356A9-3A1F-41DA-9819-1297BCD17DEE}
|
||||
{51A348C1-8684-4D67-B980-97B1FC74159B} = {51A348C1-8684-4D67-B980-97B1FC74159B}
|
||||
{8B8D4FC3-3234-4E54-8376-5AB83D00D164} = {8B8D4FC3-3234-4E54-8376-5AB83D00D164}
|
||||
{4B6AFCC5-968C-424A-8F20-76E41B3BEF74} = {4B6AFCC5-968C-424A-8F20-76E41B3BEF74}
|
||||
{E86B7BDE-C33C-4E55-9433-E74C141D7538} = {E86B7BDE-C33C-4E55-9433-E74C141D7538}
|
||||
{B789C2F3-279E-4A85-8F0A-7F7AC068E598} = {B789C2F3-279E-4A85-8F0A-7F7AC068E598}
|
||||
{6B3229F4-2A37-47EE-8B89-9AA046B35193} = {6B3229F4-2A37-47EE-8B89-9AA046B35193}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MoTo", "..\..\moto\make\msvc_7_0\MoTo.vcproj", "{4B6AFCC5-968C-424A-8F20-76E41B3BEF74}"
|
||||
@@ -75,6 +91,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opennl", "..\..\opennl\make
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "elbeem", "..\..\elbeem\make\msvc_7_0\elbeem.vcproj", "{A90C4918-4B21-4277-93BD-AF65F30951D9}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
3DPlugin Debug = 3DPlugin Debug
|
||||
@@ -211,6 +231,14 @@ Global
|
||||
{8B8D4FC3-3234-4E54-8376-5AB83D00D164}.Blender Debug.Build.0 = Blender Debug|Win32
|
||||
{8B8D4FC3-3234-4E54-8376-5AB83D00D164}.Blender Release.ActiveCfg = Blender Release|Win32
|
||||
{8B8D4FC3-3234-4E54-8376-5AB83D00D164}.Blender Release.Build.0 = Blender Release|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.3DPlugin Debug.ActiveCfg = 3DPlugin Debug|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.3DPlugin Debug.Build.0 = 3DPlugin Debug|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.3DPlugin Release.ActiveCfg = 3DPlugin Release|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.3DPlugin Release.Build.0 = 3DPlugin Release|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.Blender Debug.ActiveCfg = Blender Debug|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.Blender Debug.Build.0 = Blender Debug|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.Blender Release.ActiveCfg = Blender Release|Win32
|
||||
{A90C4918-4B21-4277-93BD-AF65F30951D9}.Blender Release.Build.0 = Blender Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Version="7.0"
|
||||
Name="NG_loopbacknetwork"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
@@ -323,8 +323,7 @@
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Version="7.0"
|
||||
Name="NG_network"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
@@ -323,8 +323,7 @@
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
|
||||
@@ -295,9 +295,9 @@ static PyObject *KeyBlock_getData( PyObject * self )
|
||||
mv->co[0]=vert->co[0];
|
||||
mv->co[1]=vert->co[1];
|
||||
mv->co[2]=vert->co[2];
|
||||
mv->no[0] = vert->no[0] / 32767.0;
|
||||
mv->no[1] = vert->no[1] / 32767.0;
|
||||
mv->no[2] = vert->no[2] / 32767.0;
|
||||
mv->no[0] = (float)(vert->no[0] / 32767.0);
|
||||
mv->no[1] = (float)(vert->no[1] / 32767.0);
|
||||
mv->no[2] = (float)(vert->no[2] / 32767.0);
|
||||
|
||||
mv->uvco[0] = mv->uvco[1] = mv->uvco[2] = 0.0;
|
||||
mv->index = i;
|
||||
|
||||
@@ -1079,7 +1079,7 @@ static int Lamp_setMode( BPy_Lamp * self, PyObject * value )
|
||||
sprintf ( errstr , "expected int bitmask of 0x%04x", bitmask );
|
||||
return EXPP_ReturnIntError( PyExc_TypeError, errstr );
|
||||
}
|
||||
param = PyInt_AS_LONG ( value );
|
||||
param = (short)PyInt_AS_LONG ( value );
|
||||
|
||||
if ( ( param & bitmask ) != param )
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
@@ -1222,7 +1222,7 @@ static int Lamp_setComponent( BPy_Lamp * self, PyObject * value,
|
||||
return EXPP_ReturnIntError( PyExc_TypeError,
|
||||
"expected float argument in [0.0,1.0]" );
|
||||
|
||||
color = PyFloat_AsDouble( value );
|
||||
color = (float)PyFloat_AsDouble( value );
|
||||
color = EXPP_ClampFloat( color, EXPP_LAMP_COL_MIN, EXPP_LAMP_COL_MAX );
|
||||
|
||||
switch ( (int)closure ) {
|
||||
@@ -1636,7 +1636,7 @@ static PyObject *Lamp_oldsetMode( BPy_Lamp * self, PyObject * args )
|
||||
|
||||
/* check each argument for type, find its value */
|
||||
|
||||
for ( i = PyTuple_Size( args ); i-- ; ) {
|
||||
for ( i = (short)PyTuple_Size( args ); i-- ; ) {
|
||||
name = PyString_AsString ( PySequence_Fast_GET_ITEM( args, i ) );
|
||||
if( !name )
|
||||
return EXPP_ReturnPyObjError ( PyExc_AttributeError,
|
||||
|
||||
@@ -1987,7 +1987,7 @@ static int Material_setColorComponent( BPy_Material * self, PyObject * value,
|
||||
return EXPP_ReturnIntError( PyExc_TypeError,
|
||||
"expected float argument in [0.0,1.0]" );
|
||||
|
||||
param = PyFloat_AsDouble( value );
|
||||
param = (float)PyFloat_AsDouble( value );
|
||||
param = EXPP_ClampFloat( param, EXPP_MAT_COL_MIN, EXPP_MAT_COL_MAX );
|
||||
|
||||
switch ( (int)closure ) {
|
||||
|
||||
@@ -1941,7 +1941,7 @@ static BPy_NMEdge *nmedge_from_index( BPy_NMesh * mesh, int v0idx, int v1idx)
|
||||
{
|
||||
BPy_NMVert *v1=(BPy_NMVert *)PyList_GetItem( mesh->verts, v0idx);
|
||||
BPy_NMVert *v2=(BPy_NMVert *)PyList_GetItem( mesh->verts, v1idx);
|
||||
return new_NMEdge(v1, v2, 0.0, 0);
|
||||
return new_NMEdge(v1, v2, (char)0.0, 0);
|
||||
}
|
||||
|
||||
static BPy_NMEdge *nmedge_from_data( BPy_NMesh * mesh, MEdge *edge )
|
||||
|
||||
@@ -1378,10 +1378,10 @@ static int Texture_setAnimMontage( BPy_Texture * self, PyObject * value )
|
||||
|
||||
for( i = 0; i < 4; ++i ) {
|
||||
self->texture->fradur[i][0] =
|
||||
EXPP_ClampInt ( fradur[i][0], EXPP_TEX_ANIMMONSTART_MIN,
|
||||
(short)EXPP_ClampInt ( fradur[i][0], EXPP_TEX_ANIMMONSTART_MIN,
|
||||
EXPP_TEX_ANIMMONSTART_MAX );
|
||||
self->texture->fradur[i][1] =
|
||||
EXPP_ClampInt ( fradur[i][1], EXPP_TEX_ANIMMONDUR_MIN,
|
||||
(short)EXPP_ClampInt ( fradur[i][1], EXPP_TEX_ANIMMONDUR_MIN,
|
||||
EXPP_TEX_ANIMMONDUR_MAX );
|
||||
}
|
||||
|
||||
@@ -1482,7 +1482,7 @@ static int Texture_setFlags( BPy_Texture * self, PyObject * value )
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
"invalid bit(s) set in mask" );
|
||||
|
||||
self->texture->flag = param;
|
||||
self->texture->flag = (short)param;
|
||||
|
||||
#if 0
|
||||
/* if Colorband enabled, make sure we allocate memory for it */
|
||||
@@ -1554,7 +1554,7 @@ static int Texture_setImageFlags( BPy_Texture * self, PyObject * value,
|
||||
return EXPP_ReturnIntError( PyExc_TypeError, errstr );
|
||||
}
|
||||
|
||||
param = PyInt_AS_LONG( value );
|
||||
param = (short)PyInt_AS_LONG( value );
|
||||
if( ( param & bitmask ) != param )
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
"invalid bit(s) set in mask" );
|
||||
@@ -1646,7 +1646,7 @@ static int Texture_setNoiseBasis( BPy_Texture * self, PyObject * value )
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
"invalid noise type" );
|
||||
|
||||
self->texture->noisebasis = param;
|
||||
self->texture->noisebasis = (short)param;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1672,7 +1672,7 @@ static int Texture_setNoiseBasis2( BPy_Texture * self, PyObject * value,
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
"invalid noise type" );
|
||||
|
||||
self->texture->noisebasis2 = param;
|
||||
self->texture->noisebasis2 = (short)param;
|
||||
|
||||
/*
|
||||
* for other type values, the attribute is "sine", "saw" or "tri",
|
||||
@@ -1688,7 +1688,7 @@ static int Texture_setNoiseBasis2( BPy_Texture * self, PyObject * value,
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
"expected int value of 1" );
|
||||
|
||||
self->texture->noisebasis2 = (int)type;
|
||||
self->texture->noisebasis2 = (short)(int)type;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -1701,9 +1701,9 @@ static int Texture_setRepeat( BPy_Texture * self, PyObject * args )
|
||||
return EXPP_ReturnIntError( PyExc_TypeError,
|
||||
"expected tuple of 2 ints" );
|
||||
|
||||
self->texture->xrepeat = EXPP_ClampInt( repeat[0], EXPP_TEX_REPEAT_MIN,
|
||||
self->texture->xrepeat = (short)EXPP_ClampInt( repeat[0], EXPP_TEX_REPEAT_MIN,
|
||||
EXPP_TEX_REPEAT_MAX );
|
||||
self->texture->yrepeat = EXPP_ClampInt( repeat[1], EXPP_TEX_REPEAT_MIN,
|
||||
self->texture->yrepeat = (short)EXPP_ClampInt( repeat[1], EXPP_TEX_REPEAT_MIN,
|
||||
EXPP_TEX_REPEAT_MAX );
|
||||
|
||||
return 0;
|
||||
@@ -1736,7 +1736,7 @@ static int Texture_setSType( BPy_Texture * self, PyObject * value )
|
||||
return EXPP_ReturnIntError( PyExc_TypeError,
|
||||
"expected int argument" );
|
||||
|
||||
param = PyInt_AS_LONG ( value );
|
||||
param = (short)PyInt_AS_LONG ( value );
|
||||
|
||||
/* use the stype map to find out if this is a valid stype for this type *
|
||||
* note that this will allow CLD_COLOR when type is ENVMAP. there's not *
|
||||
@@ -1959,7 +1959,7 @@ static PyObject *Texture_getAnimLength( BPy_Texture *self )
|
||||
|
||||
if( !attr )
|
||||
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
|
||||
"couldn't get attribute" );return attr;
|
||||
"couldn't get attribute" );
|
||||
|
||||
return attr;
|
||||
}
|
||||
@@ -2124,7 +2124,7 @@ static PyObject *Texture_getFlags( BPy_Texture *self )
|
||||
|
||||
static PyObject *Texture_getHFracDim( BPy_Texture *self )
|
||||
{
|
||||
PyObject *attr = PyInt_FromLong( self->texture->mg_H );
|
||||
PyObject *attr = PyInt_FromLong( (long)self->texture->mg_H );
|
||||
|
||||
if( !attr )
|
||||
return EXPP_ReturnPyObjError( PyExc_RuntimeError,
|
||||
@@ -2634,7 +2634,7 @@ static PyObject *Texture_oldsetImageFlags( BPy_Texture * self, PyObject * args )
|
||||
flag |= thisflag;
|
||||
}
|
||||
|
||||
self->texture->imaflag = flag;
|
||||
self->texture->imaflag = (short)flag;
|
||||
|
||||
Py_INCREF( Py_None );
|
||||
return Py_None;
|
||||
|
||||
@@ -614,7 +614,7 @@ int EXPP_setFloatClamped( PyObject *value, float *param,
|
||||
return EXPP_ReturnIntError( PyExc_TypeError, errstr );
|
||||
}
|
||||
|
||||
*param = EXPP_ClampFloat( PyFloat_AsDouble( value ), min, max );
|
||||
*param = EXPP_ClampFloat( (float)PyFloat_AsDouble( value ), min, max );
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -634,13 +634,13 @@ int EXPP_setIValueClamped( PyObject *value, void *param,
|
||||
|
||||
switch ( type ) {
|
||||
case 'b':
|
||||
*(char *)param = EXPP_ClampInt( number, min, max );
|
||||
*(char *)param = (char)EXPP_ClampInt( number, min, max );
|
||||
return 0;
|
||||
case 'h':
|
||||
*(short *)param = EXPP_ClampInt( number, min, max );
|
||||
*(short *)param = (short)EXPP_ClampInt( number, min, max );
|
||||
return 0;
|
||||
case 'H':
|
||||
*(unsigned short *)param = EXPP_ClampInt( number, min, max );
|
||||
*(unsigned short *)param = (unsigned short)EXPP_ClampInt( number, min, max );
|
||||
return 0;
|
||||
case 'i':
|
||||
*(int *)param = EXPP_ClampInt( number, min, max );
|
||||
@@ -679,7 +679,7 @@ int EXPP_setFloatRange( PyObject *value, float *param,
|
||||
if( !PyNumber_Check ( value ) )
|
||||
return EXPP_ReturnIntError( PyExc_TypeError, errstr );
|
||||
|
||||
number = PyFloat_AsDouble( value );
|
||||
number = (short)PyFloat_AsDouble( value );
|
||||
if ( number < min || number > max )
|
||||
return EXPP_ReturnIntError( PyExc_ValueError, errstr );
|
||||
|
||||
@@ -704,13 +704,13 @@ int EXPP_setIValueRange( PyObject *value, void *param,
|
||||
|
||||
switch ( type ) {
|
||||
case 'b':
|
||||
*(char *)param = number;
|
||||
*(char *)param = (char)number;
|
||||
return 0;
|
||||
case 'h':
|
||||
*(short *)param = number;
|
||||
*(short *)param = (short)number;
|
||||
return 0;
|
||||
case 'H':
|
||||
*(unsigned short *)param = number;
|
||||
*(unsigned short *)param = (unsigned short)number;
|
||||
return 0;
|
||||
case 'i':
|
||||
*(int *)param = number;
|
||||
@@ -749,13 +749,13 @@ int EXPP_setModuleConstant ( BPy_constant *constant, void *param, char type )
|
||||
|
||||
switch ( type ) {
|
||||
case 'h':
|
||||
*(short *)param = PyInt_AS_LONG( item );
|
||||
*(short *)param = (short)PyInt_AS_LONG( item );
|
||||
return 0;
|
||||
case 'i':
|
||||
*(int *)param = PyInt_AS_LONG( item );
|
||||
return 0;
|
||||
case 'f':
|
||||
*(float *)param = PyFloat_AS_DOUBLE( item );
|
||||
*(float *)param = (float)PyFloat_AS_DOUBLE( item );
|
||||
return 0;
|
||||
default:
|
||||
return EXPP_ReturnIntError( PyExc_RuntimeError,
|
||||
|
||||
@@ -161,9 +161,9 @@ int rgbTuple_setCol( BPy_rgbTuple * self, PyObject * args )
|
||||
PyNumber_Check( PySequence_Fast_GET_ITEM( args, 0 ) ) &&
|
||||
PyNumber_Check( PySequence_Fast_GET_ITEM( args, 1 ) ) &&
|
||||
PyNumber_Check( PySequence_Fast_GET_ITEM( args, 2 ) ) ) {
|
||||
r = PyFloat_AsDouble( PySequence_Fast_GET_ITEM( args, 0 ) );
|
||||
g = PyFloat_AsDouble( PySequence_Fast_GET_ITEM( args, 1 ) );
|
||||
b = PyFloat_AsDouble( PySequence_Fast_GET_ITEM( args, 2 ) );
|
||||
r = (float)PyFloat_AsDouble( PySequence_Fast_GET_ITEM( args, 0 ) );
|
||||
g = (float)PyFloat_AsDouble( PySequence_Fast_GET_ITEM( args, 1 ) );
|
||||
b = (float)PyFloat_AsDouble( PySequence_Fast_GET_ITEM( args, 2 ) );
|
||||
ok = 1;
|
||||
} else
|
||||
ok = PyArg_ParseTuple( args, "fff", &r, &g, &b );
|
||||
|
||||
Reference in New Issue
Block a user