mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Editor Feature (by Buggler)
- Hotkey 'Ctrl+/' & '/' to place item under mouse cursor when in item mode git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5953 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -979,6 +979,7 @@ void RenderEditorInfo( )
|
|||||||
//taskbar render, we need to draw the buttons without hilites, hence this flag. This flag is
|
//taskbar render, we need to draw the buttons without hilites, hence this flag. This flag is
|
||||||
//always true in ButtonSystem.c, so it won't effect anything else.
|
//always true in ButtonSystem.c, so it won't effect anything else.
|
||||||
extern BOOLEAN gfGotoGridNoUI;
|
extern BOOLEAN gfGotoGridNoUI;
|
||||||
|
extern BOOLEAN gfKeyboardItemCreationUI;
|
||||||
|
|
||||||
void ProcessEditorRendering()
|
void ProcessEditorRendering()
|
||||||
{
|
{
|
||||||
@@ -1016,7 +1017,7 @@ void ProcessEditorRendering()
|
|||||||
|
|
||||||
if( gfSummaryWindowActive )
|
if( gfSummaryWindowActive )
|
||||||
RenderSummaryWindow();
|
RenderSummaryWindow();
|
||||||
else if( !gfGotoGridNoUI && !InOverheadMap() )
|
else if( !gfGotoGridNoUI && !gfKeyboardItemCreationUI && !InOverheadMap() )
|
||||||
RenderMercStrings();
|
RenderMercStrings();
|
||||||
|
|
||||||
if( gfEditingDoor )
|
if( gfEditingDoor )
|
||||||
@@ -1026,7 +1027,7 @@ void ProcessEditorRendering()
|
|||||||
RenderAllTextFields();
|
RenderAllTextFields();
|
||||||
RenderEditorInfo();
|
RenderEditorInfo();
|
||||||
|
|
||||||
if( !gfSummaryWindowActive && !gfGotoGridNoUI && !InOverheadMap() )
|
if( !gfSummaryWindowActive && !gfGotoGridNoUI && !gfKeyboardItemCreationUI && !InOverheadMap() )
|
||||||
{
|
{
|
||||||
if( gpItem && gsItemGridNo != -1 )
|
if( gpItem && gsItemGridNo != -1 )
|
||||||
RenderSelectedItemBlownUp();
|
RenderSelectedItemBlownUp();
|
||||||
|
|||||||
+14
-2
@@ -887,11 +887,23 @@ void AddSelectedItemToWorld( INT32 sGridNo )
|
|||||||
|
|
||||||
if( eInfo.uiItemType == TBAR_MODE_ITEM_KEYS )
|
if( eInfo.uiItemType == TBAR_MODE_ITEM_KEYS )
|
||||||
{
|
{
|
||||||
CreateKeyObject( &gTempObject, 1, (UINT8)eInfo.sSelItemIndex );
|
if ( fEditorCreateItemFromKeyboard )
|
||||||
|
{
|
||||||
|
CreateKeyObject( &gTempObject, 1, (UINT8)usEditorTempItem );
|
||||||
|
fEditorCreateItemFromKeyboard = FALSE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CreateKeyObject( &gTempObject, 1, (UINT8)eInfo.sSelItemIndex );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CreateItem( eInfo.pusItemIndex[eInfo.sSelItemIndex], 100, &gTempObject );
|
if ( fEditorCreateItemFromKeyboard )
|
||||||
|
{
|
||||||
|
CreateItem( usEditorTempItem, 100, &gTempObject );
|
||||||
|
fEditorCreateItemFromKeyboard = FALSE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
CreateItem( eInfo.pusItemIndex[eInfo.sSelItemIndex], 100, &gTempObject );
|
||||||
}
|
}
|
||||||
usFlags = 0;
|
usFlags = 0;
|
||||||
switch( gTempObject.usItem )
|
switch( gTempObject.usItem )
|
||||||
|
|||||||
+97
-3
@@ -44,6 +44,7 @@
|
|||||||
#include "newsmooth.h"
|
#include "newsmooth.h"
|
||||||
#include "Smoothing Utils.h"
|
#include "Smoothing Utils.h"
|
||||||
#include "messagebox.h"
|
#include "messagebox.h"
|
||||||
|
#include "messageboxscreen.h"
|
||||||
#include "Soldier Create.h"
|
#include "Soldier Create.h"
|
||||||
#include "Soldier Init List.h"
|
#include "Soldier Init List.h"
|
||||||
#include "Text Input.h"
|
#include "Text Input.h"
|
||||||
@@ -235,6 +236,17 @@ BOOLEAN gfGotoGridNoUI = FALSE;
|
|||||||
INT32 guiGotoGridNoUIButtonID;
|
INT32 guiGotoGridNoUIButtonID;
|
||||||
MOUSE_REGION GotoGridNoUIRegion;
|
MOUSE_REGION GotoGridNoUIRegion;
|
||||||
|
|
||||||
|
//Buggler: Create item with keyboard shortcut
|
||||||
|
void EditorKeyboardItemCreationCallBack( UINT8 ubResult );
|
||||||
|
void CreateKeyboardItemCreationUI();
|
||||||
|
void RemoveKeyboardItemCreationUI();
|
||||||
|
BOOLEAN gfKeyboardItemCreationUI = FALSE;
|
||||||
|
INT32 guiKeyboardItemCreationUIButtonID;
|
||||||
|
MOUSE_REGION KeyboardItemCreationUIRegion;
|
||||||
|
INT32 giCreateItemCursorMapIndex;
|
||||||
|
BOOLEAN fEditorCreateItemFromKeyboard = FALSE;
|
||||||
|
UINT16 usEditorTempItem = 1632;
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------
|
||||||
// EditScreenInit
|
// EditScreenInit
|
||||||
//
|
//
|
||||||
@@ -1398,6 +1410,27 @@ void HandleKeyboardShortcuts( )
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if( gfKeyboardItemCreationUI )
|
||||||
|
{
|
||||||
|
switch( EditorInputEvent.usParam )
|
||||||
|
{
|
||||||
|
case ESC:
|
||||||
|
SetInputFieldStringWith16BitString( 0, L"" );
|
||||||
|
RemoveKeyboardItemCreationUI();
|
||||||
|
break;
|
||||||
|
case ENTER:
|
||||||
|
RemoveKeyboardItemCreationUI();
|
||||||
|
break;
|
||||||
|
case 'x':
|
||||||
|
if( EditorInputEvent.usKeyState & ALT_DOWN )
|
||||||
|
{
|
||||||
|
SetInputFieldStringWith16BitString( 0, L"" );
|
||||||
|
RemoveKeyboardItemCreationUI();
|
||||||
|
iCurrentAction = ACTION_QUIT_GAME;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
else switch( EditorInputEvent.usParam )
|
else switch( EditorInputEvent.usParam )
|
||||||
{
|
{
|
||||||
case HOME:
|
case HOME:
|
||||||
@@ -2107,6 +2140,30 @@ void HandleKeyboardShortcuts( )
|
|||||||
}
|
}
|
||||||
gfRenderTaskbar = TRUE;
|
gfRenderTaskbar = TRUE;
|
||||||
break;
|
break;
|
||||||
|
case '/':
|
||||||
|
// Buggler: create item with keyboard input
|
||||||
|
if( iCurrentTaskbar == TASK_ITEMS )
|
||||||
|
{
|
||||||
|
if( !GetMouseXY( &sGridX, &sGridY ) )
|
||||||
|
return;
|
||||||
|
|
||||||
|
if( !(gViewportRegion.uiFlags & MSYS_MOUSE_IN_AREA ) )
|
||||||
|
{ //if mouse cursor not in the game screen.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
fEditorCreateItemFromKeyboard = TRUE;
|
||||||
|
|
||||||
|
giCreateItemCursorMapIndex = MAPROWCOLTOPOS( sGridY, sGridX );
|
||||||
|
|
||||||
|
if( EditorInputEvent.usKeyState & CTRL_DOWN )
|
||||||
|
CreateKeyboardItemCreationUI();
|
||||||
|
else
|
||||||
|
AddSelectedItemToWorld( giCreateItemCursorMapIndex );
|
||||||
|
|
||||||
|
gfRenderWorld = TRUE;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
iCurrentAction = ACTION_NULL;
|
iCurrentAction = ACTION_NULL;
|
||||||
break;
|
break;
|
||||||
@@ -4551,7 +4608,7 @@ UINT32 EditScreenHandle( void )
|
|||||||
EnsureStatusOfEditorButtons();
|
EnsureStatusOfEditorButtons();
|
||||||
|
|
||||||
// Handle scrolling of the map if needed
|
// Handle scrolling of the map if needed
|
||||||
if( !gfGotoGridNoUI && iDrawMode != DRAW_MODE_SHOW_TILESET && !gfSummaryWindowActive &&
|
if( !gfGotoGridNoUI && !gfKeyboardItemCreationUI && iDrawMode != DRAW_MODE_SHOW_TILESET && !gfSummaryWindowActive &&
|
||||||
!gfEditingDoor && !gfNoScroll && !InOverheadMap() )
|
!gfEditingDoor && !gfNoScroll && !InOverheadMap() )
|
||||||
ScrollWorld();
|
ScrollWorld();
|
||||||
|
|
||||||
@@ -4639,8 +4696,8 @@ void CreateGotoGridNoUI()
|
|||||||
DisableEditorTaskbar();
|
DisableEditorTaskbar();
|
||||||
//Create the background panel.
|
//Create the background panel.
|
||||||
guiGotoGridNoUIButtonID =
|
guiGotoGridNoUIButtonID =
|
||||||
CreateTextButton( L"Enter gridno:", FONT10ARIAL, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
CreateTextButton( L"Enter Gridno:", FONT10ARIAL, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||||
iScreenWidthOffset + 290, iScreenHeightOffset + 155, 60, 50, BUTTON_NO_TOGGLE, MSYS_PRIORITY_NORMAL, DEFAULT_MOVE_CALLBACK, MSYS_NO_CALLBACK );
|
iScreenWidthOffset + 288, iScreenHeightOffset + 155, 64, 50, BUTTON_NO_TOGGLE, MSYS_PRIORITY_NORMAL, DEFAULT_MOVE_CALLBACK, MSYS_NO_CALLBACK );
|
||||||
SpecifyDisabledButtonStyle( guiGotoGridNoUIButtonID, DISABLED_STYLE_NONE );
|
SpecifyDisabledButtonStyle( guiGotoGridNoUIButtonID, DISABLED_STYLE_NONE );
|
||||||
SpecifyButtonTextOffsets( guiGotoGridNoUIButtonID, 5, 5, FALSE );
|
SpecifyButtonTextOffsets( guiGotoGridNoUIButtonID, 5, 5, FALSE );
|
||||||
DisableButton( guiGotoGridNoUIButtonID );
|
DisableButton( guiGotoGridNoUIButtonID );
|
||||||
@@ -4760,3 +4817,40 @@ UINT32 EditScreenShutdown( )
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void CreateKeyboardItemCreationUI()
|
||||||
|
{
|
||||||
|
gfKeyboardItemCreationUI = TRUE;
|
||||||
|
//Disable the rest of the editor
|
||||||
|
DisableEditorTaskbar();
|
||||||
|
//Create the background panel.
|
||||||
|
guiKeyboardItemCreationUIButtonID =
|
||||||
|
CreateTextButton( L"Enter ItemID:", FONT10ARIAL, FONT_YELLOW, FONT_BLACK, BUTTON_USE_DEFAULT,
|
||||||
|
iScreenWidthOffset + 288, iScreenHeightOffset + 155, 64, 50, BUTTON_NO_TOGGLE, MSYS_PRIORITY_NORMAL, DEFAULT_MOVE_CALLBACK, MSYS_NO_CALLBACK );
|
||||||
|
SpecifyDisabledButtonStyle( guiKeyboardItemCreationUIButtonID, DISABLED_STYLE_NONE );
|
||||||
|
SpecifyButtonTextOffsets( guiKeyboardItemCreationUIButtonID, 5, 5, FALSE );
|
||||||
|
DisableButton( guiKeyboardItemCreationUIButtonID );
|
||||||
|
//Create a blanket region so nobody can use
|
||||||
|
MSYS_DefineRegion( &KeyboardItemCreationUIRegion, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, MSYS_PRIORITY_NORMAL+1, 0, MSYS_NO_CALLBACK, MSYS_NO_CALLBACK );
|
||||||
|
//Init a text input field.
|
||||||
|
InitTextInputModeWithScheme( DEFAULT_SCHEME );
|
||||||
|
AddTextInputField( iScreenWidthOffset + 300, iScreenHeightOffset + 180, 40, 18, MSYS_PRIORITY_HIGH, L"", 4, INPUTTYPE_NUMERICSTRICT );
|
||||||
|
}
|
||||||
|
|
||||||
|
void RemoveKeyboardItemCreationUI()
|
||||||
|
{
|
||||||
|
INT16 sTemp;
|
||||||
|
|
||||||
|
gfKeyboardItemCreationUI = FALSE;
|
||||||
|
//Enable the rest of the editor
|
||||||
|
EnableEditorTaskbar();
|
||||||
|
RemoveButton( guiKeyboardItemCreationUIButtonID );
|
||||||
|
sTemp = GetNumericStrictValueFromField( 0 );
|
||||||
|
KillTextInputMode();
|
||||||
|
MSYS_RemoveRegion( &KeyboardItemCreationUIRegion );
|
||||||
|
if ( sTemp != -1 )
|
||||||
|
{
|
||||||
|
usEditorTempItem = sTemp;
|
||||||
|
AddSelectedItemToWorld( giCreateItemCursorMapIndex );
|
||||||
|
}
|
||||||
|
MarkWorldDirty();
|
||||||
|
}
|
||||||
@@ -82,6 +82,9 @@ extern BOOLEAN fRaiseWorld;//dnl ch3 210909
|
|||||||
extern BOOLEAN fShowHighGround;//dnl ch2 210909
|
extern BOOLEAN fShowHighGround;//dnl ch2 210909
|
||||||
void ShowHighGround(INT32 iShowHighGroundCommand);//dnl ch2 210909
|
void ShowHighGround(INT32 iShowHighGroundCommand);//dnl ch2 210909
|
||||||
|
|
||||||
|
extern BOOLEAN fEditorCreateItemFromKeyboard;
|
||||||
|
extern UINT16 usEditorTempItem;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -530,10 +530,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -531,10 +531,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -530,10 +530,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -535,10 +535,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text // TODO.Translate
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text // TODO.Translate
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text // TODO.Translate
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text // TODO.Translate
|
||||||
L"", //Items fasthelp text // TODO.Translate
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text // TODO.Translate
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text // TODO.Translate
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text // TODO.Translate
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text // TODO.Translate
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text // TODO.Translate
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text // TODO.Translate
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -554,10 +554,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -529,10 +529,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -537,10 +537,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Opcje",
|
L"Opcje",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text // TODO.Translate
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text // TODO.Translate
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text // TODO.Translate
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text // TODO.Translate
|
||||||
L"", //Items fasthelp text // TODO.Translate
|
LL"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text // TODO.Translate
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text // TODO.Translate
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text // TODO.Translate
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text // TODO.Translate
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text // TODO.Translate
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text // TODO.Translate
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text // TODO.Translate
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -531,10 +531,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
@@ -529,10 +529,10 @@ STR16 iEditorTaskbarInternalText[]=
|
|||||||
L"Options",
|
L"Options",
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Terrain fasthelp text
|
||||||
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
L"|./|,: Cycle 'width: xx' dimensions\n|P|g |U|p/|P|g |D|n: Previous/Next tile for selected object(s)/in smart method", //Buildings fasthelp text
|
||||||
L"", //Items fasthelp text
|
L"|C|t|r|l+|/: Place new item under mouse cursor\n|/: Place same item under mouse cursor", //Items fasthelp text
|
||||||
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
L"|1-|9: Set waypoints\n|C|t|r|l+|C/|C|t|r|l+|V: Copy/Paste merc", //Mercs fasthelp text
|
||||||
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
L"|C|t|r|l+|G: Go to grid no\n \n|I: Toggle overhead map\n|J: Toggle draw high ground\n|K: Toggle high ground markers\n|S|h|i|f|t+|L: Toggle map edge points\n|S|h|i|f|t+|T: Toggle treetops\n|U: Toggle world raise\n \n|./|,: Cycle 'width: xx' dimensions", //Map Info fasthelp text
|
||||||
L"|C|t|r|l+|N: create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
L"|C|t|r|l+|N: Create new map\n \n|F|5: Show Summary Info/Country Map\n|F|1|0: Remove all lights\n|F|1|1: Reverse schedules\n|F|1|2: Clear schedules\n \n|S|h|i|f|t+|R: Toggle random placement based on quantity of selected object(s)", //Options fasthelp text
|
||||||
};
|
};
|
||||||
|
|
||||||
//Editor Taskbar Utils.cpp
|
//Editor Taskbar Utils.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user