3rd- code
3rd- code
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 , 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 ) 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 /:^|
This is very important , 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 ) 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 /:^|
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3rd- code
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
Re: 3rd- code
/:^}~!
And give 3rd-code a choose to select when to run, like TA3D loading, TA3D setting, in game..
And give 3rd-code a choose to select when to run, like TA3D loading, TA3D setting, in game..
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3rd- code
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
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3rd- code
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
Re: 3rd- code
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?
I mean, for example I press a button, then the button method able write in lua?
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Re: 3rd- code
what do you mean by "write" ? If you mean call a Lua function then it's easy to do
=>;-D Penguin Powered
Re: 3rd- code
Yeah, call.
Press a button call a lua function, this mean eazy to modify mothed of button.
Press a button call a lua function, this mean eazy to modify mothed of button.
Who is online
Users browsing this forum: No registered users and 21 guests