TABLE OF CONTENTS
- 1. KEvents/KEvents.Sort_Events_Command
- 2. KEvents/KEvents.Show_Events_Command
- 3. KEvents/KEvents.Show_Event_Info_Command
- 4. KEvents/KEvents.Events_Table
- 5. KEvents/KEvents.Events_Sort_Order
- 6. KEvents/KEvents.Events_Indexes
- 7. KEvents/KEvents.Default_Events_Sort_Order
- 8. KEvents/KEvents.Events_Sort_Orders
KEvents/KEvents.Events_Sort_Orders [ Types ]
FUNCTION
Sorting orders for the known events list
SOURCE
type Events_Sort_Orders is (TYPEASC, TYPEDESC, DISTANCEASC, DISTANCEDESC, DETAILSASC, DETAILSDESC, COORDASC, COORDDESC, NONE) with Default_Value => NONE;
OPTIONS
TYPEASC - Sort events by type ascending TYPEDESC - Sort events by type descending DISTANCEASC - Sort events by distance ascending DISTANCEDESC - Sort events by distance descending DETAILSASC - Sort events by details ascending DETAILSDESC - Sort events by details descending COORDASC - Sort events by coordinates ascending COORDDESC - Sort events by coordinates descending NONE - No sorting events (default)
HISTORY
6.4 - Added 8.4 - Added sorting by coordinates
KEvents/KEvents.Default_Events_Sort_Order [ Constants ]
[ Top ] [ KEvents ] [ Constants ]
FUNCTION
Default sorting order for the known events
SOURCE
Default_Events_Sort_Order: constant Events_Sort_Orders := NONE;
HISTORY
6.4 - Added
KEvents/KEvents.Events_Indexes [ Variables ]
[ Top ] [ KEvents ] [ Variables ]
FUNCTION
Indexes of the known events
SOURCE
Events_Indexes: Positive_Container.Vector;
KEvents/KEvents.Events_Sort_Order [ Variables ]
[ Top ] [ KEvents ] [ Variables ]
FUNCTION
The current sorting order for known events list
SOURCE
Events_Sort_Order: Events_Sort_Orders := Default_Events_Sort_Order;
HISTORY
6.4 - Added
KEvents/KEvents.Events_Table [ Variables ]
[ Top ] [ KEvents ] [ Variables ]
FUNCTION
Table with info about the known events
SOURCE
Events_Table: Table_Widget (Amount => 4);
KEvents/KEvents.Show_Event_Info_Command [ Commands ]
[ Top ] [ KEvents ] [ Commands ]
FUNCTION
Show information about the selected event
SOURCE
function Show_Event_Info_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. 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
ShowEventInfo eventindex EventIndex is the index of the event to show
KEvents/KEvents.Show_Events_Command [ Commands ]
[ Top ] [ KEvents ] [ Commands ]
FUNCTION
Show the list of known events to the player
SOURCE
function Show_Events_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. Argc - Number of arguments passed to the command. Argv - Values of arguments passed to the command.
RESULT
This function always return TCL_OK
COMMANDS
ShowEvents ?startindex? Page parameter is a page number which will be show
KEvents/KEvents.Sort_Events_Command [ Commands ]
[ Top ] [ KEvents ] [ Commands ]
FUNCTION
Sort the known events list
SOURCE
function Sort_Events_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
SortKnownEvents x X is X axis coordinate where the player clicked the mouse button