janwas
7cb82ada2f
premake: document extra_params ogl: remove EXT_ symbols, use glext instead adts: move cache into separate file (also remove old cache impl) move SDL files in sysdep/win to libraries/SDL ScopeTimerAccrue: change #ifdef spaghetti into templated policy class app_hooks, define VOID_FUNC to FUNC(.., (void) ) look at stalk walk code; any reason not to work on Win64? replace ERR_TEX_CODEC_CANNOT_HANDLE with INFO_* - not an error. also ERR_SYM_SUPPRESS_OUTPUT ERR_SYM_SINGLE_SYMBOL_LIMIT wdbg_sym: only import RtlCaptureContext once (not every walk_stack) add sys_last_error (!GetLastError on win32); converts to text in display_error, also show sys_last_error and errno app_hooks: move i18n impl out (belongs in pyrogenesis) fixes to string_s test. refs #124 This was SVN commit r4020.
30 lines
483 B
C
30 lines
483 B
C
/*
|
|
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);
|
|
|
|
#endif
|