Change: Replace ScriptLog data array with std::deque. (#10770)
Due to cyclic header dependency this requires moving the data types used by ScriptLog out of the ScriptLog class.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <list>
|
||||
#include <squirrel.h>
|
||||
#include "script_suspend.hpp"
|
||||
#include "script_log_types.hpp"
|
||||
|
||||
#include "../command_type.h"
|
||||
#include "../company_type.h"
|
||||
@@ -95,7 +96,7 @@ public:
|
||||
/**
|
||||
* Get the log pointer of this script.
|
||||
*/
|
||||
void *GetLogPointer();
|
||||
ScriptLogTypes::LogData &GetLogData();
|
||||
|
||||
/**
|
||||
* Return a true/false reply for a DoCommand.
|
||||
|
Reference in New Issue
Block a user