mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Changes to make it work in windows again;
New header util/platform.hpp for platform specific stuff that doesn't go elsewhere; Changed resource names from "CURSOR_SOMETHING" to "cursor/something", so it matches the filenames (in progress for other resource types). git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@190 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
#include <util/io/get_member.hpp>
|
||||
#include <util/vector2d.hpp>
|
||||
#include <script/value.hpp>
|
||||
#include <script/script.hpp>
|
||||
#include <script/to_value.hpp>
|
||||
|
||||
// ---------------------------------------------------------------------------- : GetDefaultMember
|
||||
|
||||
|
||||
@@ -10,11 +10,9 @@
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
#include <util/prec.hpp>
|
||||
#include <script/value.hpp>
|
||||
|
||||
class Script;
|
||||
class ScriptValue;
|
||||
|
||||
DECLARE_INTRUSIVE_POINTER_TYPE(ScriptValue);
|
||||
DECLARE_INTRUSIVE_POINTER_TYPE(Script);
|
||||
|
||||
template <typename T> class Defaultable;
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
//+----------------------------------------------------------------------------+
|
||||
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
||||
//| Copyright: (C) 2001 - 2006 Twan van Laarhoven |
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_UTIL_PREC
|
||||
#define HEADER_UTIL_PREC
|
||||
|
||||
/** @file util/platform.hpp
|
||||
*
|
||||
* @brief Platform specific hacks
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
#include <util/prec.hpp>
|
||||
|
||||
// ----------------------------------------------------------------------------- : Windows
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------- : Linux
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
inline void wxMkDir(const String& str) {
|
||||
wxMkDir(wxConvLocal.cWX2MB(dir), 0777);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
@@ -14,9 +14,9 @@
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
#include "io/reader.hpp"
|
||||
#include "io/writer.hpp"
|
||||
#include "io/get_member.hpp"
|
||||
#include <util/io/reader.hpp>
|
||||
#include <util/io/writer.hpp>
|
||||
#include <util/io/get_member.hpp>
|
||||
|
||||
// ----------------------------------------------------------------------------- : Declaring reflection
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <util/version.hpp>
|
||||
#include <util/reflect.hpp>
|
||||
#include <script/value.hpp>
|
||||
|
||||
// ----------------------------------------------------------------------------- : Version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user