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:
twanvl
2007-01-30 17:27:25 +00:00
parent 7355ce5b51
commit 315af1f14a
30 changed files with 383 additions and 313 deletions
+1 -3
View File
@@ -15,6 +15,7 @@
#include <script/script.hpp>
#include <script/context.hpp>
#include <script/parser.hpp>
#include <script/to_value.hpp>
DECLARE_INTRUSIVE_POINTER_TYPE(Script);
@@ -86,9 +87,6 @@ class OptionalScript {
template <typename T> friend class Scriptable;
};
template <typename T>
inline ScriptValueP toScript(const Defaultable<T>& v) { return toScript(v()); }
// ----------------------------------------------------------------------------- : StringScript
/// An optional script which is parsed in string mode