Nout tells me that I should open basetypes.h (in genesis include?) and add it but add what exactly ?--------------------Configuration: RGF - Win32 Release--------------------
Compiling...
CActorManager.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CActorManager.cpp(1272) : error C2065: 'GE_PIOVER2' : undeclared identifier
CCameraManager.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CCameraManager.cpp(1333) : error C2065: 'GE_PIOVER2' : undeclared identifier
CDSpotLight.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CDSpotLight.cpp(158) : error C2065: 'GE_180OVERPI' : undeclared identifier
CEffects.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CEffects.cpp(652) : error C2065: 'GE_PIOVER180' : undeclared identifier
CFixedCamera.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CFixedCamera.cpp(269) : error C2065: 'GE_1OVERPI' : undeclared identifier
Chaos.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\Chaos.cpp(253) : error C2065: 'GE_2PI' : undeclared identifier
CHeadsUpDisplay.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CHeadsUpDisplay.cpp(1038) : error C2065: 'GE_2PI' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CHeadsUpDisplay.cpp(1092) : error C2065: 'GE_PIOVER2' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CHeadsUpDisplay.cpp(1181) : error C2065: 'GE_180OVERPI' : undeclared identifier
CPathFollower.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPathFollower.cpp(665) : error C2065: 'GE_PIOVER2' : undeclared identifier
CPawnHigh.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPawnHigh.cpp(1804) : error C2065: 'GE_PIOVER2' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPawnHigh.cpp(1814) : error C2065: 'GE_2PI' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPawnHigh.cpp(1847) : error C2065: 'GE_180OVERPI' : undeclared identifier
CPawnLow.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPawnLow.cpp(1048) : error C2065: 'GE_PIOVER2' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPawnLow.cpp(4005) : error C2065: 'GE_2PI' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPawnLow.cpp(4194) : error C2065: 'GE_180OVERPI' : undeclared identifier
CPlayer.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CPlayer.cpp(2963) : error C2065: 'GE_180OVERPI' : undeclared identifier
CSpout.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CSpout.cpp(507) : error C2065: 'GE_PIOVER180' : undeclared identifier
CTeleporter.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CTeleporter.cpp(286) : error C2065: 'GE_PIOVER2' : undeclared identifier
CWeapon.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\CWeapon.cpp(2043) : error C2065: 'GE_PIOVER2' : undeclared identifier
C:\Documents and Settings\Fede\Desktop\RF075source\source\CWeapon.cpp(2261) : warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
ProcElectricFx.cpp
C:\Documents and Settings\Fede\Desktop\RF075source\source\ProcElectricFx.cpp(541) : error C2065: 'GE_2PI' : undeclared identifier
Generating Code...
Error executing cl.exe.
RealityFactory.exe - 21 error(s), 1 warning(s)
troubles compiling the 075 source
troubles compiling the 075 source
- QuestOfDreams
- Site Admin
- Posts: 1520
- Joined: Sun Jul 03, 2005 11:12 pm
- Location: Austria
- Contact:
oops, totally forgot to update the genesis source/include these files in the new RF source
in basetypes.h add
in basetypes.h add
Code: Select all
#define GE_2PI ((geFloat)6.28318530717958647693f)
#define GE_PIOVER2 ((geFloat)1.57079632679489661923f)
#define GE_1OVERPI ((geFloat)0.31830988618379067154f)
#define GE_1OVER2PI ((geFloat)0.15915494309189533577f)
#define GE_180OVERPI ((geFloat)57.2957795130823208768f)
#define GE_360OVER2PI GE_180OVERPI
#define GE_PIOVER180 ((geFloat)0.01745329251994329577f)
#define GE_2PIOVER360 GE_PIOVER180