The Dink Network

Reply to Re: Array, away?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 23rd 2009, 06:57 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
The Dink engine keeps a fixed-size array of int-variables. To add other variable types would mean to either revise the current system completely, or to add another array of X-variables (if your new variable type is X).

Open up dinkvar.h, and search for "get_parms" and "decipher" to get you started. Also look at how both are called. For how "get_parms" is used, search for a DinkC function, like "freeze".

Good luck.