Crossfire Server, Trunk
R21670
|
#include <CREMainWindow.h>
Signals | |
void | commitData () |
void | updateFilters () |
void | updateReports () |
Public Member Functions | |
CREMainWindow () | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
void | doResourceWindow (DisplayMode mode) |
Private Slots | |
void | browsingFinished () |
void | browsingMap (const QString &path) |
void | onClearCache () |
void | onFiltersModified () |
void | onOpenAnimations () |
void | onOpenArchetypes () |
void | onOpenArtifacts () |
void | onOpenExperience () |
void | onOpenFaces () |
void | onOpenFormulae () |
void | onOpenMaps () |
void | onOpenMessages () |
void | onOpenQuests () |
void | onOpenRandomMaps () |
void | onOpenResources () |
void | onOpenScripts () |
void | onOpenTreasures () |
void | onReportAlchemy () |
void | onReportDuplicate () |
void | onReportPlayer () |
void | onReportQuests () |
void | onReportShops () |
void | onReportsModified () |
void | onReportSpellDamage () |
void | onReportSpells () |
void | onReportSummon () |
void | onSaveFormulae () |
void | onSaveMessages () |
void | onSaveQuests () |
void | onToolBarMaker () |
void | onToolCombatSimulator () |
void | onToolSmooth () |
Private Member Functions | |
void | createActions () |
void | createMenus () |
Private Attributes | |
QMdiArea * | myArea |
QAction * | myClearMapCache |
QLabel * | myMapBrowseStatus |
CREMapInformationManager * | myMapManager |
MessageManager * | myMessageManager |
QAction * | myOpenAnimations |
QAction * | myOpenArchetypes |
QAction * | myOpenArtifacts |
QAction * | myOpenExperience |
QAction * | myOpenFaces |
QAction * | myOpenFormulae |
QAction * | myOpenMaps |
QMenu * | myOpenMenu |
QAction * | myOpenMessages |
QAction * | myOpenQuests |
QAction * | myOpenRandomMaps |
QAction * | myOpenResources |
QAction * | myOpenScripts |
QAction * | myOpenTreasures |
QuestManager * | myQuestManager |
QAction * | myReportAlchemy |
QAction * | myReportDuplicate |
QAction * | myReportPlayer |
QAction * | myReportQuests |
QAction * | myReportShops |
QAction * | myReportSpellDamage |
QAction * | myReportSpells |
QAction * | myReportSummon |
ResourcesManager * | myResourcesManager |
QAction * | mySaveFormulae |
QMenu * | mySaveMenu |
QAction * | mySaveMessages |
QAction * | mySaveQuests |
ScriptFileManager * | myScriptManager |
QAction * | myToolCombatSimulator |
QAction * | myToolHPBar |
QAction * | myToolSmooth |
Definition at line 22 of file CREMainWindow.h.
CREMainWindow::CREMainWindow | ( | ) |
Definition at line 25 of file CREMainWindow.cpp.
References browsingFinished(), browsingMap(), createActions(), createMenus(), ResourcesManager::load(), MessageManager::loadMessages(), QuestManager::loadQuests(), myArea, myMapBrowseStatus, myMapManager, myMessageManager, myQuestManager, myResourcesManager, myScriptManager, and CREMapInformationManager::start().
|
privateslot |
Definition at line 333 of file CREMainWindow.cpp.
References myClearMapCache, myMapBrowseStatus, myReportPlayer, myReportQuests, and myReportShops.
Referenced by CREMainWindow().
|
privateslot |
Definition at line 328 of file CREMainWindow.cpp.
References myMapBrowseStatus.
Referenced by CREMainWindow().
|
protected |
Definition at line 56 of file CREMainWindow.cpp.
References CREMapInformationManager::cancel(), cleanup(), myMapManager, myMessageManager, myQuestManager, and myResourcesManager.
|
signal |
Referenced by doResourceWindow(), onSaveMessages(), and onSaveQuests().
|
private |
Definition at line 67 of file CREMainWindow.cpp.
References myClearMapCache, myOpenAnimations, myOpenArchetypes, myOpenArtifacts, myOpenExperience, myOpenFaces, myOpenFormulae, myOpenMaps, myOpenMessages, myOpenQuests, myOpenRandomMaps, myOpenResources, myOpenScripts, myOpenTreasures, myReportAlchemy, myReportDuplicate, myReportPlayer, myReportQuests, myReportShops, myReportSpellDamage, myReportSpells, myReportSummon, mySaveFormulae, mySaveMessages, mySaveQuests, myToolCombatSimulator, myToolHPBar, myToolSmooth, onClearCache(), onOpenAnimations(), onOpenArchetypes(), onOpenArtifacts(), onOpenExperience(), onOpenFaces(), onOpenFormulae(), onOpenMaps(), onOpenMessages(), onOpenQuests(), onOpenRandomMaps(), onOpenResources(), onOpenScripts(), onOpenTreasures(), onReportAlchemy(), onReportDuplicate(), onReportPlayer(), onReportQuests(), onReportShops(), onReportSpellDamage(), onReportSpells(), onReportSummon(), onSaveFormulae(), onSaveMessages(), onSaveQuests(), onToolBarMaker(), onToolCombatSimulator(), and onToolSmooth().
Referenced by CREMainWindow().
|
private |
Definition at line 190 of file CREMainWindow.cpp.
References myClearMapCache, myOpenAnimations, myOpenArchetypes, myOpenArtifacts, myOpenExperience, myOpenFaces, myOpenFormulae, myOpenMaps, myOpenMenu, myOpenMessages, myOpenQuests, myOpenRandomMaps, myOpenResources, myOpenScripts, myOpenTreasures, myReportAlchemy, myReportDuplicate, myReportPlayer, myReportQuests, myReportShops, myReportSpellDamage, myReportSpells, myReportSummon, mySaveFormulae, mySaveMenu, mySaveMessages, mySaveQuests, myToolCombatSimulator, myToolHPBar, and myToolSmooth.
Referenced by CREMainWindow().
|
protected |
Definition at line 233 of file CREMainWindow.cpp.
References commitData(), myArea, myMapManager, myMessageManager, myQuestManager, myResourcesManager, myScriptManager, onFiltersModified(), onReportsModified(), updateFilters(), and updateReports().
Referenced by onOpenAnimations(), onOpenArchetypes(), onOpenArtifacts(), onOpenFaces(), onOpenFormulae(), onOpenMaps(), onOpenMessages(), onOpenQuests(), onOpenRandomMaps(), onOpenResources(), onOpenScripts(), and onOpenTreasures().
|
privateslot |
Definition at line 1373 of file CREMainWindow.cpp.
References CREMapInformationManager::clearCache(), and myMapManager.
Referenced by createActions().
|
privateslot |
Definition at line 343 of file CREMainWindow.cpp.
References updateFilters().
Referenced by doResourceWindow().
|
privateslot |
Definition at line 260 of file CREMainWindow.cpp.
References DisplayAnimations, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 250 of file CREMainWindow.cpp.
References DisplayArchetypes, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 245 of file CREMainWindow.cpp.
References DisplayArtifacts, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 295 of file CREMainWindow.cpp.
References myArea.
Referenced by createActions().
|
privateslot |
Definition at line 270 of file CREMainWindow.cpp.
References DisplayFaces, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 265 of file CREMainWindow.cpp.
References DisplayFormulae, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 275 of file CREMainWindow.cpp.
References DisplayMaps, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 285 of file CREMainWindow.cpp.
References DisplayMessage, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 280 of file CREMainWindow.cpp.
References DisplayQuests, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 307 of file CREMainWindow.cpp.
References DisplayRandomMaps, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 290 of file CREMainWindow.cpp.
References DisplayAll, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 302 of file CREMainWindow.cpp.
References DisplayScripts, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 255 of file CREMainWindow.cpp.
References DisplayTreasures, and doResourceWindow().
Referenced by createActions().
|
privateslot |
Definition at line 638 of file CREMainWindow.cpp.
References alchemyTable(), archt::clone, first_archetype, obj::name, archt::next, SKILL, and obj::type.
Referenced by createActions().
|
privateslot |
Definition at line 359 of file CREMainWindow.cpp.
References ResourcesManager::allAnimations(), ResourcesManager::animation(), obj::animation, archt::clone, obj::face, ResourcesManager::faces(), animations_struct::faces, first_archetype, first_artifactlist, artifactstruct::item, artifactliststruct::items, myResourcesManager, Face::name, animations_struct::name, obj::name, archt::name, artifactstruct::next, artifactliststruct::next, archt::next, animations_struct::num_animations, and object_get_value().
Referenced by createActions().
|
privateslot |
Generate and display a table reporting for each monster and skill at what level approximately the player could kill the monster.
Definition at line 947 of file CREMainWindow.cpp.
References archt::clone, first_archetype, FLAG_MONSTER, archt::head, liv::hp, IS_COMBAT_SKILL, monsterTable(), obj::name, archt::name, archt::next, QUERY_FLAG, SKILL, obj::stats, obj::subtype, and obj::type.
Referenced by createActions().
|
privateslot |
Definition at line 1283 of file CREMainWindow.cpp.
References Quest::code(), QuestManager::findByCode(), Settings::localdir, myQuestManager, Settings::playerdir, QuestManager::quests(), readDirectory(), settings, and Quest::title().
Referenced by createActions().
|
privateslot |
Definition at line 1192 of file CREMainWindow.cpp.
References CREMapInformationManager::allMaps(), buildShopReport(), myMapManager, and CREMapInformation::shopItems().
Referenced by createActions().
|
privateslot |
Definition at line 348 of file CREMainWindow.cpp.
References updateReports().
Referenced by doResourceWindow().
|
privateslot |
Definition at line 513 of file CREMainWindow.cpp.
References archt::clone, create_archetype(), liv::dam, first_archetype, obj::level, Settings::max_level, obj::name, archt::next, object_free_drop_inventory(), settings, obj::skill, SP_BULLET, SP_level_dam_adjust(), SP_level_spellpoint_cost(), SPELL, SPELL_GRACE, obj::stats, obj::subtype, and obj::type.
Referenced by createActions().
|
privateslot |
Definition at line 697 of file CREMainWindow.cpp.
References archt::clone, first_archetype, obj::name, archt::next, SKILL, spellsTable(), and obj::type.
Referenced by createActions().
|
privateslot |
Definition at line 1075 of file CREMainWindow.cpp.
References archt::clone, determine_holy_arch(), first_archetype, GOD, archt::next, reportSummon(), SP_SUMMON_GOLEM, and SPELL.
Referenced by createActions().
|
privateslot |
Definition at line 312 of file CREMainWindow.cpp.
Referenced by createActions().
|
privateslot |
Definition at line 322 of file CREMainWindow.cpp.
References commitData(), myMessageManager, and MessageManager::saveMessages().
Referenced by createActions().
|
privateslot |
Definition at line 316 of file CREMainWindow.cpp.
References commitData(), myQuestManager, and QuestManager::saveQuests().
Referenced by createActions().
|
privateslot |
Definition at line 1367 of file CREMainWindow.cpp.
Referenced by createActions().
|
privateslot |
Definition at line 1361 of file CREMainWindow.cpp.
Referenced by createActions().
|
privateslot |
Definition at line 1355 of file CREMainWindow.cpp.
Referenced by createActions().
|
signal |
Referenced by doResourceWindow(), and onFiltersModified().
|
signal |
Referenced by doResourceWindow(), and onReportsModified().
|
private |
Definition at line 35 of file CREMainWindow.h.
Referenced by CREMainWindow(), doResourceWindow(), and onOpenExperience().
|
private |
Definition at line 70 of file CREMainWindow.h.
Referenced by browsingFinished(), createActions(), and createMenus().
|
private |
Definition at line 71 of file CREMainWindow.h.
Referenced by browsingFinished(), browsingMap(), and CREMainWindow().
|
private |
Definition at line 72 of file CREMainWindow.h.
Referenced by closeEvent(), CREMainWindow(), doResourceWindow(), onClearCache(), and onReportShops().
|
private |
Definition at line 74 of file CREMainWindow.h.
Referenced by closeEvent(), CREMainWindow(), doResourceWindow(), and onSaveMessages().
|
private |
Definition at line 46 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 44 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 43 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 51 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 48 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 47 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 49 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 40 of file CREMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 53 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 52 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 55 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 50 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 54 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 45 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 73 of file CREMainWindow.h.
Referenced by closeEvent(), CREMainWindow(), doResourceWindow(), onReportQuests(), and onSaveQuests().
|
private |
Definition at line 61 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 59 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 63 of file CREMainWindow.h.
Referenced by browsingFinished(), createActions(), and createMenus().
|
private |
Definition at line 66 of file CREMainWindow.h.
Referenced by browsingFinished(), createActions(), and createMenus().
|
private |
Definition at line 65 of file CREMainWindow.h.
Referenced by browsingFinished(), createActions(), and createMenus().
|
private |
Definition at line 60 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 62 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 64 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 75 of file CREMainWindow.h.
Referenced by closeEvent(), CREMainWindow(), doResourceWindow(), and onReportDuplicate().
|
private |
Definition at line 56 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 41 of file CREMainWindow.h.
Referenced by createMenus().
|
private |
Definition at line 58 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 57 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 76 of file CREMainWindow.h.
Referenced by CREMainWindow(), and doResourceWindow().
|
private |
Definition at line 69 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 68 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().
|
private |
Definition at line 67 of file CREMainWindow.h.
Referenced by createActions(), and createMenus().