|
Crossfire Server, Trunk
|
#include <CRECombatSimulator.h>
Inheritance diagram for CRECombatSimulator:
Collaboration diagram for CRECombatSimulator:Public Member Functions | |
| CRECombatSimulator () | |
| virtual | ~CRECombatSimulator () |
Protected Slots | |
| void | fight () |
Private Member Functions | |
| void | fight (const archetype *first, const archetype *second) |
Private Attributes | |
| QSpinBox * | myCombats |
| ArchetypeComboBox * | myFirst |
| int | myFirstMaxHp |
| int | myFirstMinHp |
| int | myFirstVictories |
| QSpinBox * | myMaxRounds |
| QLabel * | myResult |
| QLabel * | myResultLabel |
| ArchetypeComboBox * | mySecond |
| int | mySecondMaxHp |
| int | mySecondMinHp |
| int | mySecondVictories |
Definition at line 27 of file CRECombatSimulator.h.
| CRECombatSimulator::CRECombatSimulator | ( | ) |
Definition at line 22 of file CRECombatSimulator.cpp.
References say::box, fight(), is_valid_types_gen::line, myCombats, myFirst, myMaxRounds, myResult, myResultLabel, and mySecond.
Here is the call graph for this function:
|
virtual |
Definition at line 63 of file CRECombatSimulator.cpp.
|
protectedslot |
Definition at line 137 of file CRECombatSimulator.cpp.
References ArchetypeComboBox::arch, disinfect::count, living::maxhp, myCombats, myFirst, myFirstMaxHp, myFirstMinHp, myFirstVictories, myResult, myResultLabel, mySecond, mySecondMaxHp, mySecondMinHp, mySecondVictories, archetype::name, object_create_arch(), object_free(), and object::stats.
Referenced by CRECombatSimulator().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 67 of file CRECombatSimulator.cpp.
References attack_ob(), object::count, FABS, free_map(), get_empty_map(), living::hp, monster_do_living(), myFirstMaxHp, myFirstMinHp, myFirstVictories, myMaxRounds, mySecondMaxHp, mySecondMinHp, mySecondVictories, object_create_arch(), object_free(), object_insert_in_map_at(), object_remove(), object_was_destroyed, object::speed, object::speed_left, object::stats, and test_map.
Here is the call graph for this function:
|
private |
Definition at line 43 of file CRECombatSimulator.h.
Referenced by CRECombatSimulator(), and fight().
|
private |
Definition at line 41 of file CRECombatSimulator.h.
Referenced by CRECombatSimulator(), and fight().
|
private |
Definition at line 50 of file CRECombatSimulator.h.
Referenced by fight().
|
private |
Definition at line 49 of file CRECombatSimulator.h.
Referenced by fight().
|
private |
Definition at line 48 of file CRECombatSimulator.h.
Referenced by fight().
|
private |
Definition at line 44 of file CRECombatSimulator.h.
Referenced by CRECombatSimulator(), and fight().
|
private |
Definition at line 46 of file CRECombatSimulator.h.
Referenced by CRECombatSimulator(), and fight().
|
private |
Definition at line 45 of file CRECombatSimulator.h.
Referenced by CRECombatSimulator(), and fight().
|
private |
Definition at line 42 of file CRECombatSimulator.h.
Referenced by CRECombatSimulator(), and fight().
|
private |
Definition at line 53 of file CRECombatSimulator.h.
Referenced by fight().
|
private |
Definition at line 52 of file CRECombatSimulator.h.
Referenced by fight().
|
private |
Definition at line 51 of file CRECombatSimulator.h.
Referenced by fight().