lördag 18 juli 2009

Compilation and dependencies

I changed the project settings so that the OPENAL_HOME environment variable is no longer needed; now the OpenAL part is self-contained.

The following is old news for those who were present at the last meeting, but could be a useful summary for anyone else wanting to compile the latest version:

The GUI code is in a separate file and will be integrated better in a future main.cpp, for now we reverted to an older version and saved the new version as mainGUI.cpp.

In the VS menu, go to Project -> Properties (Alt+F7), then to
Configuration Properties -> Debugging
Edit the following fields as follows:
Command: $(ProjectName).exe
Working Directory: bin\debug

If you don't have the DirectX SDK installed, you might get an error that dxguid.lib and dinput8.lib can't be found. If you aren't trying to compile the GUI version, these dependencies can be deleted from Configuration Properties -> Linker -> Input. Perhaps they should be added to the SVN repository, too?
As Michael mentioned, some files from the Ogre3D SDK are also needed for the GUI version, so having that installed is also good.

tisdag 14 juli 2009

Issues with the latest version

First of, the reason Fraz can't compile it has nothing to do with directX. 

"ExampleApplication.h" and "elements/CEGUIPushButton.h" are files from ogreSDK/samples, which I deliberately haven't put on the SVN. IF people really want to use these files we can discuss it on the next meeting. 

Secondly, the "main.cpp" is a complete mess right now. We have input-handlers, scene information, frame-listeners all in the main, none of which should be there. Most should probably have their own files. The only things I think should be in the main, correct me if I'm wrong, is resource handling, panic exit (for now) and scene  selector (in the future). 

And on a side note, I will keep adding my changes to the "hPrototype.h" which (for some reason unknown to me) isn't used in this revision. The small test track I uploaded yesterday for instance will not be loaded with this revision.

Compiling the latest version

The project compiles and runs for me after installing the DirectX SDK for some dependencies, such as dxguid.lib.

The game menu doesn't always show if I run the program directly from VC++, but it does show otherwise.

måndag 13 juli 2009

Problem ExampleApllication.h is missing

Hi,

I have updated my local project but there are some header files missing in latest revision.
Who ever is updating the code kindly upload the header files as well.

The missing header files are:

"ExampleApplication.h"
"elements/CEGUIPushButton.h"

Kindly check that application is running after making any significant changes and please also make sure that there are no file depedencies outside the main project folder before updating it.

Thanks

fredag 10 juli 2009

I missed the meeting :(

Hi,

I was unable to attend the meeting today. I have received some updates from Alex regarding it but if you have anything in your mind that you feel i missed then please let me know.

My cell phone is out of order right now but alternatively you can call me at 0766491204 if you want to.

Thanks

Fraz


Some basic physics

I've integrated some basic parts of the bullet engine. However it is far from functioning properly. I thought I'd commit it anyway, so that I do not fall too far behind in revisions, since I started working on rev 8, and so that you can see how far I've come at tomorrows meeting.

All necessary files from Bullet are included (and probably a bunch of unnecessary ones too, I'll try to sort them out sometime later), so you should just be able to build it.

Some strange things to note about this version:
-The wheels aren't positioned properly
-Steering does not work properly
-Controls are kinda crappy
-It's still a box driving on a plane, no advanced meshes

torsdag 9 juli 2009

New car

A first "real" car is now available on the SVN. I'm having some lighting issues with it in ogre at the moment but hopefully I'll have it working properly by tomorrow.

Here is a picture of what it should look like, as always any comments and/or suggestions are welcome =)