forked from OpenDungeons/OpenDungeons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
71 lines (56 loc) · 2.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Open Dungeons
=============
Welcome into the Open Dungeons (OD) project README file.
Website: http://opendungeons.sourceforge.net/
Forums: http://forum.freegamedev.net/viewforum.php?f=15
Official repository: https://github.com/OpenDungeons/OpenDungeons ('development' branch)
Media source files: https://github.com/OpenDungeons/OpenDungeons-media-source
--- Folders structure ---
Data files :
------------
config/ - Several game config files
dist/ - Icons and linux desktop entry file.
gui/ - CEGUI files + corresponding Gui images
levels/ - Game levels
licenses/ - License files used for game data and code
materials/ - Materials (models texturing scripts and textures)
models/ - Model files
music/ - Music files
packs/ - Ogre files useful to run the starting pop-up
scripts/ - Our AngelScript code files
sounds/ - Game Sounds
Code files:
-----------
cmake/ - Helper files for CMake
|- config/ - Variable input files for the CMake script
|- modules/ - Addon scripts for CMake to find dependencies
dependencies/ - All external projects
|- angelscript/ - AngelScript SDK, our scripting language
sources/ - All our own .cpp and .h files of the game
.gitignore - The files and folders that are ignored by git locally
CMakeLists.txt - CMake script for generating the Makefile and IDE projects
od.cppcheck - Project file for Cppcheck (cppcheck.sourceforge.net)
README - The file you are currently reading
-- Coding Guideline ---
Before you start coding you should take a glimpse at our guideline
over at the wiki:
http://opendungeons.sourceforge.net/wiki/doku.php?id=code_style_guidelines
It contains a rather deep introduction on how we name, indent, structure and
extend our code. It also has some performance optimisation tips.
--- Build Instructions ---
More detailed, and usually up to date build instructions can be found at:
http://opendungeons.sourceforge.net/wiki/doku.php?id=building_from_source
To build the game run the following commands from the directory where this
README file is. You will need CMake for this (http://cmake.org/).
mkdir build && cd build
cmake ..
make
./opendungeons
To build the game, you will need to link against the following libraries:
* OGRE SDK (1.9.x)
* boost (same version as the one used by Ogre)
* CEGUI SDK (0.8.x)
* SFML (2.x)
On windows, make sure you have the MSVC corresponding SDK, or either compile from source.
Then, use CMake-Gui to generate project files for your IDE.
You can also have a look at our FAQ.txt file for more information.