ManaPlus
Namespaces | Functions | Variables
actions.cpp File Reference

(986a3bf)

#include "actions/actions.h"
#include "actormanager.h"
#include "configuration.h"
#include "game.h"
#include "graphicsmanager.h"
#include "main.h"
#include "spellmanager.h"
#include "actions/actiondef.h"
#include "being/localplayer.h"
#include "being/playerinfo.h"
#include "const/spells.h"
#include "const/resources/skill.h"
#include "fs/files.h"
#include "gui/gui.h"
#include "gui/popupmanager.h"
#include "gui/sdlinput.h"
#include "gui/windowmanager.h"
#include "gui/shortcut/dropshortcut.h"
#include "gui/shortcut/emoteshortcut.h"
#include "gui/shortcut/itemshortcut.h"
#include "gui/popups/popupmenu.h"
#include "gui/windows/buydialog.h"
#include "gui/windows/okdialog.h"
#include "gui/windows/tradewindow.h"
#include "gui/windows/quitdialog.h"
#include "gui/windows/buyselldialog.h"
#include "gui/windows/chatwindow.h"
#include "gui/windows/helpwindow.h"
#include "gui/windows/inventorywindow.h"
#include "gui/windows/itemamountwindow.h"
#include "gui/windows/npcdialog.h"
#include "gui/windows/outfitwindow.h"
#include "gui/windows/setupwindow.h"
#include "gui/windows/shopwindow.h"
#include "gui/windows/shortcutwindow.h"
#include "gui/windows/skilldialog.h"
#include "gui/windows/whoisonline.h"
#include "gui/widgets/createwidget.h"
#include "gui/widgets/tabs/chat/chattab.h"
#include "input/inputactionoperators.h"
#include "render/normalopenglgraphics.h"
#include "net/adminhandler.h"
#include "net/beinghandler.h"
#include "net/buyingstorehandler.h"
#include "net/buysellhandler.h"
#include "net/chathandler.h"
#include "net/download.h"
#include "net/homunculushandler.h"
#include "net/gamehandler.h"
#include "net/inventoryhandler.h"
#include "net/ipc.h"
#include "net/mercenaryhandler.h"
#include "net/net.h"
#include "net/npchandler.h"
#include "net/serverfeatures.h"
#include "net/uploadcharinfo.h"
#include "net/tradehandler.h"
#include "net/vendinghandler.h"
#include "resources/iteminfo.h"
#include "resources/memorymanager.h"
#include "resources/resourcemanager/resourcemanager.h"
#include "utils/chatutils.h"
#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/parameters.h"
#include "utils/timer.h"
#include "net/playerhandler.h"
#include "utils/mathutils.h"
#include <sstream>
#include "debug.h"

Go to the source code of this file.

Namespaces

 Actions
 

Functions

static int Actions::uploadUpdate (void *ptr, const DownloadStatusT status, size_t total, const size_t remaining)
 
static void Actions::uploadFile (const std::string &str, const std::string &fileName, const std::string &addStr, ChatTab *const tab)
 
static BeingActions::findBeing (const std::string &name, const bool npc)
 
static ItemActions::getItemByInvIndex (const int index, const InventoryTypeT invType)
 
static int Actions::getAmountFromEvent (const InputEvent &event, Item *&item0, const InventoryTypeT invType)
 
bool Actions::emote (InputEvent &event)
 
bool Actions::outfit (InputEvent &event)
 
bool Actions::mouseClick (InputEvent &event)
 
bool Actions::ok (InputEvent &event)
 
bool Actions::shortcut (InputEvent &event)
 
bool Actions::quit (InputEvent &event)
 
bool Actions::dropItem0 (InputEvent &event)
 
bool Actions::dropItem (InputEvent &event)
 
bool Actions::dropItemId (InputEvent &event)
 
bool Actions::dropItemInv (InputEvent &event)
 
bool Actions::dropItemIdAll (InputEvent &event)
 
bool Actions::dropItemInvAll (InputEvent &event)
 
bool Actions::heal (InputEvent &event)
 
bool Actions::healmd (InputEvent &event)
 
bool Actions::itenplz (InputEvent &event)
 
bool Actions::setHome (InputEvent &event)
 
bool Actions::magicAttack (InputEvent &event)
 
bool Actions::copyEquippedToOutfit (InputEvent &event)
 
