On Thu, 31 Jul 1997, Sammy wrote: =>On Thu, 31 Jul 1997, Desmond Daignault wrote: => =>> The main reason I have been putting most things into Ascii files is the =>> fact that I hate "mile" long array initializations, like the spell table =>> was getting to be. Next on my list is the command table... => =>Are you planning on putting the command table in an ascii file? I'm =>thinking of adding case statements to sperate the commands by first letter =>as in the tag system or possibly using a hash on the first letter or two. =>Other than the lookup speed and the socials mixed in with real commands, I =>don't have a problem with the command structure. Socials are definitely =>going into a file when I get around to it. => Yup, going to put the parts that are needed into an ascii file. Then upon boot I will allocate the table as I go. So, internally it will be the same, but with a function to load the command table instead of it being stored into the executable during compile time. Again, I can care less how long it takes to boot, currently it takes less than 15 seconds to boot, so a couple of seconds spent loading the command table is fine. -- Dez. void signature () { printf ("Praise not the day until evening has come; a woman\n" "until she is burnt; a sword until it is tried; a maiden until\n" "she is married; ice until it has been crossed; beer until it\n" "has been drunk. -- Viking Proverb\n"); } +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST