Files
source/Laptop/insurance.h
Flugente 5e9289b450 - New Feature: dynamic opinions allows mercs to form opinions about each other depening on actions they/the player take or do not take. These can be viewed in the 'MeLoDY 'website. See also http://www.bears-pit.com/board/ubbthreads.php/topics/333259.html#Post333259
- Requires GameDir r2050.
- new background property: <dislikebackground> allows mercs to dislike specific backgrounds
- Fix: snitches did not correctly prevent misbehaviour
- Fix: morale event was not handled
- Fix: DropDowns did not refresh when using the arrow buttons

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7240 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2014-05-28 22:10:42 +00:00

47 lines
1.2 KiB
C

#ifndef __INSURANCE_H
#define __INSURANCE_H
#define INS_FONT_COLOR 2
#define INS_FONT_COLOR_RED FONT_MCOLOR_RED
#define INS_FONT_BIG FONT14ARIAL
#define INS_FONT_MED FONT12ARIAL
#define INS_FONT_SMALL FONT10ARIAL
#define INS_FONT_BTN_COLOR FONT_MCOLOR_WHITE
#define INS_FONT_BTN_SHADOW_COLOR 2
#define INS_FONT_SHADOW FONT_MCOLOR_WHITE
#define INSURANCE_BULLET_TEXT_OFFSET_X 21
#define INS_INFO_LEFT_ARROW_BUTTON_X 71 + LAPTOP_SCREEN_UL_X
#define INS_INFO_LEFT_ARROW_BUTTON_Y 354 + LAPTOP_SCREEN_WEB_UL_Y
#define INS_INFO_RIGHT_ARROW_BUTTON_X 409 + LAPTOP_SCREEN_UL_X
#define INS_INFO_RIGHT_ARROW_BUTTON_Y INS_INFO_LEFT_ARROW_BUTTON_Y
void GameInitInsurance();
BOOLEAN EnterInsurance();
void ExitInsurance();
void HandleInsurance();
void RenderInsurance();
BOOLEAN InitInsuranceDefaults();
void DisplayInsuranceDefaults();
void RemoveInsuranceDefaults();
void DisplaySmallColouredLineWithShadow( UINT16 usStartX, UINT16 usStartY, UINT16 EndX, UINT16 EndY, UINT32 colour = FROMRGB( 255, 0, 0 ) );
void GetInsuranceText( UINT8 ubNumber, STR16 pString );
#endif