mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-08 16:29:01 +00:00
56 lines
1.8 KiB
C++
56 lines
1.8 KiB
C++
|
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
|
||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||
|
//
|
||
|
// This program is free software: you can redistribute it and/or modify
|
||
|
// it under the terms of the GNU Affero General Public License as
|
||
|
// published by the Free Software Foundation, either version 3 of the
|
||
|
// License, or (at your option) any later version.
|
||
|
//
|
||
|
// This program is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU Affero General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU Affero General Public License
|
||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
|
||
|
// h file test
|
||
|
|
||
|
//#include "sabrina_actor.h"
|
||
|
//#include "sabrina_actor_creature.h"
|
||
|
//#include "sabrina_actor_player.h"
|
||
|
//#include "sabrina_ai_interface.h"
|
||
|
//#include "sabrina_enum.h"
|
||
|
//#include "sabrina_item_stats.h"
|
||
|
//#include "sabrina_messages.h"
|
||
|
//#include "sabrina_message_callbacks.h"
|
||
|
//#include "sabrina_phrase_description.h"
|
||
|
//#include "sabrina_phrase_instance.h"
|
||
|
//#include "sabrina_phrase_manager.h"
|
||
|
//#include "sabrina_phrase_model.h"
|
||
|
//#include "sabrina_phrase_model_craft.h"
|
||
|
//#include "sabrina_phrase_model_factory.h"
|
||
|
//#include "sabrina_phrase_model_fight.h"
|
||
|
//#include "sabrina_phrase_model_magic.h"
|
||
|
//#include "sabrina_pointers.h"
|
||
|
#include "position_manager/position_manager.h"
|
||
|
|
||
|
/*
|
||
|
#include "items/lockable.h"
|
||
|
CLock lock;
|
||
|
CLockable lockable;
|
||
|
void foo()
|
||
|
{
|
||
|
CLock theLock(&lockable);
|
||
|
lock=&lockable;
|
||
|
lock=(CLockable*)theLock;
|
||
|
if (lock->isLocked())
|
||
|
lock->breakLock();
|
||
|
|
||
|
CLockable* ptr=&lockable;
|
||
|
const CLockable* constPtr=&lockable;
|
||
|
CLock* lock1= ptr->getLock();
|
||
|
const CLock* lock2= constPtr->getLock();
|
||
|
}
|
||
|
*/
|