1
0
forked from 0ad/0ad
0ad/source/ps/Pyrogenesis.h

31 lines
533 B
C
Raw Normal View History

/*
Pyrogenesis.h
by Raj Sharma
rsharma@uiuc.edu
Standard declarations which are included in all projects.
*/
#ifndef PYROGENESIS_H
#define PYROGENESIS_H
typedef const char * PS_RESULT;
#define DEFINE_ERROR(x, y) PS_RESULT x=y
#define DECLARE_ERROR(x) extern PS_RESULT x
DECLARE_ERROR(PS_OK);
DECLARE_ERROR(PS_FAIL);
#define MICROLOG debug_wprintf_mem
// overrides ah_translate. registered in GameSetup.cpp
extern const wchar_t* psTranslate(const wchar_t* text);
extern void psTranslateFree(const wchar_t* text);
#endif