/* load */
int foo = read_int();
char* bar = read_string();
float baz = read_float();
/* save */
write_int(foo);
write_string(bar);
write_float(baz);
123
This is a string~
12.34
/* load */
int foo = read_int("foo", 0);
char* bar = read_string("bar", "default");
float baz = read_float("baz", 1.0);
/* save */
write_int("foo", foo);
write_string("bar", bar);
write_float("baz", baz);
foo: 1234
bar: This is a string
baz: 12.34
Just wondering if someone has created a mysql backend
to house / edit area info instead of the typical .are file method.
I am running a rom based mud and this would be helpful if someone
could give me a pointer.