mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Add missing ScriptInterface includes to
JSInterface_L10n.cpp fromd6db5a466d, JSInterface_Renderer.cpp and JSInterface_GUITypes.cpp from4b1297b328, JSInterface_VisualReplay.cpp fromb830233498, JSInterface_Game.cpp from5f8be8e0c6, JSInterface_Simulation.cpp from921c5515a6, JSInterface_Debug.cpp fromd6cb9c845b, JSInterface_Main.cpp from486aec18d4, refs #4772, JSInterface_Mod.cpp where it was incorrectly removed inaf03c72f76. Refs D1470. Sort includes alphabetically, add recent Coding Convention macro comments. This was SVN commit r21789.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2017 Wildfire Games.
|
||||
/* Copyright (C) 2018 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -17,15 +17,16 @@
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
#include <sstream>
|
||||
#include "JSInterface_VFS.h"
|
||||
|
||||
#include "lib/file/vfs/vfs_util.h"
|
||||
#include "ps/CLogger.h"
|
||||
#include "ps/CStr.h"
|
||||
#include "ps/Filesystem.h"
|
||||
#include "scriptinterface/ScriptVal.h"
|
||||
#include "scriptinterface/ScriptInterface.h"
|
||||
#include "ps/scripting/JSInterface_VFS.h"
|
||||
#include "lib/file/vfs/vfs_util.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
// Only allow engine compartments to read files they may be concerned about.
|
||||
#define PathRestriction_GUI {L""}
|
||||
|
||||
Reference in New Issue
Block a user