IrrWizard?
Hiho!
Very cool tool (for me as an programer-n00b/programing-learning). I was searching for an simple game engine for testing my maps made in DeleD. So, ive found the CSPGE and this thing also very interesting. The only problem is that "permission denied" comes when i want to compile it with Dev C++. It seems that the folder is write-protected... and i cannot unlock it. :/
Wfr, Sindwiller
Very cool tool (for me as an programer-n00b/programing-learning). I was searching for an simple game engine for testing my maps made in DeleD. So, ive found the CSPGE and this thing also very interesting. The only problem is that "permission denied" comes when i want to compile it with Dev C++. It seems that the folder is write-protected... and i cannot unlock it. :/
Wfr, Sindwiller
-
- Posts: 279
- Joined: Fri Dec 24, 2004 6:37 pm
Error! Compiled for visual c++ a sample fps game. Tried to compile first in visual c++ 2005 express edition then in vc6. Errors in both. Any idea. It said in vc2005 that windows.h was missing and i dont know in which vc but it also showed an error at the string function. And asked me too look at the definition. I dont remember the error and too lazy and sleepy right now to open it so i will just leave it to you guyz to figure it out.
Very nice framework
Just an observation but CGameManager::Init() seems to get called twice. It appears you can remove Init(); in the CGameManager::CGameManager() constructor function to prevent the above situation.
Also if you do the above and add the following code to CGameManager::~CGameManager()
this stops a memory leak involving those pointers
Just an observation but CGameManager::Init() seems to get called twice. It appears you can remove Init(); in the CGameManager::CGameManager() constructor function to prevent the above situation.
Also if you do the above and add the following code to CGameManager::~CGameManager()
Code: Select all
if(m_pPlayer)
{
delete m_pPlayer;
}
if(m_pPathManager)
{
delete m_pPathManager;
}
if(m_pItemManager)
{
delete m_pItemManager;
}
if(m_pEnemyManager)
{
delete m_pEnemyManager;
}
Sorry for lack of help, been away for a bit, and now have no time due to the arrival of a 7lb 11oz baby girl, Olivia Paige Rowland.
What i'll be doing is making a full blown game using the framework, and then droping any code back in at a later point. This will iron out a couple of small issues along the way that some people are having.
To overcome the 'string' propblem, just rip all references to it out.
To overcome the 'windows.h' problem, just link it to your project doing a Tools->options->Projects & Solutions->VC++ Directories, select Include Files Dropdown and add an entry similar to this: C:\Program Files\Microsoft SDK\include
Also thanks to Jam and others for providing support.
Watch this space for IrrWizardDemo FPS, comming soon.(or not as the case may be, free time permitting)
________
Oregon Medical Marijuana
What i'll be doing is making a full blown game using the framework, and then droping any code back in at a later point. This will iron out a couple of small issues along the way that some people are having.
To overcome the 'string' propblem, just rip all references to it out.
To overcome the 'windows.h' problem, just link it to your project doing a Tools->options->Projects & Solutions->VC++ Directories, select Include Files Dropdown and add an entry similar to this: C:\Program Files\Microsoft SDK\include
Also thanks to Jam and others for providing support.
Watch this space for IrrWizardDemo FPS, comming soon.(or not as the case may be, free time permitting)
________
Oregon Medical Marijuana
Last edited by area51 on Thu Feb 24, 2011 11:57 pm, edited 1 time in total.
...thanks guys.
@titere I do plan to integrate Newton, and added a CPhysicsManager to the basic framework option a while ago, although got side tracked and didnt release it. Just need to do a little more work on that, not too sure when it will be finished though.
A UML diagram is a good idea, and can try to do one of those sooner I hope.
________
BMW V3
@titere I do plan to integrate Newton, and added a CPhysicsManager to the basic framework option a while ago, although got side tracked and didnt release it. Just need to do a little more work on that, not too sure when it will be finished though.
A UML diagram is a good idea, and can try to do one of those sooner I hope.
________
BMW V3
Last edited by area51 on Thu Feb 24, 2011 11:57 pm, edited 1 time in total.
-
- Posts: 47
- Joined: Wed Feb 01, 2006 8:09 pm
- Location: Wroclaw
- Contact:
Hi, nice framework
A couple of questions:
1. To extend the menu would you add to the GameMenuState files or create new state files eg GameOptionMenuState.cpp/h
2. Wouldn't it be more practical to have one GameStateLevel file for the whole game and load the extra bits like map name and waypoints from a config file rather than creating new GameStateLevel files for each level?
3. Can you give me any tips on what you would do to implement a pause function and do you think that would be the best way to handle mid-game menu accessing. eg esc key pressed - game pauses - menu displays - click Play - game resumes (unpauses)
Thanks for any help
A couple of questions:
1. To extend the menu would you add to the GameMenuState files or create new state files eg GameOptionMenuState.cpp/h
2. Wouldn't it be more practical to have one GameStateLevel file for the whole game and load the extra bits like map name and waypoints from a config file rather than creating new GameStateLevel files for each level?
3. Can you give me any tips on what you would do to implement a pause function and do you think that would be the best way to handle mid-game menu accessing. eg esc key pressed - game pauses - menu displays - click Play - game resumes (unpauses)
Thanks for any help
I have tried to put a sound class in it, but i recieve an error.
I'm using VS 2005 (microsoft visual c++ 2005)
are in GameSoundState.cpp
is in GameSoundState.h
The files look almost the same as: IntroState.cpp and IntroState.h.
I hope someone can help me with this...
I'm using VS 2005 (microsoft visual c++ 2005)
Code: Select all
gamesoundstate.cpp error C2259: 'CGameSoundState' : cannot instantiate abstract class
Code: Select all
CGameSoundState CGameSoundState::m_GameSoundState;
Code: Select all
CGameSoundState* CGameSoundState::Instance()
{
return ( &m_GameSoundState );
}
Code: Select all
static CGameSoundState m_GameSoundState;
The files look almost the same as: IntroState.cpp and IntroState.h.
I hope someone can help me with this...