mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Merged New Inventory Project into main branch
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-4
@@ -8,14 +8,14 @@
|
||||
#define GETPIXELDEPTH( ) ( gbPixelDepth )
|
||||
|
||||
// WANNE: Maximum number of characters in german description (German xml files)
|
||||
#define MAXLINE 200
|
||||
#define MAXLINE 200
|
||||
|
||||
BOOLEAN CreateSGPPaletteFromCOLFile( SGPPaletteEntry *pPalette, SGPFILENAME ColFile );
|
||||
BOOLEAN DisplayPaletteRep( PaletteRepID aPalRep, UINT8 ubXPos, UINT8 ubYPos, UINT32 uiDestSurface );
|
||||
|
||||
void FilenameForBPP(STR pFilename, STR pDestination);
|
||||
|
||||
BOOLEAN WrapString( STR16 pStr, STR16 pStr2, UINT16 usWidth, INT32 uiFont );
|
||||
BOOLEAN WrapString( STR16 pStr, STR16 pStr2, UINT16 usWidth, INT32 uiFont );
|
||||
|
||||
BOOLEAN IfWinNT(void);
|
||||
BOOLEAN IfWin95(void);
|
||||
@@ -38,7 +38,7 @@ template<class Integer>
|
||||
inline Integer idiv(Integer a, Integer b)
|
||||
{
|
||||
return a > 0 ? b > 0 ? (a + b/2) / b : (a - b/2) / b :
|
||||
b > 0 ? (a - b/2) / b : (a + b/2) / b ;
|
||||
b > 0 ? (a - b/2) / b : (a + b/2) / b ;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user