mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -48,8 +48,8 @@ void InitEditorItemStatsButtons()
|
||||
|
||||
void InitEditorMercsToolbar()
|
||||
{
|
||||
INT16 TempString[30];
|
||||
UINT16 *FaceDirs[8] = {L"north",L"northeast",L"east",L"southeast",L"south",L"southwest",L"west",L"northwest"};
|
||||
CHAR16 TempString[30];
|
||||
STR16 FaceDirs[8] = {L"north",L"northeast",L"east",L"southeast",L"south",L"southwest",L"west",L"northwest"};
|
||||
INT32 x;
|
||||
|
||||
iEditorButton[ MERCS_PLAYERTOGGLE ] =
|
||||
@@ -256,8 +256,8 @@ void InitEditorMercsToolbar()
|
||||
iScreenWidthOffset + 360, 2 * iScreenHeightOffset + 395, 30, 30, BUTTON_TOGGLE, MSYS_PRIORITY_NORMAL + 1, DEFAULT_MOVE_CALLBACK, MercsDirectionSetCallback );
|
||||
for ( x = 0; x < 8; x++ )
|
||||
{
|
||||
swprintf( (wchar_t *)TempString, (wchar_t *)L"Set merc to face %s", FaceDirs[x] );
|
||||
SetButtonFastHelpText( iEditorButton[ FIRST_MERCS_DIRECTION_BUTTON + x ], (UINT16 *) TempString );
|
||||
swprintf( TempString, L"Set merc to face %s", FaceDirs[x] );
|
||||
SetButtonFastHelpText( iEditorButton[ FIRST_MERCS_DIRECTION_BUTTON + x ], TempString );
|
||||
MSYS_SetBtnUserData( iEditorButton[ FIRST_MERCS_DIRECTION_BUTTON + x ], 0, x);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user