Files @ r5299:1a5e005aa3e9
Branch filter:

Location: cpp/openttd-patchpack/source/os/macosx/osx_stdafx.h

rubidium
(svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time.
/* $Id$ */

#ifndef MACOS_STDAFX_H
#define MACOS_STDAFX_H

#include <CoreServices/CoreServices.h>
// remove the variables that CoreServices defines, but we define ourselves too
#undef bool
#undef false
#undef true

/* Name conflict */
#define Rect		OTTDRect
#define Point		OTTDPoint
#define GetTime		OTTDGetTime

#define SL_ERROR OSX_SL_ERROR

#endif /* MACOS_STDAFX_H */