nexus/save.h

25 lines
773 B
C
Raw Normal View History

2010-12-02 12:17:54 +11:00
#include "defs.h"
int loadall(void);
2011-02-01 06:16:13 +11:00
int loadflagpile(FILE *f, flagpile_t *fp);
2010-12-07 18:34:26 +11:00
int loadknowledge(FILE *f);
2010-12-02 12:17:54 +11:00
lifeform_t *loadlf(FILE *f, cell_t *where);
map_t *loadmap(FILE *f);
2010-12-07 18:34:26 +11:00
int loadob(FILE *f, obpile_t *op, long *id);
int loadregions(FILE *f);
2010-12-02 12:17:54 +11:00
int loadsavegame(void);
int loadworlddata(FILE *f);
- [+] make zombies eat flesh. - [+] warn before eating your own kind if it will anger your god, and you wisdom is high. - [+] make disease way worse if you eat your own race's corpse! - [+] CRASH when i try to cook firebug corpse * [+] bones files: - [+] when your leg is bleeding, don't lose hp for ATTACKING, only for MOVING. - [+] bug: issue with skill display if you learn higher than your max level by reading a book! - [+] in this case, reading the book should fail. - [+] when you start worshipping felix, allow you to learn lockpicking & thievery to full level! - [+] infinite loop when an ashkari enters rage while already eating. - [+] felix prayer should always unlock all nearby doors - [+] if you add f_calwill xxx, v1=112312 v2=NA, make v2 = v1. - [+] that way we can confer it! - [+] say "this is xxx!" after wearing a new amulet. - [+] fork / knife should make you eat faster. - [+] double the hp of most armour again AMULETS - [+] add new bodypart = neck - [+] object hiddennames * [+] nouns * [+] adjectives - [+] flight (canwill fly) - [+] enhance spell power - [+] victimization (makes everything hostile) (no auto id) - [+] blinking - [+] anger (canwill rage) - [+] vs poison (poison immune) - [+] vs magic (magic resistance) - [+] common - [+] feather fall (dt_fall dmg = 0) - [+] don't "slam into the ground", just "float gently to the ground" - [+] of amplification (boost listening skillchecks, allow you to listen at stairs) - [+] peaceful sleep (don't get woken up by sound, cursed) - [+] chef's amulet(lower metabolism) - [+] thief's amulet (lockpicking)
2012-03-05 21:31:21 +11:00
int removevaultfile(char *filename);
int savebones(map_t *m, room_t *r);
2011-02-01 06:16:13 +11:00
int saveflagpile(FILE *f, flagpile_t *fp);
2010-12-07 18:34:26 +11:00
int saveknowledge(FILE *f);
2010-12-02 12:17:54 +11:00
int savelf(FILE *f, lifeform_t *l);
2011-02-01 06:16:13 +11:00
int savegame(void);
int savemap(FILE *f, map_t *m);
2010-12-02 12:17:54 +11:00
int saveob(FILE *f, object_t *o);
- [+] make zombies eat flesh. - [+] warn before eating your own kind if it will anger your god, and you wisdom is high. - [+] make disease way worse if you eat your own race's corpse! - [+] CRASH when i try to cook firebug corpse * [+] bones files: - [+] when your leg is bleeding, don't lose hp for ATTACKING, only for MOVING. - [+] bug: issue with skill display if you learn higher than your max level by reading a book! - [+] in this case, reading the book should fail. - [+] when you start worshipping felix, allow you to learn lockpicking & thievery to full level! - [+] infinite loop when an ashkari enters rage while already eating. - [+] felix prayer should always unlock all nearby doors - [+] if you add f_calwill xxx, v1=112312 v2=NA, make v2 = v1. - [+] that way we can confer it! - [+] say "this is xxx!" after wearing a new amulet. - [+] fork / knife should make you eat faster. - [+] double the hp of most armour again AMULETS - [+] add new bodypart = neck - [+] object hiddennames * [+] nouns * [+] adjectives - [+] flight (canwill fly) - [+] enhance spell power - [+] victimization (makes everything hostile) (no auto id) - [+] blinking - [+] anger (canwill rage) - [+] vs poison (poison immune) - [+] vs magic (magic resistance) - [+] common - [+] feather fall (dt_fall dmg = 0) - [+] don't "slam into the ground", just "float gently to the ground" - [+] of amplification (boost listening skillchecks, allow you to listen at stairs) - [+] peaceful sleep (don't get woken up by sound, cursed) - [+] chef's amulet(lower metabolism) - [+] thief's amulet (lockpicking)
2012-03-05 21:31:21 +11:00
int saveobtobones(object_t *o, FILE *f, int x, int y);
int saveregions(FILE *f);
int saveworlddata(FILE *f);
int showhiscores(lifeform_t *lf, int min, int max);
int writehiscore(lifeform_t *lf, int *rank);