diff --git a/COMPILE-linux.txt b/COMPILE-linux.txt index a4df02a745..0dba3bf664 100644 --- a/COMPILE-linux.txt +++ b/COMPILE-linux.txt @@ -58,6 +58,21 @@ try typing: sudo apt-get install libogre-dev libavcodec-dev libavformat-dev libois-dev build-essential g++ gdc +On Arch Linux, get the following packages from AUR: +ogre +mygui-svn +bullet-2.75 +openal +ffmpeg +ois +dmd +libphobos +dsss + +(On Arch you also need to change the Bullet libraries to +-llBulletDynamics -llBulletCollision -llLinearMath in dsss.conf, or +similarily in the Makefile if you prefer building with make.) + A note about OpenAL: The library found in most Linux distributions (0.0.8 SI) is outdated. Some distributions are now changing to OpenAL Soft, which has a less hardware-dependent implementation. If you diff --git a/esm/loadmgef.d b/esm/loadmgef.d index 11ffe1e313..e3a01b4ab1 100644 --- a/esm/loadmgef.d +++ b/esm/loadmgef.d @@ -65,7 +65,7 @@ struct MagicEffect {with(esFile){ readHNExact(&data, data.sizeof,"MEDT"); - icon = getIcon(); + icon = getOIcon(); particle = getOTexture("PTEX"); boltSound = getHNOPtr!(Sound)("BSND", sounds); diff --git a/ogre/cpp_interface.cpp b/ogre/cpp_interface.cpp index 33f30714fb..e0a40ee96a 100644 --- a/ogre/cpp_interface.cpp +++ b/ogre/cpp_interface.cpp @@ -420,7 +420,6 @@ extern "C" void ogre_createWater(float level) ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Plane(Vector3::UNIT_Z, level), 150000,150000 - //,20,20,true,1,5,5,Vector3::UNIT_Z ); Entity *ent = mSceneMgr->createEntity( "WaterEntity", "water" ); root->createChildSceneNode()->attachObject(ent); diff --git a/ogre/cpp_mygui.cpp b/ogre/cpp_mygui.cpp index 25a5dfcfe8..a0b1e9c8fe 100644 --- a/ogre/cpp_mygui.cpp +++ b/ogre/cpp_mygui.cpp @@ -1,5 +1,6 @@ // TODO: KILLME -char *cellName; +std::string cellName; + extern "C" void gui_setCellName(char *str) { cellName = str;