TABLE OF CONTENTS
- 1. MainMenu/MCommands
- 1.1. MCommands/MCommands.Save_Sort_Orders
- 1.2. MCommands/MCommands.Default_Save_Sort_Order
- 1.3. MCommands/MCommands.LoadTable
- 1.4. MCommands/MCommands.Save_Sort_Order
- 1.5. MCommands/MCommands.Add_Commands
- 1.6. MCommands/MCommands.Get_Load_Table
- 1.7. MCommands/MCommands.Get_Save_Sort_Order
- 1.8. MCommands/MCommands.StartGame
- 1.9. MCommands/MCommads.Show_Load_Game_Command
- 1.10. MCommands/MCommands.Load_Game_Command
- 1.11. MCommands/MCommands.New_Game_Command
- 1.12. MCommands/MCommands.Open_Link_Command
- 1.13. MCommands/MCommands.Random_Name_Command
- 1.14. MCommands/MCommands.Set_Base_Command
- 1.15. MCommands/MCommands.Set_Career_Command
- 1.16. MCommands/MCommands.Set_Faction_Command
- 1.17. MCommands/MCommands.Show_Load_Game_Menu_Command
- 1.18. MCommands/MCommands.Show_Main_Menu_Command
- 1.19. MCommands/MCommands.Sort_Saves_Command
MainMenu/MCommands [ Packages ]
[ Top ] [ MainMenu ] [ Packages ]
FUNCTION
Provide code of Tcl commands related to MainMenu
SOURCE
package MainMenu.Commands is
MCommands/MCommands.Add_Commands [ Subprograms ]
[ Top ] [ MCommands ] [ Subprograms ]
FUNCTION
Add Tcl commands related to main menu to the game
SOURCE
procedure Add_Commands;
MCommands/MCommands.Open_Link_Command [ Commands ]
[ Top ] [ MCommands ] [ Commands ]
FUNCTION
Open the selected link in the proper program
SOURCE
function Open_Link_Command (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int; Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with Convention => C;
PARAMETERS
Client_Data - Custom data send to the command. Unused Interp - Tcl interpreter in which command was executed. Unused Argc - Number of arguments passed to the command. Unused Argv - Values of arguments passed to the command.
RESULT
This function always return TCL_OK
COMMANDS
OpenLink url Url is link which will be opened