![Wink :wink:](./images/smilies/icon_wink.gif)
P.S
I might not have many tutorials (mini games of different genres) but I have two cool docs that you can use to study my structure and maybe make something of your own.
MasterGod wrote:...Currently (since last week) I'm serving in IDF (Israel Defense Forces) and I'm going through a very intensive programming course (6 days a week, 5 of them from 7:30 AM to 10:00 PM), which will last for 3 months. After that I'm going to serve for another 5.5 years doing programming stuff for my country. I love what I'm doing and it makes me feel good....
Code: Select all
1>Linking...
1>CGame.obj : error LNK2019: unresolved external symbol "public: class irr::IrrlichtDevice * __thiscall CGameManager::getDevice(void)" (?getDevice@CGameManager@@QAEPAVIrrlichtDevice@irr@@XZ) referenced in function "public: bool __thiscall CGame::Run(void)" (?Run@CGame@@QAE_NXZ)
1>CGamePlayStateDefault.obj : error LNK2001: unresolved external symbol "public: class irr::IrrlichtDevice * __thiscall CGameManager::getDevice(void)" (?getDevice@CGameManager@@QAEPAVIrrlichtDevice@irr@@XZ)
1>CGamePlayStateDefault.obj : error LNK2019: unresolved external symbol "public: class irr::video::IVideoDriver * __thiscall CGameManager::getDriver(void)" (?getDriver@CGameManager@@QAEPAVIVideoDriver@video@irr@@XZ) referenced in function "public: virtual void __thiscall CGamePlayState::Init(class CGameManager *)" (?Init@CGamePlayState@@UAEXPAVCGameManager@@@Z)
1>C:\Users\Oliver\Documents\Visual Studio 2008\Projects\Tango3D\Debug\Tango3D.exe : fatal error LNK1120: 2 unresolved externals
Yes, it is without a doubt one of the best framework to mess around with. I've been tinkering with it a bit myself. If you do make a physics manager, please share with other irrWizard users.Pie21 wrote:Wow, quite a bump, but it's not as if this doesn't deserve a little more spotlight. I have a question that should be easy to solve, but hard to pose.
...
As a last word, I gotta say again this a beautiful framework, and its taught me more about game structure programming than whatever Google turned up. I can't wait to pick learn JP's IrrPhysx and try and plug that in as a physics manager!
i agree with this man.stash wrote:Hey guys... you want to generate a release of the project to use Irrlicht 1.5 ?
- I agree too, I'm working on it, will post any progress I make.outkast wrote:i agree with this man.stash wrote:Hey guys... you want to generate a release of the project to use Irrlicht 1.5 ?
I don't know what's wrong here------ Build started: Project: Testing, Configuration: Debug Win32 ------
Compiling...
GameStateLevel01.cpp
GameState.cpp
c:\irrwizard\myproject\game.h(25) : error C2259: 'CGameManager' : cannot instantiate abstract class
due to following members:
'bool irr::IEventReceiver::OnEvent(const irr::SEvent &)' : is abstract
c:\documents and settings\aryo pandu subagio\my documents\irrlicht-1.5\include\ieventreceiver.h(351) : see declaration of 'irr::IEventReceiver::OnEvent'
GamePlayState.cpp
GameManager.cpp
GameIntroState.cpp
GameCreditsState.cpp
Game.cpp
c:\irrwizard\myproject\game.h(25) : error C2259: 'CGameManager' : cannot instantiate abstract class
due to following members:
'bool irr::IEventReceiver::OnEvent(const irr::SEvent &)' : is abstract
c:\documents and settings\aryo pandu subagio\my documents\irrlicht-1.5\include\ieventreceiver.h(351) : see declaration of 'irr::IEventReceiver::OnEvent'
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.30729
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Debug\main.sbr': No such file or directory
Build log was saved at "file://c:\IrrWizard\myProject\Debug\BuildLog.htm"
Testing - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Code: Select all
||=== IrrWizard, default ===|
D:\Maciek\Prace\Programowanie\C++\myProject\source\game\Game.h|25|error: cannot declare field 'CGame::m_GameManager' to be of abstract type 'CGameManager'|
D:\Maciek\Prace\Programowanie\C++\myProject\source\game\..\core\GameManager.h|49|note: because the following virtual functions are pure within 'CGameManager':|
D:\Maciek\Prace\Programowanie\C++\Irrlicht\include\IEventReceiver.h|351|note: virtual bool irr::IEventReceiver::OnEvent(const irr::SEvent&)|
||=== Build finished: 1 errors, 0 warnings ===|
Code: Select all
CGameManager* m_GameManager;
Code: Select all
while(m_GameManager->getDevice()->run())
{
if (m_GameManager->getDevice()->isWindowActive())
{
m_GameManager->getConsole()->Draw();
m_GameManager->Update();
}
}
m_GameManager->getDevice()->drop();