I finally decided to do a programming course for C++. As my final project as part of the exam I would like to create a map editor that can at least make setting and editing co-driver notes, checkpoints and sprites more convenient.
I might be able to create the necessary code for doing this with a toolkit like Qt Creator or GTK Builder as a stand alone app but I think it would be better to include it (maybe as an optional extension) into the game. But to accomplish this I would need to understand how to make use of the already available functionality of displaying menus, images and adapting the XML file in Trigger Rally.
But if I try to read the menu.h and menu.cpp files I am struggling with understanding how things work together. I am overwhelmed by the amount of code and open the many ends I need to figure out to actually use the existing mechanisms to create new menu pages to do this.
Can anyone of you experienced programmers like Andrei or marsch84 give me an overview of how those parts work together? (One advice I got for understanding code was to get a mentor already familiar with the code that can give an overview and possibly help out if I encounter a blockade I get stuck with.) Unfortunately I do have only until mid June to create my program and I fear if I try to figure it out myself I at least won't be able to do this in the given time frame (if ever).
I would appreciate any help in navigating the complexity you can provide.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, as I understand you don't need to work around with file menu.h because its already compiled coerce code from menu.cpp so all corrections in menu.cpp after compilation will added to menu.h
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I finally decided to do a programming course for C++. As my final project as part of the exam I would like to create a map editor that can at least make setting and editing co-driver notes, checkpoints and sprites more convenient.
I might be able to create the necessary code for doing this with a toolkit like Qt Creator or GTK Builder as a stand alone app but I think it would be better to include it (maybe as an optional extension) into the game. But to accomplish this I would need to understand how to make use of the already available functionality of displaying menus, images and adapting the XML file in Trigger Rally.
But if I try to read the menu.h and menu.cpp files I am struggling with understanding how things work together. I am overwhelmed by the amount of code and open the many ends I need to figure out to actually use the existing mechanisms to create new menu pages to do this.
Can anyone of you experienced programmers like Andrei or marsch84 give me an overview of how those parts work together? (One advice I got for understanding code was to get a mentor already familiar with the code that can give an overview and possibly help out if I encounter a blockade I get stuck with.) Unfortunately I do have only until mid June to create my program and I fear if I try to figure it out myself I at least won't be able to do this in the given time frame (if ever).
I would appreciate any help in navigating the complexity you can provide.
Hi, as I understand you don't need to work around with file menu.h because its already compiled coerce code from menu.cpp so all corrections in menu.cpp after compilation will added to menu.h