Ignore:
Timestamp:
May 9, 2012, 6:40:49 PM (9 years ago)
Author:
sam
Message:

orbital: clamp ship heading to full 45-degree orientations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/orbital.cpp

    r1354 r1357  
    1111#if defined _WIN32
    1212#   include <direct.h>
     13#endif
     14
     15#if defined _XBOX
     16#   define _USE_MATH_DEFINES /* for M_PI */
     17#   include <xtl.h>
     18#   undef near /* Fuck Microsoft */
     19#   undef far /* Fuck Microsoft again */
     20#elif defined _WIN32
     21#   define _USE_MATH_DEFINES /* for M_PI */
     22#   define WIN32_LEAN_AND_MEAN
     23#   include <windows.h>
     24#   undef near /* Fuck Microsoft */
     25#   undef far /* Fuck Microsoft again */
     26#else
     27#   include <cmath>
    1328#endif
    1429
Note: See TracChangeset for help on using the changeset viewer.