3rd- code

Everything related to the code /
Tout ce qui touche au code
Post Reply
xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

3rd- code

Post by xpoy » Mon Nov 02, 2009 5:13 pm

Add a file list that loaded, don't show file list on cache, but the list of file name on hard disk, this will helpful for players check his TA3D have true data files.

This is very important :P, for me... And more eazyly to write code.
And may write it down if new version isn't public in soon, but my trouble c++ (just start learn c++ for TA3D before 2 weeks, so a c++ primer :P) will trouble TA3D's code, and asm or c code will trouble more, in this case maybe some interface for 3rd code?
That make sure 3rd-code couldn't effect a lot, at least couldn't effect TA3D crash /:^|

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3rd- code

Post by zuzuf » Tue Nov 03, 2009 12:19 pm

May be we could add a Lua interface which could be used by a set of scripts which could communicate with external tools.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3rd- code

Post by xpoy » Tue Nov 03, 2009 4:23 pm

/:^}~!
And give 3rd-code a choose to select when to run, like TA3D loading, TA3D setting, in game..

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3rd- code

Post by zuzuf » Tue Nov 03, 2009 5:04 pm

I'd rather give information about GUI state through Lua interface, it would require less code both in the scripts and in TA3D itself.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3rd- code

Post by xpoy » Wed Nov 04, 2009 10:10 am

GUI data? What will that be?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3rd- code

Post by zuzuf » Wed Nov 04, 2009 4:14 pm

for example which GUI files are loaded (the .area file will tell you which menu is on screen, .tdf files will tell you which windows are loaded), maybe which windows (using their internal names) are loaded too and why not add the ability to send GUI messages (you could hide/show windows, get/set widget content, etc...) and to load/create/unload windows.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3rd- code

Post by xpoy » Mon Nov 09, 2009 9:20 am

If the GUI info able to get by lua, maybe UI control able write in lua? /:^]
I mean, for example I press a button, then the button method able write in lua?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: 3rd- code

Post by zuzuf » Mon Nov 09, 2009 12:52 pm

what do you mean by "write" ? If you mean call a Lua function then it's easy to do :)
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: 3rd- code

Post by xpoy » Tue Nov 10, 2009 9:14 am

Yeah, call.
Press a button call a lua function, this mean eazy to modify mothed of button.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest