mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-20 05:19:29 +00:00
Eliminating obsolete #ifdefs and friends (#26)
The following options have been applied globally, using unifdef(1): ```c #undef BBGE_BUILD_DIRECTX #define BBGE_BUILD_OPENGL 1 #define GL_GLEXT_LEGACY 1 #define HAVE_PUTENV 1 #define TIXML_USE_STL 1 #define BBGE_BUILD_SDL 1 ```
This commit is contained in:
parent
dff33b0530
commit
276265be1d
54 changed files with 1 additions and 2248 deletions
|
@ -26,9 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#include <vector>
|
||||
#include "Event.h"
|
||||
|
||||
#ifdef BBGE_BUILD_DIRECTX
|
||||
#include <d3dx9.h>
|
||||
#endif
|
||||
typedef float scalar_t;
|
||||
|
||||
class Vector
|
||||
|
@ -392,12 +389,6 @@ public:
|
|||
z += 360;
|
||||
}
|
||||
|
||||
#ifdef BBGE_BUILD_DIRECTX
|
||||
const D3DCOLOR getD3DColor(float alpha)
|
||||
{
|
||||
return D3DCOLOR_RGBA(int(x*255), int(y*255), int(z*255), int(alpha*255));
|
||||
}
|
||||
#endif
|
||||
void rotate2DRad(float rad);
|
||||
void rotate2D360(float angle);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue