2003-09-21 14:24:53 -07:00
|
|
|
/*
|
2004-12-05 13:56:09 -08:00
|
|
|
Pyrogenesis.h
|
2003-09-21 14:24:53 -07:00
|
|
|
|
|
|
|
|
Standard declarations which are included in all projects.
|
|
|
|
|
*/
|
|
|
|
|
|
2007-05-07 09:33:24 -07:00
|
|
|
#ifndef INCLUDED_PYROGENESIS
|
|
|
|
|
#define INCLUDED_PYROGENESIS
|
2003-09-21 14:24:53 -07:00
|
|
|
|
|
|
|
|
typedef const char * PS_RESULT;
|
|
|
|
|
|
2004-06-10 19:14:18 -07:00
|
|
|
#define DEFINE_ERROR(x, y) PS_RESULT x=y
|
|
|
|
|
#define DECLARE_ERROR(x) extern PS_RESULT x
|
2003-09-21 14:24:53 -07:00
|
|
|
|
|
|
|
|
DECLARE_ERROR(PS_OK);
|
|
|
|
|
DECLARE_ERROR(PS_FAIL);
|
|
|
|
|
|
|
|
|
|
|
2005-05-11 11:56:30 -07:00
|
|
|
|
|
|
|
|
#define MICROLOG debug_wprintf_mem
|
|
|
|
|
|
2006-06-23 10:41:55 -07:00
|
|
|
|
|
|
|
|
// overrides ah_translate. registered in GameSetup.cpp
|
|
|
|
|
extern const wchar_t* psTranslate(const wchar_t* text);
|
2006-06-25 08:35:28 -07:00
|
|
|
extern void psTranslateFree(const wchar_t* text);
|
2007-01-13 10:37:51 -08:00
|
|
|
extern void psBundleLogs(FILE* f);
|
|
|
|
|
extern const char* psGetLogDir();
|
2006-06-23 10:41:55 -07:00
|
|
|
|
2004-06-02 08:31:55 -07:00
|
|
|
#endif
|