mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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:
+8
-8
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
// Defines for coded text For use with IanDisplayWrappedString()
|
||||
#define TEXT_SPACE 32
|
||||
#define TEXT_SPACE 32
|
||||
#define TEXT_CODE_NEWLINE 177
|
||||
#define TEXT_CODE_BOLD 178
|
||||
#define TEXT_CODE_CENTER 179
|
||||
@@ -25,10 +25,10 @@ UINT16 IanDisplayWrappedString(UINT16 usPosX, UINT16 usPosY, UINT16 usWidth, UIN
|
||||
#define TEXT_SHADOWED 0x00000008
|
||||
|
||||
#define INVALIDATE_TEXT 0x00000010
|
||||
#define DONT_DISPLAY_TEXT 0x00000020 //Wont display the text. Used if you just want to get how many lines will be displayed
|
||||
#define DONT_DISPLAY_TEXT 0x00000020 //Wont display the text. Used if you just want to get how many lines will be displayed
|
||||
|
||||
|
||||
#define IAN_WRAP_NO_SHADOW 32
|
||||
#define IAN_WRAP_NO_SHADOW 32
|
||||
|
||||
|
||||
|
||||
@@ -48,14 +48,14 @@ UINT16 DisplayWrappedString(UINT16 usPosX, UINT16 usPosY, UINT16 usWidth, UINT8
|
||||
UINT16 DeleteWrappedString(WRAPPED_STRING *pWrappedString);
|
||||
void CleanOutControlCodesFromString(STR16 pSourceString, STR16 pDestString);
|
||||
INT16 IanDisplayWrappedStringToPages(UINT16 usPosX, UINT16 usPosY, UINT16 usWidth, UINT16 usPageHeight, UINT16 usTotalHeight, UINT16 usPageNumber,UINT8 ubGap,
|
||||
UINT32 uiFont, UINT8 ubColor, STR16 pString,
|
||||
UINT8 ubBackGroundColor, BOOLEAN fDirty, UINT32 uiFlags, BOOLEAN *fOnLastPageFlag);
|
||||
UINT32 uiFont, UINT8 ubColor, STR16 pString,
|
||||
UINT8 ubBackGroundColor, BOOLEAN fDirty, UINT32 uiFlags, BOOLEAN *fOnLastPageFlag);
|
||||
BOOLEAN DrawTextToScreen(STR16 pStr, UINT16 LocX, UINT16 LocY, UINT16 usWidth, UINT32 ulFont, UINT8 ubColor, UINT8 ubBackGroundColor, BOOLEAN fDirty, UINT32 FLAGS);
|
||||
UINT16 IanWrappedStringHeight(UINT16 usPosX, UINT16 usPosY, UINT16 usWidth, UINT8 ubGap,
|
||||
UINT32 uiFont, UINT8 ubColor, STR16 pString,
|
||||
UINT8 ubBackGroundColor, BOOLEAN fDirty, UINT32 uiFlags);
|
||||
UINT32 uiFont, UINT8 ubColor, STR16 pString,
|
||||
UINT8 ubBackGroundColor, BOOLEAN fDirty, UINT32 uiFlags);
|
||||
|
||||
BOOLEAN WillThisStringGetCutOff( INT32 iCurrentYPosition, INT32 iBottomOfPage, INT32 iWrapWidth, UINT32 uiFont, STR16 pString, INT32 iGap, INT32 iPage );
|
||||
BOOLEAN WillThisStringGetCutOff( INT32 iCurrentYPosition, INT32 iBottomOfPage, INT32 iWrapWidth, UINT32 uiFont, STR16 pString, INT32 iGap, INT32 iPage );
|
||||
BOOLEAN IsThisStringBeforeTheCurrentPage( INT32 iTotalYPosition, INT32 iPageSize, INT32 iCurrentPage ,INT32 iWrapWidth, UINT32 uiFont, STR16 pString, INT32 iGap );
|
||||
INT32 GetNewTotalYPositionOfThisString( INT32 iTotalYPosition, INT32 iPageSize, INT32 iCurrentPage ,INT32 iWrapWidth, UINT32 uiFont, STR16 pString, INT32 iGap );
|
||||
RecordPtr GetFirstRecordOnThisPage( RecordPtr RecordList, UINT32 uiFont, UINT16 usWidth, UINT8 ubGap, INT32 iPage, INT32 iPageSize );
|
||||
|
||||
Reference in New Issue
Block a user