bool Actions::pickup (InputEvent &event)
 
static void Actions::doSit ()
 
bool Actions::sit (InputEvent &event)
 
bool Actions::screenshot (InputEvent &event)
 
bool Actions::ignoreInput (InputEvent &event)
 
bool Actions::buy (InputEvent &event)
 
bool Actions::sell (InputEvent &event)
 
bool Actions::talk (InputEvent &event)
 
bool Actions::stopAttack (InputEvent &event)
 
bool Actions::untarget (InputEvent &event)
 
bool Actions::attack (InputEvent &event)
 
bool Actions::targetAttack (InputEvent &event)
 
bool Actions::attackHuman (InputEvent &event)
 
bool Actions::safeVideoMode (InputEvent &event)
 
bool Actions::stopSit (InputEvent &event)
 
bool Actions::showKeyboard (InputEvent &event)
 
bool Actions::showWindows (InputEvent &event)
 
bool Actions::openTrade (InputEvent &event)
 
bool Actions::ipcToggle (InputEvent &event)
 
bool Actions::where (InputEvent &event)
 
bool Actions::who (InputEvent &event)
 
bool Actions::cleanGraphics (InputEvent &event)
 
bool Actions::cleanFonts (InputEvent &event)
 
bool Actions::trade (InputEvent &event)
 
bool Actions::priceLoad (InputEvent &event)
 
bool Actions::priceSave (InputEvent &event)
 
bool Actions::cacheInfo (InputEvent &event)
 
bool Actions::disconnect (InputEvent &event)
 
bool Actions::undress (InputEvent &event)
 
bool Actions::dirs (InputEvent &event)
 
bool Actions::uptime (InputEvent &event)
 
bool Actions::dump (InputEvent &event)
 
bool Actions::serverIgnoreAll (InputEvent &event)
 
bool Actions::serverUnIgnoreAll (InputEvent &event)
 
bool Actions::error (InputEvent &event) __attribute__((noreturn))
 
bool Actions::dumpGraphics (InputEvent &event)
 
bool Actions::dumpEnvironment (InputEvent &event)
 
bool Actions::dumpTests (InputEvent &event)
 
bool Actions::dumpOGL (InputEvent &event)
 
bool Actions::dumpGL (InputEvent &event)
 
bool Actions::dumpMods (InputEvent &event)
 
bool Actions::createItems (InputEvent &event)
 
bool Actions::createItem (InputEvent &event)
 
bool Actions::uploadConfig (InputEvent &event)
 
bool Actions::uploadServerConfig (InputEvent &event)
 
bool Actions::uploadLog (InputEvent &event)
 
bool Actions::mercenaryFire (InputEvent &event)
 
bool Actions::mercenaryToMaster (InputEvent &event)
 
bool Actions::homunculusToMaster (InputEvent &event)
 
bool Actions::homunculusFeed (InputEvent &event)
 
bool Actions::useItem (InputEvent &event)
 
bool Actions::useItemInv (InputEvent &event)
 
bool Actions::invToStorage (InputEvent &event)
 
bool Actions::tradeAdd (InputEvent &event)
 
bool Actions::storageToInv (InputEvent &event)
 
bool Actions::protectItem (InputEvent &event)
 
bool Actions::unprotectItem (InputEvent &event)
 
bool Actions::kick (InputEvent &event)
 
bool Actions::clearDrop (InputEvent &event)
 
bool Actions::testInfo (InputEvent &event)
 
bool Actions::craftKey (InputEvent &event)
 
bool Actions::resetGameModifiers (InputEvent &event)
 
bool Actions::barToChat (InputEvent &event)
 
bool Actions::seen (InputEvent &event)
 
bool Actions::dumpMemoryUsage (InputEvent &event)
 
bool Actions::setEmoteType (InputEvent &event)
 

Variables

std::string tradePartnerName
 
QuitDialogquitDialog
 
time_t start_time
 
char ** environ
 

Variable Documentation

◆ environ

char** environ
extern

◆ quitDialog

QuitDialog* quitDialog
extern

Definition at line 158 of file game.cpp.

Referenced by Game::handleMove().

◆ start_time

time_t start_time
extern

Definition at line 135 of file client.cpp.

◆ tradePartnerName

std::string tradePartnerName
extern

Definition at line 101 of file popupmenu.cpp.