New Feature: dynamic dialogue is played when dynamic opinions are active. Mercs can comment on each others actions, and this can influence their opinions further. IMP character answers can even be chosen by the player.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7297 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-06-27 22:12:29 +00:00
parent b083314318
commit 3a9cb5ecc3
52 changed files with 9062 additions and 5920 deletions
+14 -3
View File
@@ -16,7 +16,7 @@ void Display2Line2ShadowVertical( UINT16 usStartX, UINT16 usStartY, UINT16 EndX,
void Display2Line2ShadowHorizontal( UINT16 usStartX, UINT16 usStartY, UINT16 EndY, UINT16 usColor1, UINT16 usColor2 );
/*
* A simple class that takes coordiantes and colors.
* A simple class that takes coordinates and colors.
* It simply exists to provide these simple methods for other classes.
*/
class WidgetBase
@@ -28,9 +28,17 @@ public:
* X and Y-Coordinates define the upper left corner
*/
void SetX( UINT16 aVal ) { musStartX = aVal; }
UINT16 GetX( ) { return musStartX; }
virtual UINT16 GetX( ) { return musStartX; }
void SetY( UINT16 aVal ) { musStartY = aVal; }
UINT16 GetY( ) { return musStartY; }
virtual UINT16 GetY( ) { return musStartY; }
/*
* X and Y-Coordinates for text
*/
void SetX_Text( UINT16 aVal ) { musStartX_Text = aVal; }
virtual UINT16 GetX_Text( ) { return musStartX_Text; }
void SetY_Text( UINT16 aVal ) { musStartY_Text = aVal; }
virtual UINT16 GetY_Text( ) { return musStartY_Text; }
/*
* Color of boundary line
@@ -65,6 +73,9 @@ private:
UINT16 musStartX;
UINT16 musStartY;
UINT16 musStartX_Text;
UINT16 musStartY_Text;
UINT16 mColorLine; // color of boundary lines
UINT16 mColorLineShadow; // color of boundary line shadows
UINT16 mColorMarked; // color of marked entries