Removed #pragma once's and .ncb file for rmgen, and added binaries/system/rmgen.exe to version control.
This was SVN commit r2295.
This commit is contained in:
parent
07835e70e5
commit
bad202f4d0
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef __MAP_H__
|
||||
#define __MAP_H__
|
||||
|
||||
typedef int TerrainId;
|
||||
|
||||
@ -13,4 +14,6 @@ public:
|
||||
~Map();
|
||||
|
||||
TerrainId getId(std::string terrain);
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
@ -139,4 +139,6 @@ void OutputMap(Map* m, string outputName) {
|
||||
}
|
||||
OutputPmp(m, pmpFile);
|
||||
fclose(pmpFile);
|
||||
|
||||
cout << "Map outputted to " << OUTPUT_PATH << outputName << ".*" << endl;
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
#ifndef __OUTPUT_H__
|
||||
#define __OUTPUT_H__
|
||||
|
||||
#include "map.h"
|
||||
|
||||
void OutputMap(Map* map, std::string path);
|
||||
void OutputMap(Map* map, std::string path);
|
||||
|
||||
#endif
|
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef __RMGEN_H__
|
||||
#define __RMGEN_H__
|
||||
|
||||
extern JSRuntime *rt;
|
||||
extern JSContext *cx;
|
||||
@ -9,4 +10,6 @@ void Shutdown(int status);
|
||||
char* ValToString(jsval val);
|
||||
|
||||
JSBool print(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
|
||||
JSBool init(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
|
||||
JSBool init(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
|
||||
|
||||
#endif
|
Binary file not shown.
@ -12,7 +12,7 @@
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
OutputDirectory="../../../binaries/system"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
@ -23,7 +23,7 @@
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="3"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
|
@ -3,7 +3,8 @@
|
||||
// are changed infrequently
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#ifndef __STDAFX_H__
|
||||
#define __STDAFX_H__
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
@ -28,3 +29,5 @@
|
||||
#include "jsapi.h"
|
||||
|
||||
// TODO: reference additional headers your program requires here
|
||||
|
||||
#endif
|
@ -1 +1,3 @@
|
||||
print("Hello world!\n");
|
||||
|
||||
init(128, "grass1_a");
|
Loading…
Reference in New Issue
Block a user