mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
****************************************************************************
** Merged Source Code from Development trunk, for the Spring 2011 Release ** **************************************************************************** o Development Trunk (Revision: 4444): https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP o This trunk (the official 1.13 source trunk) will only be used for fixing bugs. No new features will be added here. New Features are only included in the Development trunk o !!! After we have fixed a bug here in this trunk, we should MANUALLY merge the bugfix in the development trunk !!! git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4446 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+12
-11
@@ -27,6 +27,7 @@
|
||||
#include "environment.h"
|
||||
#include "selectwin.h"
|
||||
#include "Simple Render Utils.h"
|
||||
#include "Text.h"
|
||||
#endif
|
||||
|
||||
BOOLEAN fBuildingShowRoofs, fBuildingShowWalls, fBuildingShowRoomInfo;
|
||||
@@ -82,16 +83,16 @@ void UpdateBuildingsInfo()
|
||||
//print the headers on top of the columns
|
||||
SetFont( SMALLCOMPFONT );
|
||||
SetFontForeground( FONT_RED );
|
||||
mprintfEditor( iScreenWidthOffset + 112, 2 * iScreenHeightOffset + 362, L"TOGGLE");
|
||||
mprintfEditor( iScreenWidthOffset + 114, 2 * iScreenHeightOffset + 372, L"VIEWS");
|
||||
mprintfEditor( iScreenWidthOffset + 112, 2 * iScreenHeightOffset + 362, iUpdateBuildingsInfoText[0]);
|
||||
mprintfEditor( iScreenWidthOffset + 114, 2 * iScreenHeightOffset + 372, iUpdateBuildingsInfoText[1]);
|
||||
SetFontForeground( FONT_YELLOW );
|
||||
mprintfEditor( iScreenWidthOffset + 185, 2 * iScreenHeightOffset + 362, L"SELECTION METHOD");
|
||||
mprintfEditor( iScreenWidthOffset + 185, 2 * iScreenHeightOffset + 362, iUpdateBuildingsInfoText[2]);
|
||||
SetFontForeground( FONT_LTGREEN );
|
||||
mprintfEditor( iScreenWidthOffset + 290, 2 * iScreenHeightOffset + 362, L"SMART METHOD");
|
||||
mprintfEditor( iScreenWidthOffset + 290, 2 * iScreenHeightOffset + 362, iUpdateBuildingsInfoText[3]);
|
||||
SetFontForeground( FONT_LTBLUE );
|
||||
mprintfEditor( iScreenWidthOffset + 390, 2 * iScreenHeightOffset + 362, L"BUILDING METHOD");
|
||||
mprintfEditor( iScreenWidthOffset + 390, 2 * iScreenHeightOffset + 362, iUpdateBuildingsInfoText[4]);
|
||||
SetFontForeground( FONT_GRAY2 );
|
||||
mprintfEditor( iScreenWidthOffset + 437, 2 * iScreenHeightOffset + 404, L"Room#" );
|
||||
mprintfEditor( iScreenWidthOffset + 437, 2 * iScreenHeightOffset + 404, iUpdateBuildingsInfoText[5] );
|
||||
}
|
||||
|
||||
//Uses a recursive method to elimate adjacent tiles of structure information.
|
||||
@@ -653,13 +654,13 @@ void RenderDoorEditingWindow()
|
||||
SetFontForeground( FONT_YELLOW );
|
||||
SetFontShadow( FONT_NEARBLACK );
|
||||
SetFontBackground( 0 );
|
||||
mprintf( iScreenWidthOffset + 210, iScreenHeightOffset + 140, L"Editing lock attributes at map index %d.", iDoorMapIndex );
|
||||
mprintf( iScreenWidthOffset + 210, iScreenHeightOffset + 140, iRenderDoorEditingWindowText[0], iDoorMapIndex );
|
||||
|
||||
SetFontForeground( FONT_GRAY2 );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 160, L"Lock ID" );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 180, L"Trap Type" );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 200, L"Trap Level" );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 218, L"Locked" );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 160, iRenderDoorEditingWindowText[1] );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 180, iRenderDoorEditingWindowText[2] );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 200, iRenderDoorEditingWindowText[3] );
|
||||
mprintf( iScreenWidthOffset + 238, iScreenHeightOffset + 218, iRenderDoorEditingWindowText[4] );
|
||||
}
|
||||
|
||||
void KillDoorEditing()
|
||||
|
||||
Reference in New Issue
Block a user