state_change.h
dw_fluffos_v1/lib/include/state_change.h · 555 B
From the archive dw_fluffos_v1.tar.gz
Download the archive « Back to the archive contents
/*
* state_change.h - include file for /obj/handlers/state_change.c
*/
#ifndef __STATE_CHANGE_H
#define __STATE_CHANGE_H
class state_change {
string result; // Path of result
float factor; // Ratio of old amount to new amount
function *func; // Array of function pointers for configuring
// the result on-the-fly
int playtester; // Whether the state change is restricted to
// playtesters only.
}
#define STATE_CHANGE ("/obj/handlers/state_change")
#endif