chaosfire / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Gui .h clean up #258

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Partial Gui load. Split all windows from game,editor to separate .layout 
files. Don't load anything at start. When sth is needed (user shows Game window 
or Options) then load that .layout and init those parts.
I think it should be much faster. At least for me to test with autoload on. But 
needs much code reworked.

2. Clean up Gui code. Try to make SLV (slider+value) a class, not using 
#define. Also separate gui from OgreGame.h (OgreApp in ed) to other .h file and 
.cpp. Probably will clutter syntax more I suggest gui or sth short to access it.

Original issue reported on code.google.com by Cry...@gmail.com on 19 Aug 2013 at 11:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Main Split done.
OgreGame now CGame, CHud, CGui (.h and .cpp),
OgreApp now CApp and CGui.

Original comment by Cry...@gmail.com on 16 Sep 2013 at 1:42

GoogleCodeExporter commented 8 years ago
1. Not needed. Starting without debugging is very fast. It would be cool to 
have a class for each gui tab, or at least bool to mark if it needs update and 
do it when it's shown.
2. SLV and other defines todo..

Some further .h splits: 
3. All xmls into game data CData?
4. A common class CScene (with terrain,road,vegetation,objects,and all) for 
game and ed.
5. Split Gui, maybe to several like Options (common), Champs, Network etc.

Original comment by Cry...@gmail.com on 16 Sep 2013 at 1:47

GoogleCodeExporter commented 8 years ago
SliderValue is now a class, has range, int* or float*, strings for values
need to replace the rest of SLV's

Original comment by Cry...@gmail.com on 18 Sep 2013 at 4:54

GoogleCodeExporter commented 8 years ago
3. done

Original comment by Cry...@gmail.com on 18 Sep 2013 at 9:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
2. done
Most of SLV's replaced. SliderValue now has also EditBox (can be used as 
edit+slider).

Original comment by Cry...@gmail.com on 20 Sep 2013 at 10:37

GoogleCodeExporter commented 8 years ago
5. did split to GuiCom (common), rest is not that needed.
Now also class Check is better for checkboxes.

4. TODO

Original comment by Cry...@gmail.com on 21 Sep 2013 at 8:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Most of old Chk(..) defines replaced with Check class.

Original comment by Cry...@gmail.com on 30 Sep 2013 at 7:15

GoogleCodeExporter commented 8 years ago
I've put 4. inside issue 260.
Closing.

Original comment by Cry...@gmail.com on 30 Sep 2013 at 3:41