Changeset 574


Ignore:
Timestamp:
May 2, 2011, 1:41:41 PM (7 years ago)
Author:
Sam Hocevar
Message:

lol: add the cross-platform Timer class from Lol Engine.

Location:
abuse/trunk/src
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/Makefile.am

    r555 r574  
    99    \
    1010    lol/matrix.cpp lol/matrix.h \
     11    lol/timer.cpp lol/timer.h \
    1112    \
    1213    specache.cpp specache.h \
  • abuse/trunk/src/common.h

    r565 r574  
    2222//
    2323#include "lol/matrix.h"
     24#include "lol/timer.h"
    2425using namespace lol;
    2526
     
    2930static inline int Min(int a, int b) { return a < b ? a : b; }
    3031static inline int Max(int a, int b) { return a > b ? a : b; }
     32static inline unsigned int Min(unsigned int a, unsigned int b) { return a < b ? a : b; }
     33static inline unsigned int Max(unsigned int a, unsigned int b) { return a > b ? a : b; }
    3134static inline long Min(long a, long b) { return a < b ? a : b; }
    3235static inline long Max(long a, long b) { return a > b ? a : b; }
Note: See TracChangeset for help on using the changeset viewer.