Skip to content

Commit

Permalink
Merged with shua
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed May 9, 2010
2 parents 98205ae + 518cd64 commit 2a53916
Show file tree
Hide file tree
Showing 56 changed files with 2,033 additions and 7,059 deletions.
11 changes: 9 additions & 2 deletions INSTALL
Expand Up @@ -2,8 +2,15 @@ Pseudoform INSTALL
============================ ============================


To install the game, just extract it to somewhere and run To install the game, just extract it to somewhere and run
Linux: ./pseudoform_linux.sh Linux:
Windows: pseudoform_win.bat cmake .
make
./pseudoform_linux.sh

Windows:
run cmake in root dir
run make in root dir
pseudoform_win.bat


Except for working 3D drivers, no dependencies should be required in either case. Except for working 3D drivers, no dependencies should be required in either case.
Please excuse the improper installation as of now. Please excuse the improper installation as of now.
Expand Down
2 changes: 1 addition & 1 deletion data/scripts/root.xml
@@ -1,5 +1,5 @@
<renderer lib="ogl" <renderer lib="ogl"
plugins="/usr/local/lib/OGRE/" plugins="/usr/lib/OGRE/"
width="1024" width="1024"
height="768" height="768"
fullscreen="0" fullscreen="0"
Expand Down
2 changes: 1 addition & 1 deletion src/game/level.cpp
Expand Up @@ -16,7 +16,7 @@
#include "script/bindings.hpp" #include "script/bindings.hpp"
#include "script/script.hpp" #include "script/script.hpp"


#include "gui/sheet.hpp" //#include "gui/sheet.hpp"


#include "level.hpp" #include "level.hpp"
#include "types.hpp" #include "types.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/game/trigger.hpp
Expand Up @@ -11,7 +11,6 @@


#include <list> #include <list>


// TODO: include script.hpp
#include "script/script.hpp" #include "script/script.hpp"
#include "generic_prop.hpp" #include "generic_prop.hpp"


Expand Down
26 changes: 15 additions & 11 deletions src/gfx/root.cpp
Expand Up @@ -25,6 +25,8 @@
#include "log.hpp" #include "log.hpp"
#include "fs_ops.hpp" #include "fs_ops.hpp"


#include <boost/filesystem.hpp>

#include "txml/txml.hpp" #include "txml/txml.hpp"


namespace engine namespace engine
Expand Down Expand Up @@ -91,22 +93,22 @@ namespace engine
} }
else else
{ {
#ifdef _DEBUG //#ifdef _DEBUG
_root->loadPlugin(plugins + "RenderSystem_GL_d"); //_root->loadPlugin(plugins + "RenderSystem_GL_d");
#else //#else
_root->loadPlugin(plugins + "RenderSystem_GL"); _root->loadPlugin(plugins + "RenderSystem_GL");
#endif //#endif
renderLib = RL_OGL; renderLib = RL_OGL;
} }


// Load CG shader manager and particle manager // Load CG shader manager and particle manager
#ifdef _DEBUG //#ifdef _DEBUG
_root->loadPlugin(plugins + "Plugin_CgProgramManager_d"); //_root->loadPlugin(plugins + "Plugin_CgProgramManager_d");
_root->loadPlugin(plugins + "Plugin_ParticleFX_d"); //_root->loadPlugin(plugins + "Plugin_ParticleFX_d");
#else //#else
_root->loadPlugin(plugins + "Plugin_CgProgramManager"); _root->loadPlugin(plugins + "Plugin_CgProgramManager");
_root->loadPlugin(plugins + "Plugin_ParticleFX"); _root->loadPlugin(plugins + "Plugin_ParticleFX");
#endif //#endif


// Get full list of available renderers // Get full list of available renderers
const Ogre::RenderSystemList& availRenderers = _root->getAvailableRenderers(); const Ogre::RenderSystemList& availRenderers = _root->getAvailableRenderers();
Expand Down Expand Up @@ -177,8 +179,10 @@ namespace engine


// Manage project resources // Manage project resources
Ogre::ResourceGroupManager &rgm = Ogre::ResourceGroupManager::getSingleton(); Ogre::ResourceGroupManager &rgm = Ogre::ResourceGroupManager::getSingleton();
rgm.addResourceLocation(engine::DATA_DIR, "FileSystem", "data", true); rgm.addResourceLocation(engine::DATA_DIR, "FileSystem", "General", true);
rgm.initialiseResourceGroup("data"); rgm.addResourceLocation(engine::DATA_DIR + "/media", "FileSystem", "General", true);
rgm.addResourceLocation(engine::DATA_DIR + "/media/MyGUI_Media", "FileSystem", "General", true);
rgm.initialiseResourceGroup("General");


Ogre::MaterialManager::getSingleton().setDefaultAnisotropy(16); Ogre::MaterialManager::getSingleton().setDefaultAnisotropy(16);
Ogre::MaterialManager::getSingleton().setDefaultTextureFiltering(Ogre::TFO_ANISOTROPIC); Ogre::MaterialManager::getSingleton().setDefaultTextureFiltering(Ogre::TFO_ANISOTROPIC);
Expand Down
242 changes: 0 additions & 242 deletions src/gui/brush.cpp

This file was deleted.

0 comments on commit 2a53916

Please sign in to comment.