Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
LP0 ON FIRE
Jan 25, 2006

beep boop
code:
	//tripwire events
	
	/*
	 
	 needs to setup default tripwire events by 
	 going through the tripwire keys, which are maps,
	 adding the tripwire names to an array,
	 
	 going through the tripwire names array,
	 getting the int value of the tripwireNames value at an index,
	 getting the default tripwire state for the int value,
	 and adding it to a default tripwire states array.
	 
	 a tripwire events dictionary is created out of the
	 default tripwire states array,
	 and it's keys are the tripwire names array.
	 
	 this is added to another dictionary for each tripwire map key.
	 
	 that sets the data dictionary with the key name "tripwiresForMaps"
	 
	 */

Adbot
ADBOT LOVES YOU

SYSV Fanfic
Sep 9, 2003

by Pragmatica
code:
/*The file uses preprocessor tricks so that the file is included twice; the first pass populates the obj_descr[] array with just the object name and description strings. The second pass will populate the full objects[] array with the object definitions (excluding the name and description strings). Do not directly access the obj_descr[], use OBJ_NAME() and OBJ_DESCR() macros. See the objclass-struct in objclass.h. */

pram
Jun 10, 2001
stop posting op

LP0 ON FIRE
Jan 25, 2006

beep boop

SYSV Fanfic posted:

code:
/*The file uses preprocessor tricks so that the file is included twice; the first pass populates the obj_descr[] array with just the object name and description strings. The second pass will populate the full objects[] array with the object definitions (excluding the name and description strings). Do not directly access the obj_descr[], use OBJ_NAME() and OBJ_DESCR() macros. See the objclass-struct in objclass.h. */

thank you :shobon:

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

SYSV Fanfic posted:

code:
/*The file uses preprocessor tricks so that the file is included twice; the first pass populates the obj_descr[] array with just the object name and description strings. The second pass will populate the full objects[] array with the object definitions (excluding the name and description strings). Do not directly access the obj_descr[], use OBJ_NAME() and OBJ_DESCR() macros. See the objclass-struct in objclass.h. */

  • Locked thread