game setup menu

Everything related to the code /
Tout ce qui touche au code
Post Reply
User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

game setup menu

Post by zuzuf » Tue Apr 10, 2007 10:56 am

I've spent a few hours rewriting the code of this menu. It's no more a WND (window) object managed by the game setup menu function. I replaced it with an AREA object containing windows which are described in TDF files. I reproduced the same screen with those objects (and it's what took me so much time). So basically the screen appearance didn't change except that it can now use a SKIN object to draw the GUI (by the way I improved the GUI module fixing bugs). All this to add the possibility to change this screen easily in gamesetup.tdf, setupgames.area files. And I also added a window to chose the game script, so you don't have to play a standard game any more.

With this i will modify the defense.c script so you can play a real game against units spawned randomly on the map and which will attack your base... This way TA3D will be really playable in single player without an AI.
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests