RSS

(root)/dmassist/trunk : 20 : csrc/dnd/npc/npc_console.h

« back to all changes in this revision

Viewing changes to csrc/dnd/npc/npc_console.h

ziroby
2009-10-15 20:20:18
Revision ID: ziroby@users.sourceforge.net-20091015202018-1lowim1bxs4gn3np
Removed NPC Gen / JNI stuff.

Show diffs side-by-side

added added

removed removed

1
 
#ifndef NPC_CONSOLE_H_
2
 
#define NPC_CONSOLE_H_
3
 
 
4
 
 #include "npcEngine.h"
5
 
 
6
 
typedef struct tag_npcopts NPC_OPTS;
7
 
struct tag_npcopts {
8
 
  long seed;
9
 
  int  background;
10
 
  int  alignment;
11
 
  int  race;
12
 
  int  classes[ 3 ];
13
 
  int  levels[ 3 ];
14
 
  int  score_strategy;
15
 
  int  count;
16
 
  int  gender;
17
 
 
18
 
  int  mode;
19
 
  int  wrap;
20
 
 
21
 
  char path[ 512 ];
22
 
  char data_path[ 512 ];
23
 
 
24
 
  NPCSTATBLOCKOPTS opts;
25
 
};
26
 
 
27
 
void heroicAbilities( int* scores, void* data );
28
 
void straight18s( int* scores, void* data );
29
 
void averageAbilities( int* scores, void* data );
30
 
 
31
 
extern NPCABSCOREGENFUNC strategies[];
32
 
 
33
 
int parseCommandLine( int argc, char* argv[], NPC_OPTS* opts, char* buffer, int len );
34
 
int displayNPC_StatBlock( NPC_OPTS* opts, FILE *output, NPC* npc );
35
 
 
36
 
#endif /*NPC_CONSOLE_H_*/
37
 
 

Loggerhead 1.17 is a web-based interface for Bazaar branches