File: ng-setup.h

package info (click to toggle)
crawl 2%3A0.7.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 30,420 kB
  • ctags: 23,018
  • sloc: cpp: 244,317; ansic: 16,144; perl: 2,214; makefile: 984; python: 488; objc: 250; ruby: 200; sh: 140
file content (23 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *  File:       ng-setup.h
 *  Summary:    Setup "you" for a new game.
 */

#ifndef NG_SETUP_H
#define NG_SETUP_H

void give_basic_mutations(species_type speci);

void newgame_make_item(int slot, equipment_type eqslot,
                       object_class_type base,
                       int sub_type, int replacement = -1,
                       int qty = 1, int plus = 0, int plus2 = 0,
                       bool force_tutorial = false);

void newgame_give_item(object_class_type base, int sub_type,
                       int qty = 1, int plus = 0, int plus2 = 0);

struct newgame_def;
void setup_game(const newgame_def& ng);

#endif