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.

2 kommentarer:

  1. There are dependencies in the code for these header files now either these header files should be included or the code must be imported into new header files ... The main point here is why there is a revision which is posted on the repository and it is not in a condition to compile after downloading ... ?

    If someone is experimenting with the code using diff. headerfiles then it should not be on the repository untill it is finalized, i am new to this sub version thingie but please correct me if i am wrong ...

    SvaraRadera
  2. Yes there are dependencies to those files, and in my opinion there shouldn't be any dependencies to sample files.

    I'm guessing this is a result of someone just following the tutorials...

    And I completely agree with you, experiments shouldn't be put in the repository. I don't think this was an experiment however, I think someone assumed that the sample files were on the SVN. Whether they should be there or not is something we might have to discuss on the next meeting.

    SvaraRadera