- fixed cell name memory management bug in cpp_mygui.cpp

- esm/esp reader: made ITEX record in MGEF optional


git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@94 ea6a568a-9f4f-0410-981a-c910a81bb256
pull/7/head
nkorslund 16 years ago
parent d3dd588958
commit 6e9de0dc82

@ -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

@ -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);

@ -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);

@ -1,5 +1,6 @@
// TODO: KILLME
char *cellName;
std::string cellName;
extern "C" void gui_setCellName(char *str)
{
cellName = str;

Loading…
Cancel
Save