Quake
2 Oop conversion project - Platform Specific Standard
Platform
Specific Standard ( back to table
of contents ) :
All platform specific code, should
follow these guidlines :
-
Be placed in a specific file just containg
the code for that platform. Where the platform identifier prefixes the
file name. I.E. : win32_edict.h
-
Should be encapsulated with one of
the platform specific DEFINE pragmas.
I.E. :
// win32_my_header.h
// *** Snip
***
#ifdef WIN32
//My Win32
Code
#endif
Platform
Specific define pragmas : |
Win32 ( Windows
95 / Nt ) : |
|
Linux : |
|