1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 11:06:43 +00:00

- 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
This commit is contained in:
nkorslund 2009-03-24 12:57:55 +00:00
parent d3dd588958
commit 6e9de0dc82
4 changed files with 18 additions and 3 deletions

View file

@ -58,6 +58,21 @@ try typing:
sudo apt-get install libogre-dev libavcodec-dev libavformat-dev libois-dev build-essential g++ gdc 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 A note about OpenAL: The library found in most Linux distributions
(0.0.8 SI) is outdated. Some distributions are now changing to OpenAL (0.0.8 SI) is outdated. Some distributions are now changing to OpenAL
Soft, which has a less hardware-dependent implementation. If you Soft, which has a less hardware-dependent implementation. If you

View file

@ -65,7 +65,7 @@ struct MagicEffect
{with(esFile){ {with(esFile){
readHNExact(&data, data.sizeof,"MEDT"); readHNExact(&data, data.sizeof,"MEDT");
icon = getIcon(); icon = getOIcon();
particle = getOTexture("PTEX"); particle = getOTexture("PTEX");
boltSound = getHNOPtr!(Sound)("BSND", sounds); boltSound = getHNOPtr!(Sound)("BSND", sounds);

View file

@ -420,7 +420,6 @@ extern "C" void ogre_createWater(float level)
ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
Plane(Vector3::UNIT_Z, level), Plane(Vector3::UNIT_Z, level),
150000,150000 150000,150000
//,20,20,true,1,5,5,Vector3::UNIT_Z
); );
Entity *ent = mSceneMgr->createEntity( "WaterEntity", "water" ); Entity *ent = mSceneMgr->createEntity( "WaterEntity", "water" );
root->createChildSceneNode()->attachObject(ent); root->createChildSceneNode()->attachObject(ent);

View file

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