V-Gears 0
Free Final Fantasy VII engine.
ScriptManager.cpp File Reference
#include "core/ConfigVar.h"
#include "core/DebugDraw.h"
#include "core/Logger.h"
#include "core/ScriptManager.h"
#include "core/ScriptManagerBinds.h"
#include "core/ScriptManagerCommands.h"
#include "core/Timer.h"
#include "core/Utilites.h"
#include "core/XmlScriptsFile.h"
#include "LuaIncludes.h"
Include dependency graph for ScriptManager.cpp:

Functions

bool priority_queue_compare (QueueScript a, QueueScript b)
 Compares the priority of two scripts. More...
 

Variables

ConfigVar cv_debug_script ("debug_script", "Debug script flags. 0x01 - System, 0x02 - Entity, 0x04 - Ui.", "0")
 
Ogre::String script_entity_type [] = {"SYSTEM", "ENTITY", "UI", "BATTLE"}
 

Function Documentation

◆ priority_queue_compare()

bool priority_queue_compare ( QueueScript  a,
QueueScript  b 
)

Compares the priority of two scripts.

Parameters
[in]aThe first script to compare.
[in]bThe second script to compare.
Returns
True if the script a has a lower priority number than b, false if a has a higher or equal priority than b.

Variable Documentation

◆ cv_debug_script

ConfigVar cv_debug_script("debug_script", "Debug script flags. 0x01 - System, 0x02 - Entity, 0x04 - Ui.", "0") ( "debug_script"  ,
"Debug script flags. 0x01 -  System,
0x02 -  Entity,
0x04 - Ui."  ,
"0"   
)

◆ script_entity_type

Ogre::String script_entity_type[] = {"SYSTEM", "ENTITY", "UI", "BATTLE"}