Author Topic: i hate defines.txt!!  (Read 4259 times)

0 Members and 1 Guest are viewing this topic.

Offline Joel

Re: i hate defines.txt!!
« Reply #15 on: December 20, 2001, 07:38:18 AM »
About the whole global/local thing: what I meant was that putting the actual text of your global defines at the beginning of all your logics instead of a #include directive would make it very hard to change the value of a global define. Recompiling all the logics would be fun by comparison.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »

Offline Chris Cromer

Re: i hate defines.txt!!
« Reply #16 on: December 20, 2001, 10:01:19 AM »
I have no problems keeping track of variables and flags. What I do it when I use a flag or variable I write down which one I used in a txt file then before I assign a new flag or variable I check to see which flags and variables are used and make sure I don't use them.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Nick Sonneveld

Re: i hate defines.txt!!
« Reply #17 on: December 21, 2001, 09:03:23 AM »
Quote
I have no problems keeping track of variables and flags. What I do it when I use a flag or variable I write down which one I used in a txt file then before I assign a new flag or variable I check to see which flags and variables are used and make sure I don't use them.


Why don't you call this file defines.txt and include it with all your logic source :)

Seriously though.. I think the AGI Studio compiler needs some sort of way of automatically assigned variables/flags for your logics.  Maybe logics should get compiled to some sort of abstract object format and only get variables assigned when getting linked.

- Nick
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Chris Cromer

Re: i hate defines.txt!!
« Reply #18 on: December 21, 2001, 11:56:27 AM »
The reason I don't use it as defines.txt is because I just write the flag or variable number. The only thing I ever change in defines.txt would be the about message and the version message.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.072 seconds with 21 queries.