From 159285c5aa24611ceee7e3847a87bf9ea5f7fb7a Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Fri, 18 Jul 2008 00:48:14 +0000 Subject: Import of client tree --- src/.deps/tmw-action.Po | 1 + src/.deps/tmw-ambientoverlay.Po | 1 + src/.deps/tmw-animatedsprite.Po | 1 + src/.deps/tmw-animation.Po | 1 + src/.deps/tmw-animationparticle.Po | 1 + src/.deps/tmw-base64.Po | 1 + src/.deps/tmw-being.Po | 1 + src/.deps/tmw-beinghandler.Po | 1 + src/.deps/tmw-beingmanager.Po | 1 + src/.deps/tmw-box.Po | 1 + src/.deps/tmw-browserbox.Po | 1 + src/.deps/tmw-buddylist.Po | 1 + src/.deps/tmw-buddywindow.Po | 1 + src/.deps/tmw-button.Po | 1 + src/.deps/tmw-buy.Po | 1 + src/.deps/tmw-buysell.Po | 1 + src/.deps/tmw-buysellhandler.Po | 1 + src/.deps/tmw-char_select.Po | 1 + src/.deps/tmw-char_server.Po | 1 + src/.deps/tmw-chargedialog.Po | 1 + src/.deps/tmw-charserverhandler.Po | 1 + src/.deps/tmw-chat.Po | 1 + src/.deps/tmw-chathandler.Po | 1 + src/.deps/tmw-chatinput.Po | 1 + src/.deps/tmw-checkbox.Po | 1 + src/.deps/tmw-configuration.Po | 1 + src/.deps/tmw-confirm_dialog.Po | 1 + src/.deps/tmw-connection.Po | 1 + src/.deps/tmw-debugwindow.Po | 1 + src/.deps/tmw-dropdown.Po | 1 + src/.deps/tmw-dye.Po | 1 + src/.deps/tmw-engine.Po | 1 + src/.deps/tmw-equipment.Po | 1 + src/.deps/tmw-equipmenthandler.Po | 1 + src/.deps/tmw-equipmentwindow.Po | 1 + src/.deps/tmw-floor_item.Po | 1 + src/.deps/tmw-flooritemmanager.Po | 1 + src/.deps/tmw-focushandler.Po | 1 + src/.deps/tmw-game.Po | 1 + src/.deps/tmw-gccontainer.Po | 1 + src/.deps/tmw-graphics.Po | 1 + src/.deps/tmw-gui.Po | 1 + src/.deps/tmw-hbox.Po | 1 + src/.deps/tmw-help.Po | 1 + src/.deps/tmw-image.Po | 1 + src/.deps/tmw-imageloader.Po | 1 + src/.deps/tmw-imageparticle.Po | 1 + src/.deps/tmw-imageset.Po | 1 + src/.deps/tmw-imagewriter.Po | 1 + src/.deps/tmw-inttextbox.Po | 1 + src/.deps/tmw-inventory.Po | 1 + src/.deps/tmw-inventoryhandler.Po | 1 + src/.deps/tmw-inventorywindow.Po | 1 + src/.deps/tmw-item.Po | 1 + src/.deps/tmw-item_amount.Po | 1 + src/.deps/tmw-itemcontainer.Po | 1 + src/.deps/tmw-itemdb.Po | 1 + src/.deps/tmw-itemhandler.Po | 1 + src/.deps/tmw-iteminfo.Po | 1 + src/.deps/tmw-itemshortcut.Po | 1 + src/.deps/tmw-itemshortcutcontainer.Po | 1 + src/.deps/tmw-itemshortcutwindow.Po | 1 + src/.deps/tmw-joystick.Po | 1 + src/.deps/tmw-keyboardconfig.Po | 1 + src/.deps/tmw-listbox.Po | 1 + src/.deps/tmw-localplayer.Po | 1 + src/.deps/tmw-log.Po | 1 + src/.deps/tmw-login.Po | 1 + src/.deps/tmw-loginhandler.Po | 1 + src/.deps/tmw-main.Po | 1 + src/.deps/tmw-map.Po | 1 + src/.deps/tmw-maploginhandler.Po | 1 + src/.deps/tmw-mapreader.Po | 1 + src/.deps/tmw-menuwindow.Po | 1 + src/.deps/tmw-messagehandler.Po | 1 + src/.deps/tmw-messagein.Po | 1 + src/.deps/tmw-messageout.Po | 1 + src/.deps/tmw-minimap.Po | 1 + src/.deps/tmw-ministatus.Po | 1 + src/.deps/tmw-monster.Po | 1 + src/.deps/tmw-monsterdb.Po | 1 + src/.deps/tmw-monsterinfo.Po | 1 + src/.deps/tmw-music.Po | 1 + src/.deps/tmw-network.Po | 1 + src/.deps/tmw-newskill.Po | 1 + src/.deps/tmw-npc.Po | 1 + src/.deps/tmw-npc_text.Po | 1 + src/.deps/tmw-npcdb.Po | 1 + src/.deps/tmw-npchandler.Po | 1 + src/.deps/tmw-npclistdialog.Po | 1 + src/.deps/tmw-ok_dialog.Po | 1 + src/.deps/tmw-openglgraphics.Po | 1 + src/.deps/tmw-particle.Po | 1 + src/.deps/tmw-particleemitter.Po | 1 + src/.deps/tmw-passwordfield.Po | 1 + src/.deps/tmw-player.Po | 1 + src/.deps/tmw-player_relations.Po | 1 + src/.deps/tmw-playerbox.Po | 1 + src/.deps/tmw-playerhandler.Po | 1 + src/.deps/tmw-popupmenu.Po | 1 + src/.deps/tmw-progressbar.Po | 1 + src/.deps/tmw-protocol.Po | 1 + src/.deps/tmw-radiobutton.Po | 1 + src/.deps/tmw-register.Po | 1 + src/.deps/tmw-resizegrip.Po | 1 + src/.deps/tmw-resource.Po | 1 + src/.deps/tmw-resourcemanager.Po | 1 + src/.deps/tmw-scrollarea.Po | 1 + src/.deps/tmw-sell.Po | 1 + src/.deps/tmw-setup.Po | 1 + src/.deps/tmw-setup_audio.Po | 1 + src/.deps/tmw-setup_joystick.Po | 1 + src/.deps/tmw-setup_keyboard.Po | 1 + src/.deps/tmw-setup_players.Po | 1 + src/.deps/tmw-setup_video.Po | 1 + src/.deps/tmw-shop.Po | 1 + src/.deps/tmw-shoplistbox.Po | 1 + src/.deps/tmw-simpleanimation.Po | 1 + src/.deps/tmw-skill.Po | 1 + src/.deps/tmw-skillhandler.Po | 1 + src/.deps/tmw-slider.Po | 1 + src/.deps/tmw-sound.Po | 1 + src/.deps/tmw-soundeffect.Po | 1 + src/.deps/tmw-spritedef.Po | 1 + src/.deps/tmw-status.Po | 1 + src/.deps/tmw-strprintf.Po | 1 + src/.deps/tmw-tabbedcontainer.Po | 1 + src/.deps/tmw-table.Po | 1 + src/.deps/tmw-table_model.Po | 1 + src/.deps/tmw-textbox.Po | 1 + src/.deps/tmw-textfield.Po | 1 + src/.deps/tmw-textparticle.Po | 1 + src/.deps/tmw-trade.Po | 1 + src/.deps/tmw-tradehandler.Po | 1 + src/.deps/tmw-updatewindow.Po | 1 + src/.deps/tmw-vbox.Po | 1 + src/.deps/tmw-viewport.Po | 1 + src/.deps/tmw-window.Po | 1 + src/.deps/tmw-windowcontainer.Po | 1 + src/.deps/tmw-xml.Po | 1 + src/Makefile.am | 28 +- src/animatedsprite.cpp | 2 +- src/animatedsprite.h | 2 +- src/being.cpp | 55 +- src/being.h | 30 +- src/beingmanager.cpp | 2 +- src/beingmanager.h | 2 +- src/configlistener.h | 2 +- src/configuration.cpp | 2 +- src/configuration.h | 2 +- src/engine.cpp | 2 +- src/engine.h | 2 +- src/equipment.cpp | 2 +- src/equipment.h | 2 +- src/floor_item.cpp | 2 +- src/floor_item.h | 2 +- src/flooritemmanager.cpp | 2 +- src/flooritemmanager.h | 2 +- src/game.cpp | 936 +++++++++++++++++---------------- src/game.h | 50 +- src/graphics.cpp | 2 +- src/graphics.h | 2 +- src/gui/box.cpp | 2 +- src/gui/box.h | 2 +- src/gui/browserbox.cpp | 2 +- src/gui/browserbox.h | 2 +- src/gui/buddywindow.cpp | 85 --- src/gui/buddywindow.h | 58 -- src/gui/button.cpp | 2 +- src/gui/button.h | 2 +- src/gui/buttonbox.cpp | 47 ++ src/gui/buttonbox.h | 70 +++ src/gui/buy.cpp | 2 +- src/gui/buy.h | 2 +- src/gui/buysell.cpp | 2 +- src/gui/buysell.h | 2 +- src/gui/char_select.cpp | 2 +- src/gui/char_select.h | 2 +- src/gui/char_server.cpp | 7 +- src/gui/char_server.h | 2 +- src/gui/chat.cpp | 758 ++++++++++++++++++-------- src/gui/chat.h | 270 +++++----- src/gui/chatinput.cpp | 2 +- src/gui/chatinput.h | 2 +- src/gui/checkbox.cpp | 2 +- src/gui/checkbox.h | 2 +- src/gui/confirm_dialog.cpp | 2 +- src/gui/confirm_dialog.h | 2 +- src/gui/connection.cpp | 2 +- src/gui/connection.h | 2 +- src/gui/debugwindow.cpp | 2 +- src/gui/debugwindow.h | 2 +- src/gui/equipmentwindow.cpp | 2 +- src/gui/equipmentwindow.h | 2 +- src/gui/focushandler.cpp | 2 +- src/gui/focushandler.h | 2 +- src/gui/gccontainer.cpp | 2 +- src/gui/gccontainer.h | 2 +- src/gui/gui.cpp | 2 +- src/gui/gui.h | 2 +- src/gui/hbox.cpp | 2 +- src/gui/hbox.h | 2 +- src/gui/help.cpp | 2 +- src/gui/help.h | 2 +- src/gui/inttextbox.cpp | 2 +- src/gui/inttextbox.h | 2 +- src/gui/inventorywindow.cpp | 2 +- src/gui/inventorywindow.h | 2 +- src/gui/item_amount.cpp | 2 +- src/gui/item_amount.h | 2 +- src/gui/itemcontainer.cpp | 2 +- src/gui/itemcontainer.h | 2 +- src/gui/itemshortcutcontainer.cpp | 2 +- src/gui/itemshortcutcontainer.h | 2 +- src/gui/itemshortcutwindow.cpp | 2 +- src/gui/itemshortcutwindow.h | 2 +- src/gui/linkhandler.h | 2 +- src/gui/listbox.cpp | 2 +- src/gui/listbox.h | 2 +- src/gui/login.cpp | 250 ++++++++- src/gui/login.h | 58 +- src/gui/menuwindow.cpp | 2 +- src/gui/menuwindow.h | 2 +- src/gui/minimap.cpp | 2 +- src/gui/minimap.h | 2 +- src/gui/ministatus.cpp | 2 +- src/gui/ministatus.h | 2 +- src/gui/newskill.cpp | 2 +- src/gui/newskill.h | 2 +- src/gui/npc_text.cpp | 2 +- src/gui/npc_text.h | 2 +- src/gui/npclistdialog.cpp | 2 +- src/gui/npclistdialog.h | 2 +- src/gui/ok_dialog.cpp | 2 +- src/gui/ok_dialog.h | 2 +- src/gui/passwordfield.cpp | 2 +- src/gui/passwordfield.h | 2 +- src/gui/playerbox.cpp | 2 +- src/gui/playerbox.h | 2 +- src/gui/popupmenu.cpp | 211 ++++---- src/gui/popupmenu.h | 2 +- src/gui/progressbar.cpp | 2 +- src/gui/progressbar.h | 2 +- src/gui/radiobutton.cpp | 2 +- src/gui/radiobutton.h | 2 +- src/gui/register.cpp | 122 +++-- src/gui/register.h | 23 +- src/gui/scrollarea.cpp | 2 +- src/gui/scrollarea.h | 2 +- src/gui/sell.cpp | 2 +- src/gui/sell.h | 2 +- src/gui/setup.cpp | 2 +- src/gui/setup.h | 2 +- src/gui/setup_audio.cpp | 2 +- src/gui/setup_audio.h | 2 +- src/gui/setup_joystick.cpp | 2 +- src/gui/setup_joystick.h | 2 +- src/gui/setup_keyboard.cpp | 2 +- src/gui/setup_keyboard.h | 2 +- src/gui/setup_players.cpp | 2 +- src/gui/setup_video.cpp | 2 +- src/gui/setup_video.h | 2 +- src/gui/setuptab.h | 2 +- src/gui/shop.cpp | 2 +- src/gui/shop.h | 2 +- src/gui/skill.cpp | 2 +- src/gui/skill.h | 2 +- src/gui/slider.cpp | 2 +- src/gui/slider.h | 2 +- src/gui/status.cpp | 2 +- src/gui/status.h | 2 +- src/gui/tabbedcontainer.cpp | 2 +- src/gui/tabbedcontainer.h | 2 +- src/gui/textbox.cpp | 2 +- src/gui/textbox.h | 2 +- src/gui/textfield.cpp | 2 +- src/gui/textfield.h | 2 +- src/gui/updatewindow.cpp | 2 +- src/gui/updatewindow.h | 2 +- src/gui/vbox.cpp | 2 +- src/gui/vbox.h | 2 +- src/gui/viewport.cpp | 30 +- src/gui/viewport.h | 2 +- src/gui/widgets/dropdown.cpp | 169 ++++++ src/gui/widgets/dropdown.h | 85 +++ src/gui/widgets/resizegrip.cpp | 2 +- src/gui/widgets/resizegrip.h | 2 +- src/gui/window.cpp | 2 +- src/gui/window.h | 2 +- src/gui/windowcontainer.cpp | 2 +- src/gui/windowcontainer.h | 2 +- src/guichanfwd.h | 2 +- src/imageparticle.cpp | 2 +- src/imageparticle.h | 2 +- src/inventory.cpp | 2 +- src/inventory.h | 2 +- src/item.cpp | 2 +- src/item.h | 2 +- src/itemshortcut.cpp | 2 +- src/itemshortcut.h | 2 +- src/joystick.cpp | 2 +- src/joystick.h | 2 +- src/keyboardconfig.cpp | 2 +- src/keyboardconfig.h | 2 +- src/localplayer.cpp | 30 +- src/localplayer.h | 13 +- src/lockedarray.h | 2 +- src/logindata.h | 3 +- src/main.cpp | 159 +++--- src/main.h | 2 +- src/map.cpp | 2 +- src/map.h | 2 +- src/monster.cpp | 47 +- src/monster.h | 18 +- src/net/beinghandler.cpp | 51 +- src/net/beinghandler.h | 2 +- src/net/buysellhandler.cpp | 2 +- src/net/buysellhandler.h | 2 +- src/net/charserverhandler.cpp | 2 +- src/net/charserverhandler.h | 2 +- src/net/chathandler.cpp | 2 +- src/net/chathandler.h | 2 +- src/net/equipmenthandler.cpp | 2 +- src/net/equipmenthandler.h | 2 +- src/net/inventoryhandler.cpp | 2 +- src/net/inventoryhandler.h | 2 +- src/net/itemhandler.cpp | 2 +- src/net/itemhandler.h | 2 +- src/net/loginhandler.cpp | 16 +- src/net/loginhandler.h | 6 +- src/net/maploginhandler.cpp | 2 +- src/net/maploginhandler.h | 2 +- src/net/messagehandler.cpp | 2 +- src/net/messagehandler.h | 2 +- src/net/messagein.cpp | 2 +- src/net/messagein.h | 2 +- src/net/messageout.cpp | 2 +- src/net/messageout.h | 2 +- src/net/network.cpp | 4 +- src/net/network.h | 2 +- src/net/npchandler.cpp | 2 +- src/net/npchandler.h | 2 +- src/net/partyhandler.cpp | 127 +++++ src/net/partyhandler.h | 41 ++ src/net/playerhandler.cpp | 29 +- src/net/playerhandler.h | 2 +- src/net/protocol.cpp | 2 +- src/net/protocol.h | 27 +- src/net/skillhandler.cpp | 2 +- src/net/skillhandler.h | 2 +- src/net/tradehandler.cpp | 2 +- src/net/tradehandler.h | 2 +- src/npc.cpp | 43 +- src/npc.h | 13 +- src/openglgraphics.cpp | 2 +- src/openglgraphics.h | 2 +- src/particle.cpp | 2 +- src/particle.h | 2 +- src/particleemitter.cpp | 2 +- src/particleemitter.h | 2 +- src/party.cpp | 219 ++++++++ src/party.h | 75 +++ src/player.cpp | 67 +-- src/player.h | 43 +- src/player_relations.cpp | 28 +- src/properties.h | 2 +- src/recorder.cpp | 112 ++++ src/recorder.h | 50 ++ src/resources/action.cpp | 2 +- src/resources/action.h | 2 +- src/resources/ambientoverlay.cpp | 2 +- src/resources/ambientoverlay.h | 2 +- src/resources/animation.cpp | 2 +- src/resources/animation.h | 2 +- src/resources/buddylist.cpp | 2 +- src/resources/buddylist.h | 2 +- src/resources/image.cpp | 2 +- src/resources/image.h | 2 +- src/resources/imageset.cpp | 2 +- src/resources/imageset.h | 2 +- src/resources/imagewriter.cpp | 2 +- src/resources/imagewriter.h | 2 +- src/resources/itemdb.cpp | 2 +- src/resources/itemdb.h | 2 +- src/resources/iteminfo.cpp | 2 +- src/resources/iteminfo.h | 2 +- src/resources/mapreader.cpp | 2 +- src/resources/mapreader.h | 2 +- src/resources/monsterdb.cpp | 2 +- src/resources/monsterdb.h | 2 +- src/resources/music.cpp | 2 +- src/resources/music.h | 2 +- src/resources/npcdb.cpp | 2 +- src/resources/npcdb.h | 2 +- src/resources/resource.cpp | 2 +- src/resources/resource.h | 2 +- src/resources/resourcemanager.cpp | 2 +- src/resources/resourcemanager.h | 2 +- src/resources/soundeffect.cpp | 2 +- src/resources/soundeffect.h | 2 +- src/resources/spritedef.cpp | 2 +- src/resources/spritedef.h | 2 +- src/serverinfo.h | 3 +- src/shopitem.cpp | 2 +- src/shopitem.h | 2 +- src/simpleanimation.cpp | 2 +- src/simpleanimation.h | 2 +- src/sound.cpp | 2 +- src/sound.h | 2 +- src/sprite.h | 2 +- src/text.cpp | 102 ++++ src/text.h | 93 ++++ src/textmanager.cpp | 177 +++++++ src/textmanager.h | 75 +++ src/textparticle.cpp | 2 +- src/textparticle.h | 2 +- src/tileset.h | 2 +- src/utils/base64.cpp | 2 +- src/utils/base64.h | 2 +- src/utils/dtor.h | 2 +- src/utils/fastsqrt.h | 2 +- src/utils/minmax.h | 2 +- src/utils/tostring.h | 2 +- src/utils/trim.h | 2 +- src/utils/xml.cpp | 2 +- src/utils/xml.h | 2 +- src/vector.h | 2 +- 427 files changed, 3962 insertions(+), 1669 deletions(-) create mode 100644 src/.deps/tmw-action.Po create mode 100644 src/.deps/tmw-ambientoverlay.Po create mode 100644 src/.deps/tmw-animatedsprite.Po create mode 100644 src/.deps/tmw-animation.Po create mode 100644 src/.deps/tmw-animationparticle.Po create mode 100644 src/.deps/tmw-base64.Po create mode 100644 src/.deps/tmw-being.Po create mode 100644 src/.deps/tmw-beinghandler.Po create mode 100644 src/.deps/tmw-beingmanager.Po create mode 100644 src/.deps/tmw-box.Po create mode 100644 src/.deps/tmw-browserbox.Po create mode 100644 src/.deps/tmw-buddylist.Po create mode 100644 src/.deps/tmw-buddywindow.Po create mode 100644 src/.deps/tmw-button.Po create mode 100644 src/.deps/tmw-buy.Po create mode 100644 src/.deps/tmw-buysell.Po create mode 100644 src/.deps/tmw-buysellhandler.Po create mode 100644 src/.deps/tmw-char_select.Po create mode 100644 src/.deps/tmw-char_server.Po create mode 100644 src/.deps/tmw-chargedialog.Po create mode 100644 src/.deps/tmw-charserverhandler.Po create mode 100644 src/.deps/tmw-chat.Po create mode 100644 src/.deps/tmw-chathandler.Po create mode 100644 src/.deps/tmw-chatinput.Po create mode 100644 src/.deps/tmw-checkbox.Po create mode 100644 src/.deps/tmw-configuration.Po create mode 100644 src/.deps/tmw-confirm_dialog.Po create mode 100644 src/.deps/tmw-connection.Po create mode 100644 src/.deps/tmw-debugwindow.Po create mode 100644 src/.deps/tmw-dropdown.Po create mode 100644 src/.deps/tmw-dye.Po create mode 100644 src/.deps/tmw-engine.Po create mode 100644 src/.deps/tmw-equipment.Po create mode 100644 src/.deps/tmw-equipmenthandler.Po create mode 100644 src/.deps/tmw-equipmentwindow.Po create mode 100644 src/.deps/tmw-floor_item.Po create mode 100644 src/.deps/tmw-flooritemmanager.Po create mode 100644 src/.deps/tmw-focushandler.Po create mode 100644 src/.deps/tmw-game.Po create mode 100644 src/.deps/tmw-gccontainer.Po create mode 100644 src/.deps/tmw-graphics.Po create mode 100644 src/.deps/tmw-gui.Po create mode 100644 src/.deps/tmw-hbox.Po create mode 100644 src/.deps/tmw-help.Po create mode 100644 src/.deps/tmw-image.Po create mode 100644 src/.deps/tmw-imageloader.Po create mode 100644 src/.deps/tmw-imageparticle.Po create mode 100644 src/.deps/tmw-imageset.Po create mode 100644 src/.deps/tmw-imagewriter.Po create mode 100644 src/.deps/tmw-inttextbox.Po create mode 100644 src/.deps/tmw-inventory.Po create mode 100644 src/.deps/tmw-inventoryhandler.Po create mode 100644 src/.deps/tmw-inventorywindow.Po create mode 100644 src/.deps/tmw-item.Po create mode 100644 src/.deps/tmw-item_amount.Po create mode 100644 src/.deps/tmw-itemcontainer.Po create mode 100644 src/.deps/tmw-itemdb.Po create mode 100644 src/.deps/tmw-itemhandler.Po create mode 100644 src/.deps/tmw-iteminfo.Po create mode 100644 src/.deps/tmw-itemshortcut.Po create mode 100644 src/.deps/tmw-itemshortcutcontainer.Po create mode 100644 src/.deps/tmw-itemshortcutwindow.Po create mode 100644 src/.deps/tmw-joystick.Po create mode 100644 src/.deps/tmw-keyboardconfig.Po create mode 100644 src/.deps/tmw-listbox.Po create mode 100644 src/.deps/tmw-localplayer.Po create mode 100644 src/.deps/tmw-log.Po create mode 100644 src/.deps/tmw-login.Po create mode 100644 src/.deps/tmw-loginhandler.Po create mode 100644 src/.deps/tmw-main.Po create mode 100644 src/.deps/tmw-map.Po create mode 100644 src/.deps/tmw-maploginhandler.Po create mode 100644 src/.deps/tmw-mapreader.Po create mode 100644 src/.deps/tmw-menuwindow.Po create mode 100644 src/.deps/tmw-messagehandler.Po create mode 100644 src/.deps/tmw-messagein.Po create mode 100644 src/.deps/tmw-messageout.Po create mode 100644 src/.deps/tmw-minimap.Po create mode 100644 src/.deps/tmw-ministatus.Po create mode 100644 src/.deps/tmw-monster.Po create mode 100644 src/.deps/tmw-monsterdb.Po create mode 100644 src/.deps/tmw-monsterinfo.Po create mode 100644 src/.deps/tmw-music.Po create mode 100644 src/.deps/tmw-network.Po create mode 100644 src/.deps/tmw-newskill.Po create mode 100644 src/.deps/tmw-npc.Po create mode 100644 src/.deps/tmw-npc_text.Po create mode 100644 src/.deps/tmw-npcdb.Po create mode 100644 src/.deps/tmw-npchandler.Po create mode 100644 src/.deps/tmw-npclistdialog.Po create mode 100644 src/.deps/tmw-ok_dialog.Po create mode 100644 src/.deps/tmw-openglgraphics.Po create mode 100644 src/.deps/tmw-particle.Po create mode 100644 src/.deps/tmw-particleemitter.Po create mode 100644 src/.deps/tmw-passwordfield.Po create mode 100644 src/.deps/tmw-player.Po create mode 100644 src/.deps/tmw-player_relations.Po create mode 100644 src/.deps/tmw-playerbox.Po create mode 100644 src/.deps/tmw-playerhandler.Po create mode 100644 src/.deps/tmw-popupmenu.Po create mode 100644 src/.deps/tmw-progressbar.Po create mode 100644 src/.deps/tmw-protocol.Po create mode 100644 src/.deps/tmw-radiobutton.Po create mode 100644 src/.deps/tmw-register.Po create mode 100644 src/.deps/tmw-resizegrip.Po create mode 100644 src/.deps/tmw-resource.Po create mode 100644 src/.deps/tmw-resourcemanager.Po create mode 100644 src/.deps/tmw-scrollarea.Po create mode 100644 src/.deps/tmw-sell.Po create mode 100644 src/.deps/tmw-setup.Po create mode 100644 src/.deps/tmw-setup_audio.Po create mode 100644 src/.deps/tmw-setup_joystick.Po create mode 100644 src/.deps/tmw-setup_keyboard.Po create mode 100644 src/.deps/tmw-setup_players.Po create mode 100644 src/.deps/tmw-setup_video.Po create mode 100644 src/.deps/tmw-shop.Po create mode 100644 src/.deps/tmw-shoplistbox.Po create mode 100644 src/.deps/tmw-simpleanimation.Po create mode 100644 src/.deps/tmw-skill.Po create mode 100644 src/.deps/tmw-skillhandler.Po create mode 100644 src/.deps/tmw-slider.Po create mode 100644 src/.deps/tmw-sound.Po create mode 100644 src/.deps/tmw-soundeffect.Po create mode 100644 src/.deps/tmw-spritedef.Po create mode 100644 src/.deps/tmw-status.Po create mode 100644 src/.deps/tmw-strprintf.Po create mode 100644 src/.deps/tmw-tabbedcontainer.Po create mode 100644 src/.deps/tmw-table.Po create mode 100644 src/.deps/tmw-table_model.Po create mode 100644 src/.deps/tmw-textbox.Po create mode 100644 src/.deps/tmw-textfield.Po create mode 100644 src/.deps/tmw-textparticle.Po create mode 100644 src/.deps/tmw-trade.Po create mode 100644 src/.deps/tmw-tradehandler.Po create mode 100644 src/.deps/tmw-updatewindow.Po create mode 100644 src/.deps/tmw-vbox.Po create mode 100644 src/.deps/tmw-viewport.Po create mode 100644 src/.deps/tmw-window.Po create mode 100644 src/.deps/tmw-windowcontainer.Po create mode 100644 src/.deps/tmw-xml.Po delete mode 100644 src/gui/buddywindow.cpp delete mode 100644 src/gui/buddywindow.h create mode 100644 src/gui/buttonbox.cpp create mode 100644 src/gui/buttonbox.h create mode 100644 src/gui/widgets/dropdown.cpp create mode 100644 src/gui/widgets/dropdown.h create mode 100644 src/net/partyhandler.cpp create mode 100644 src/net/partyhandler.h create mode 100644 src/party.cpp create mode 100644 src/party.h create mode 100644 src/recorder.cpp create mode 100644 src/recorder.h create mode 100644 src/text.cpp create mode 100644 src/text.h create mode 100644 src/textmanager.cpp create mode 100644 src/textmanager.h (limited to 'src') diff --git a/src/.deps/tmw-action.Po b/src/.deps/tmw-action.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-action.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-ambientoverlay.Po b/src/.deps/tmw-ambientoverlay.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-ambientoverlay.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-animatedsprite.Po b/src/.deps/tmw-animatedsprite.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-animatedsprite.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-animation.Po b/src/.deps/tmw-animation.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-animation.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-animationparticle.Po b/src/.deps/tmw-animationparticle.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-animationparticle.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-base64.Po b/src/.deps/tmw-base64.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-base64.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-being.Po b/src/.deps/tmw-being.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-being.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-beinghandler.Po b/src/.deps/tmw-beinghandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-beinghandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-beingmanager.Po b/src/.deps/tmw-beingmanager.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-beingmanager.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-box.Po b/src/.deps/tmw-box.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-box.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-browserbox.Po b/src/.deps/tmw-browserbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-browserbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-buddylist.Po b/src/.deps/tmw-buddylist.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-buddylist.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-buddywindow.Po b/src/.deps/tmw-buddywindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-buddywindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-button.Po b/src/.deps/tmw-button.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-button.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-buy.Po b/src/.deps/tmw-buy.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-buy.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-buysell.Po b/src/.deps/tmw-buysell.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-buysell.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-buysellhandler.Po b/src/.deps/tmw-buysellhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-buysellhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-char_select.Po b/src/.deps/tmw-char_select.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-char_select.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-char_server.Po b/src/.deps/tmw-char_server.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-char_server.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-chargedialog.Po b/src/.deps/tmw-chargedialog.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-chargedialog.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-charserverhandler.Po b/src/.deps/tmw-charserverhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-charserverhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-chat.Po b/src/.deps/tmw-chat.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-chat.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-chathandler.Po b/src/.deps/tmw-chathandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-chathandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-chatinput.Po b/src/.deps/tmw-chatinput.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-chatinput.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-checkbox.Po b/src/.deps/tmw-checkbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-checkbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-configuration.Po b/src/.deps/tmw-configuration.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-configuration.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-confirm_dialog.Po b/src/.deps/tmw-confirm_dialog.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-confirm_dialog.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-connection.Po b/src/.deps/tmw-connection.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-connection.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-debugwindow.Po b/src/.deps/tmw-debugwindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-debugwindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-dropdown.Po b/src/.deps/tmw-dropdown.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-dropdown.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-dye.Po b/src/.deps/tmw-dye.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-dye.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-engine.Po b/src/.deps/tmw-engine.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-engine.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-equipment.Po b/src/.deps/tmw-equipment.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-equipment.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-equipmenthandler.Po b/src/.deps/tmw-equipmenthandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-equipmenthandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-equipmentwindow.Po b/src/.deps/tmw-equipmentwindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-equipmentwindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-floor_item.Po b/src/.deps/tmw-floor_item.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-floor_item.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-flooritemmanager.Po b/src/.deps/tmw-flooritemmanager.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-flooritemmanager.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-focushandler.Po b/src/.deps/tmw-focushandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-focushandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-game.Po b/src/.deps/tmw-game.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-game.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-gccontainer.Po b/src/.deps/tmw-gccontainer.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-gccontainer.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-graphics.Po b/src/.deps/tmw-graphics.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-graphics.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-gui.Po b/src/.deps/tmw-gui.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-gui.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-hbox.Po b/src/.deps/tmw-hbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-hbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-help.Po b/src/.deps/tmw-help.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-help.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-image.Po b/src/.deps/tmw-image.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-image.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-imageloader.Po b/src/.deps/tmw-imageloader.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-imageloader.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-imageparticle.Po b/src/.deps/tmw-imageparticle.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-imageparticle.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-imageset.Po b/src/.deps/tmw-imageset.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-imageset.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-imagewriter.Po b/src/.deps/tmw-imagewriter.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-imagewriter.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-inttextbox.Po b/src/.deps/tmw-inttextbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-inttextbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-inventory.Po b/src/.deps/tmw-inventory.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-inventory.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-inventoryhandler.Po b/src/.deps/tmw-inventoryhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-inventoryhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-inventorywindow.Po b/src/.deps/tmw-inventorywindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-inventorywindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-item.Po b/src/.deps/tmw-item.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-item.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-item_amount.Po b/src/.deps/tmw-item_amount.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-item_amount.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-itemcontainer.Po b/src/.deps/tmw-itemcontainer.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-itemcontainer.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-itemdb.Po b/src/.deps/tmw-itemdb.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-itemdb.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-itemhandler.Po b/src/.deps/tmw-itemhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-itemhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-iteminfo.Po b/src/.deps/tmw-iteminfo.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-iteminfo.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-itemshortcut.Po b/src/.deps/tmw-itemshortcut.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-itemshortcut.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-itemshortcutcontainer.Po b/src/.deps/tmw-itemshortcutcontainer.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-itemshortcutcontainer.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-itemshortcutwindow.Po b/src/.deps/tmw-itemshortcutwindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-itemshortcutwindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-joystick.Po b/src/.deps/tmw-joystick.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-joystick.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-keyboardconfig.Po b/src/.deps/tmw-keyboardconfig.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-keyboardconfig.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-listbox.Po b/src/.deps/tmw-listbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-listbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-localplayer.Po b/src/.deps/tmw-localplayer.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-localplayer.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-log.Po b/src/.deps/tmw-log.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-log.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-login.Po b/src/.deps/tmw-login.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-login.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-loginhandler.Po b/src/.deps/tmw-loginhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-loginhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-main.Po b/src/.deps/tmw-main.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-main.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-map.Po b/src/.deps/tmw-map.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-map.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-maploginhandler.Po b/src/.deps/tmw-maploginhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-maploginhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-mapreader.Po b/src/.deps/tmw-mapreader.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-mapreader.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-menuwindow.Po b/src/.deps/tmw-menuwindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-menuwindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-messagehandler.Po b/src/.deps/tmw-messagehandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-messagehandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-messagein.Po b/src/.deps/tmw-messagein.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-messagein.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-messageout.Po b/src/.deps/tmw-messageout.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-messageout.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-minimap.Po b/src/.deps/tmw-minimap.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-minimap.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-ministatus.Po b/src/.deps/tmw-ministatus.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-ministatus.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-monster.Po b/src/.deps/tmw-monster.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-monster.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-monsterdb.Po b/src/.deps/tmw-monsterdb.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-monsterdb.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-monsterinfo.Po b/src/.deps/tmw-monsterinfo.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-monsterinfo.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-music.Po b/src/.deps/tmw-music.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-music.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-network.Po b/src/.deps/tmw-network.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-network.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-newskill.Po b/src/.deps/tmw-newskill.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-newskill.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-npc.Po b/src/.deps/tmw-npc.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-npc.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-npc_text.Po b/src/.deps/tmw-npc_text.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-npc_text.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-npcdb.Po b/src/.deps/tmw-npcdb.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-npcdb.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-npchandler.Po b/src/.deps/tmw-npchandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-npchandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-npclistdialog.Po b/src/.deps/tmw-npclistdialog.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-npclistdialog.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-ok_dialog.Po b/src/.deps/tmw-ok_dialog.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-ok_dialog.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-openglgraphics.Po b/src/.deps/tmw-openglgraphics.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-openglgraphics.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-particle.Po b/src/.deps/tmw-particle.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-particle.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-particleemitter.Po b/src/.deps/tmw-particleemitter.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-particleemitter.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-passwordfield.Po b/src/.deps/tmw-passwordfield.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-passwordfield.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-player.Po b/src/.deps/tmw-player.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-player.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-player_relations.Po b/src/.deps/tmw-player_relations.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-player_relations.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-playerbox.Po b/src/.deps/tmw-playerbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-playerbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-playerhandler.Po b/src/.deps/tmw-playerhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-playerhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-popupmenu.Po b/src/.deps/tmw-popupmenu.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-popupmenu.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-progressbar.Po b/src/.deps/tmw-progressbar.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-progressbar.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-protocol.Po b/src/.deps/tmw-protocol.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-protocol.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-radiobutton.Po b/src/.deps/tmw-radiobutton.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-radiobutton.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-register.Po b/src/.deps/tmw-register.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-register.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-resizegrip.Po b/src/.deps/tmw-resizegrip.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-resizegrip.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-resource.Po b/src/.deps/tmw-resource.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-resource.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-resourcemanager.Po b/src/.deps/tmw-resourcemanager.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-resourcemanager.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-scrollarea.Po b/src/.deps/tmw-scrollarea.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-scrollarea.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-sell.Po b/src/.deps/tmw-sell.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-sell.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-setup.Po b/src/.deps/tmw-setup.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-setup.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-setup_audio.Po b/src/.deps/tmw-setup_audio.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-setup_audio.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-setup_joystick.Po b/src/.deps/tmw-setup_joystick.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-setup_joystick.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-setup_keyboard.Po b/src/.deps/tmw-setup_keyboard.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-setup_keyboard.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-setup_players.Po b/src/.deps/tmw-setup_players.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-setup_players.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-setup_video.Po b/src/.deps/tmw-setup_video.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-setup_video.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-shop.Po b/src/.deps/tmw-shop.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-shop.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-shoplistbox.Po b/src/.deps/tmw-shoplistbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-shoplistbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-simpleanimation.Po b/src/.deps/tmw-simpleanimation.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-simpleanimation.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-skill.Po b/src/.deps/tmw-skill.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-skill.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-skillhandler.Po b/src/.deps/tmw-skillhandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-skillhandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-slider.Po b/src/.deps/tmw-slider.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-slider.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-sound.Po b/src/.deps/tmw-sound.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-sound.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-soundeffect.Po b/src/.deps/tmw-soundeffect.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-soundeffect.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-spritedef.Po b/src/.deps/tmw-spritedef.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-spritedef.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-status.Po b/src/.deps/tmw-status.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-status.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-strprintf.Po b/src/.deps/tmw-strprintf.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-strprintf.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-tabbedcontainer.Po b/src/.deps/tmw-tabbedcontainer.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-tabbedcontainer.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-table.Po b/src/.deps/tmw-table.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-table.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-table_model.Po b/src/.deps/tmw-table_model.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-table_model.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-textbox.Po b/src/.deps/tmw-textbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-textbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-textfield.Po b/src/.deps/tmw-textfield.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-textfield.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-textparticle.Po b/src/.deps/tmw-textparticle.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-textparticle.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-trade.Po b/src/.deps/tmw-trade.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-trade.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-tradehandler.Po b/src/.deps/tmw-tradehandler.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-tradehandler.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-updatewindow.Po b/src/.deps/tmw-updatewindow.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-updatewindow.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-vbox.Po b/src/.deps/tmw-vbox.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-vbox.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-viewport.Po b/src/.deps/tmw-viewport.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-viewport.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-window.Po b/src/.deps/tmw-window.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-window.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-windowcontainer.Po b/src/.deps/tmw-windowcontainer.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-windowcontainer.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/.deps/tmw-xml.Po b/src/.deps/tmw-xml.Po new file mode 100644 index 00000000..9ce06a81 --- /dev/null +++ b/src/.deps/tmw-xml.Po @@ -0,0 +1 @@ +# dummy diff --git a/src/Makefile.am b/src/Makefile.am index 3156a800..f1352f9e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,14 +1,16 @@ -bin_PROGRAMS = tmw -tmw_SOURCES = gui/widgets/resizegrip.cpp \ +bin_PROGRAMS = tme +tme_SOURCES = gui/widgets/dropdown.cpp \ + gui/widgets/dropdown.h \ + gui/widgets/resizegrip.cpp \ gui/widgets/resizegrip.h \ gui/box.h \ gui/box.cpp \ gui/browserbox.cpp \ gui/browserbox.h \ - gui/buddywindow.cpp \ - gui/buddywindow.h \ gui/button.cpp \ gui/button.h \ + gui/buttonbox.cpp \ + gui/buttonbox.h \ gui/buy.cpp \ gui/buy.h \ gui/buysell.cpp \ @@ -163,6 +165,8 @@ tmw_SOURCES = gui/widgets/resizegrip.cpp \ net/network.h \ net/npchandler.cpp \ net/npchandler.h \ + net/partyhandler.cpp \ + net/partyhandler.h \ net/playerhandler.cpp \ net/playerhandler.h \ net/protocol.cpp \ @@ -278,11 +282,15 @@ tmw_SOURCES = gui/widgets/resizegrip.cpp \ particle.h \ particleemitter.cpp \ particleemitter.h \ + party.cpp \ + party.h \ player.cpp \ player.h \ player_relations.cpp \ player_relations.h \ properties.h \ + recorder.cpp \ + recorder.h \ serverinfo.h \ shopitem.cpp \ shopitem.h \ @@ -291,6 +299,10 @@ tmw_SOURCES = gui/widgets/resizegrip.cpp \ sound.cpp \ sound.h \ sprite.h \ + text.cpp \ + text.h \ + textmanager.cpp \ + textmanager.h \ textparticle.cpp \ textparticle.h \ tileset.h \ @@ -302,7 +314,7 @@ INCLUDES = \ -DTMW_DATADIR=\""$(pkgdatadir)/"\" # the library search path. -tmw_LDFLAGS = $(all_libraries) $(LIBSDL_RPATH) `pkg-config --libs libxml-2.0` -tmw_CXXFLAGS = -Wall $(LIBSDL_CFLAGS) `pkg-config --cflags libxml-2.0` $(CURL_CFLAGS) -tmw_LDADD = $(LIBSDL_LIBS) -lguichan_sdl $(CURL_LIBS) -tmw_TARGET = tmw +tme_LDFLAGS = $(all_libraries) $(LIBSDL_RPATH) `pkg-config --libs libxml-2.0` +tme_CXXFLAGS = -Wall $(LIBSDL_CFLAGS) `pkg-config --cflags libxml-2.0` $(CURL_CFLAGS) +tme_LDADD = $(LIBSDL_LIBS) -lguichan_sdl $(CURL_LIBS) +tme_TARGET = tme diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 466779fd..dd43e0f1 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: animatedsprite.cpp 3752 2007-11-20 10:50:00Z b_lindeijer $ */ #include "animatedsprite.h" diff --git a/src/animatedsprite.h b/src/animatedsprite.h index a1fbe7a0..1fac5220 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: animatedsprite.h 3752 2007-11-20 10:50:00Z b_lindeijer $ */ #ifndef _TMW_ANIMATEDSPRITE_H diff --git a/src/being.cpp b/src/being.cpp index 625b0eef..14f7ce20 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: being.cpp 4301 2008-05-28 16:06:48Z peaveydk $ */ #include "being.h" @@ -32,6 +32,7 @@ #include "log.h" #include "map.h" #include "particle.h" +#include "text.h" #include "resources/resourcemanager.h" #include "resources/imageset.h" @@ -45,6 +46,9 @@ int Being::instances = 0; ImageSet *Being::emotionSet = NULL; +static const int X_SPEECH_OFFSET = 18; +static const int Y_SPEECH_OFFSET = 60; + Being::Being(int id, int job, Map *map): mJob(job), mX(0), mY(0), @@ -77,6 +81,7 @@ Being::Being(int id, int job, Map *map): } instances++; + mSpeech = 0; } Being::~Being() @@ -100,6 +105,10 @@ Being::~Being() emotionSet->decRef(); emotionSet = NULL; } + if (mSpeech) + { + delete mSpeech; + } } void @@ -147,7 +156,13 @@ Being::setSprite(int slot, int id, std::string color) void Being::setSpeech(const std::string &text, Uint32 time) { - mSpeech = text; + if (mSpeech) // don't introduce a memory leak + { + delete mSpeech; + } + mSpeech = new Text(text, mPx + X_SPEECH_OFFSET, mPy - Y_SPEECH_OFFSET, + gcn::Graphics::CENTER, speechFont, + gcn::Color(255, 255, 255)); mSpeechTime = 500; } @@ -355,13 +370,28 @@ void Being::logic() { // Reduce the time that speech is still displayed - if (mSpeechTime > 0) - mSpeechTime--; + if (mSpeechTime > 0 && mSpeech) + { + if (--mSpeechTime == 0) + { + delete mSpeech; + mSpeech = 0; + } + } + int oldPx = mPx; + int oldPy = mPy; // Update pixel coordinates mPx = mX * 32 + getXOffset(); mPy = mY * 32 + getYOffset(); - + if (mPx != oldPx || mPy != oldPy) + { + if (mSpeech) + { + mSpeech->adviseXY(mPx + X_SPEECH_OFFSET, mPy - Y_SPEECH_OFFSET); + } + updateCoords(); + } if (mEmotion != 0) { mEmotionTime--; @@ -426,21 +456,6 @@ Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY) graphics->drawImage(emotionSet->get(emotionIndex), px, py); } -void -Being::drawSpeech(Graphics *graphics, int offsetX, int offsetY) -{ - int px = mPx + offsetX; - int py = mPy + offsetY; - - // Draw speech above this being - if (mSpeechTime > 0) - { - graphics->setFont(speechFont); - graphics->setColor(gcn::Color(255, 255, 255)); - graphics->drawText(mSpeech, px + 18, py - 60, gcn::Graphics::CENTER); - } -} - Being::Type Being::getType() const { diff --git a/src/being.h b/src/being.h index 5ea8c0be..2f711fb8 100644 --- a/src/being.h +++ b/src/being.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: being.h 4321 2008-06-02 11:42:26Z b_lindeijer $ */ #ifndef _TMW_BEING_H @@ -47,6 +47,7 @@ class Map; class Graphics; class ImageSet; class Particle; +class Text; /** * A position along a being's path. @@ -183,7 +184,7 @@ class Being : public Sprite * * @param name The name that should appear. */ - void + virtual void setName(const std::string &name) { mName = name; } /** @@ -234,24 +235,12 @@ class Being : public Sprite virtual void logic(); - /** - * Draws the speech text above the being. - */ - void - drawSpeech(Graphics *graphics, int offsetX, int offsetY); - /** * Draws the emotion picture above the being. */ void drawEmotion(Graphics *graphics, int offsetX, int offsetY); - /** - * Draws the name text below the being. - */ - virtual void - drawName(Graphics *, int, int) {}; - /** * Returns the type of the being. */ @@ -359,7 +348,11 @@ class Being : public Sprite */ void controlParticle(Particle *particle); - void setEmote(Uint8 emotion, Uint8 emote_time) { mEmotion = emotion; mEmotionTime = emote_time; } + void setEmote(Uint8 emotion, Uint8 emote_time) + { + mEmotion = emotion; + mEmotionTime = emote_time; + } const std::auto_ptr mEquipment; @@ -369,6 +362,11 @@ class Being : public Sprite */ void setPath(const Path &path); + /** + * Let the sub-classes react to a replacement + */ + virtual void updateCoords() {} + /** * Returns the sprite direction of this being. */ @@ -385,7 +383,7 @@ class Being : public Sprite const ItemInfo* mEquippedWeapon; Path mPath; - std::string mSpeech; + Text *mSpeech; Uint16 mHairStyle, mHairColor; Uint8 mGender; Uint32 mSpeechTime; diff --git a/src/beingmanager.cpp b/src/beingmanager.cpp index b683b1bd..d1a333d0 100644 --- a/src/beingmanager.cpp +++ b/src/beingmanager.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: beingmanager.cpp 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #include diff --git a/src/beingmanager.h b/src/beingmanager.h index 243486e4..ff2d1980 100644 --- a/src/beingmanager.h +++ b/src/beingmanager.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: beingmanager.h 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #ifndef _TMW_BEINGMANAGER_H diff --git a/src/configlistener.h b/src/configlistener.h index 7ce5d949..bf00f3ef 100644 --- a/src/configlistener.h +++ b/src/configlistener.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: configlistener.h 1673 2005-08-29 22:00:35Z der_doener $ */ #ifndef _TMW_CONFIGLISTENER_H diff --git a/src/configuration.cpp b/src/configuration.cpp index 7e8cb542..e9c8db7a 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: configuration.cpp 4237 2008-05-14 18:57:32Z b_lindeijer $ */ diff --git a/src/configuration.h b/src/configuration.h index 36d9e150..7dadb083 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: configuration.h 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #ifndef _TMW_CONFIGURATION_H diff --git a/src/engine.cpp b/src/engine.cpp index d4033193..d1912b0d 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: engine.cpp 4000 2008-03-23 11:47:52Z b_lindeijer $ */ #include "engine.h" diff --git a/src/engine.h b/src/engine.h index 4575051e..ed76a595 100644 --- a/src/engine.h +++ b/src/engine.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: engine.h 4000 2008-03-23 11:47:52Z b_lindeijer $ */ #ifndef _ENGINE_H diff --git a/src/equipment.cpp b/src/equipment.cpp index d1f9a6cf..0a285447 100644 --- a/src/equipment.cpp +++ b/src/equipment.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: equipment.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "equipment.h" diff --git a/src/equipment.h b/src/equipment.h index 80a2ae49..04017549 100644 --- a/src/equipment.h +++ b/src/equipment.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: equipment.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_EQUIPMENT_H_ diff --git a/src/floor_item.cpp b/src/floor_item.cpp index 9727093f..399a4149 100644 --- a/src/floor_item.cpp +++ b/src/floor_item.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: floor_item.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "floor_item.h" diff --git a/src/floor_item.h b/src/floor_item.h index a87e3f79..7771d935 100644 --- a/src/floor_item.h +++ b/src/floor_item.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: floor_item.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_FLOORITEM_H_ diff --git a/src/flooritemmanager.cpp b/src/flooritemmanager.cpp index 8a00cc51..f6ad3442 100644 --- a/src/flooritemmanager.cpp +++ b/src/flooritemmanager.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: flooritemmanager.cpp 3754 2007-11-20 15:19:50Z b_lindeijer $ */ #include diff --git a/src/flooritemmanager.h b/src/flooritemmanager.h index c12883a4..a6bfbdc3 100644 --- a/src/flooritemmanager.h +++ b/src/flooritemmanager.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: flooritemmanager.h 2150 2006-02-06 02:56:48Z der_doener $ */ #ifndef _TMW_FLOORITEMMANAGER_H diff --git a/src/game.cpp b/src/game.cpp index 58c28640..d018852b 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: game.cpp 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #include "game.h" @@ -68,7 +68,6 @@ #include "gui/status.h" #include "gui/trade.h" #include "gui/viewport.h" - #include "net/beinghandler.h" #include "net/buysellhandler.h" #include "net/chathandler.h" @@ -135,14 +134,14 @@ const int MAX_TIME = 10000; namespace { struct ExitListener : public gcn::ActionListener { - void action(const gcn::ActionEvent &event) - { - if (event.getId() == "yes" || event.getId() == "ok") { - done = true; - } - exitConfirm = NULL; - disconnectedDialog = NULL; - } + void action(const gcn::ActionEvent &event) + { + if (event.getId() == "yes" || event.getId() == "ok") { + done = true; + } + exitConfirm = NULL; + disconnectedDialog = NULL; + } } exitListener; } @@ -169,10 +168,10 @@ Uint32 nextSecond(Uint32 interval, void *param) int get_elapsed_time(int start_time) { if (start_time <= tick_time) { - return (tick_time - start_time) * 10; + return (tick_time - start_time) * 10; } else { - return (tick_time + (MAX_TIME - start_time)) * 10; + return (tick_time + (MAX_TIME - start_time)) * 10; } } @@ -219,7 +218,7 @@ void createGuiWindows(Network *network) if (config.getValue("logToChat", 0)) { - logger->setChatWindow(chatWindow); + logger->setChatWindow(chatWindow); } } @@ -291,7 +290,7 @@ Game::Game(Network *network): // Open the first device if (Joystick::getNumberOfJoysticks() > 0) { - joystick = new Joystick(0); + joystick = new Joystick(0); } network->registerHandler(mBeingHandler.get()); @@ -332,30 +331,30 @@ bool saveScreenshot(SDL_Surface *screenshot) bool found = false; do { - screenshotCount++; - filename.str(""); + screenshotCount++; + filename.str(""); #if (defined __USE_UNIX98 || defined __FreeBSD__) - filename << PHYSFS_getUserDir() << ".tmw/"; + filename << PHYSFS_getUserDir() << ".tme/"; #elif defined __APPLE__ - filename << PHYSFS_getUserDir() << "Desktop/"; + filename << PHYSFS_getUserDir() << "Desktop/"; #endif - filename << "TMW_Screenshot_" << screenshotCount << ".png"; - testExists.open(filename.str().c_str(), std::ios::in); - found = !testExists.is_open(); - testExists.close(); + filename << "TMW_Screenshot_" << screenshotCount << ".png"; + testExists.open(filename.str().c_str(), std::ios::in); + found = !testExists.is_open(); + testExists.close(); } while (!found); if (ImageWriter::writePNG(screenshot, filename.str())) { - std::stringstream chatlogentry; - chatlogentry << "Screenshot saved to " << filename.str().c_str(); - chatWindow->chatLog(chatlogentry.str(), BY_SERVER); - return true; + std::stringstream chatlogentry; + chatlogentry << "Screenshot saved to " << filename.str().c_str(); + chatWindow->chatLog(chatlogentry.str(), BY_SERVER); + return true; } else { - chatWindow->chatLog("Saving screenshot failed!", BY_SERVER); - return false; + chatWindow->chatLog("Saving screenshot failed!", BY_SERVER); + return false; } } @@ -379,60 +378,61 @@ void Game::logic() while (!done) { - // Handle all necessary game logic - while (get_elapsed_time(gameTime) > 0) - { - handleInput(); - engine->logic(); - gameTime++; - } - - // This is done because at some point tick_time will wrap. - gameTime = tick_time; - - // Update the screen when application is active, delay otherwise. - if (SDL_GetAppState() & SDL_APPACTIVE) - { - // Draw a frame if either frames are not limited or enough time has - // passed since the last frame. - if (!mMinFrameTime || - get_elapsed_time(mDrawTime / 10) > mMinFrameTime) - { - frame++; - gui->draw(); - graphics->updateScreen(); - mDrawTime += mMinFrameTime; - - // Make sure to wrap mDrawTime, since tick_time will wrap. - if (mDrawTime > MAX_TIME * 10) - mDrawTime -= MAX_TIME * 10; - } - else - { - SDL_Delay(10); - } - } - else - { - SDL_Delay(10); - mDrawTime = tick_time * 10; - } - - // Handle network stuff - mNetwork->flush(); - mNetwork->dispatchMessages(); - - if (!mNetwork->isConnected()) - { - if (!disconnectedDialog) - { - disconnectedDialog = new - OkDialog("Network Error", - "The connection to the server was lost, the program will now quit"); - disconnectedDialog->addActionListener(&exitListener); - disconnectedDialog->requestMoveToTop(); - } - } + // Handle all necessary game logic + while (get_elapsed_time(gameTime) > 0) + { + handleInput(); + engine->logic(); + gameTime++; + } + + // This is done because at some point tick_time will wrap. + gameTime = tick_time; + + // Update the screen when application is active, delay otherwise. + if (SDL_GetAppState() & SDL_APPACTIVE) + { + // Draw a frame if either frames are not limited or enough time has + // passed since the last frame. + if (!mMinFrameTime || + get_elapsed_time(mDrawTime / 10) > mMinFrameTime) + { + frame++; + gui->draw(); + graphics->updateScreen(); + mDrawTime += mMinFrameTime; + + // Make sure to wrap mDrawTime, since tick_time will wrap. + if (mDrawTime > MAX_TIME * 10) + mDrawTime -= MAX_TIME * 10; + } + else + { + SDL_Delay(10); + } + } + else + { + SDL_Delay(10); + mDrawTime = tick_time * 10; + } + + // Handle network stuff + mNetwork->flush(); + mNetwork->dispatchMessages(); + + if (!mNetwork->isConnected()) + { + if (!disconnectedDialog) + { + disconnectedDialog = new + OkDialog("Network Error", + "The connection to the server was lost, the " + "program will now quit"); + disconnectedDialog->addActionListener(&exitListener); + disconnectedDialog->requestMoveToTop(); + } + } } } @@ -440,289 +440,296 @@ void Game::handleInput() { if (joystick != NULL) { - joystick->update(); + joystick->update(); } // Events SDL_Event event; while (SDL_PollEvent(&event)) { - bool used = false; - - // Keyboard events (for discontinuous keys) - if (event.type == SDL_KEYDOWN) - { - gcn::Window *requestedWindow = NULL; - - if (setupWindow->isVisible() && - keyboard.getNewKeyIndex() > keyboard.KEY_NO_VALUE) - { - keyboard.setNewKey((int) event.key.keysym.sym); - keyboard.callbackNewKey(); - keyboard.setNewKeyIndex(keyboard.KEY_NO_VALUE); - return; - } - // Keys pressed together with Alt/Meta - // Emotions and some internal gui windows - #ifndef __APPLE__ - if (event.key.keysym.mod & KMOD_ALT) - #else - if (event.key.keysym.mod & KMOD_LMETA) - #endif - { - switch (event.key.keysym.sym) - { - case SDLK_p: - // Screenshot (picture, hence the p) - { - SDL_Surface *screenshot = graphics->getScreenshot(); - if (!saveScreenshot(screenshot)) - { - logger->log("Error: could not save Screenshot."); - } - SDL_FreeSurface(screenshot); - } - used = true; - break; - - default: - break; - - case SDLK_f: - // Find path to mouse (debug purpose) - viewport->toggleDebugPath(); - used = true; - break; - - case SDLK_t: - // Toggle accepting of incoming trade requests - { - unsigned int deflt = player_relations.getDefault(); - if (deflt & PlayerRelation::TRADE) { - chatWindow->chatLog("Ignoring incoming trade requests", BY_SERVER); - deflt &= ~PlayerRelation::TRADE; - } else { - chatWindow->chatLog("Accepting incoming trade requests", BY_SERVER); - deflt |= PlayerRelation::TRADE; - } - - player_relations.setDefault(deflt); - } - used = true; - break; - } - - // Emotions - Uint8 emotion; - switch (event.key.keysym.sym) - { - case SDLK_1: emotion = 1; break; - case SDLK_2: emotion = 2; break; - case SDLK_3: emotion = 3; break; - case SDLK_4: emotion = 4; break; - case SDLK_5: emotion = 5; break; - case SDLK_6: emotion = 6; break; - case SDLK_7: emotion = 7; break; - case SDLK_8: emotion = 8; break; - case SDLK_9: emotion = 9; break; - case SDLK_0: emotion = 10; break; - case SDLK_MINUS: emotion = 11; break; - case SDLK_EQUALS: emotion = 12; break; - default: emotion = 0; break; - } - - if (emotion) - { - player_node->emote(emotion); - used = true; - } - } - switch (event.key.keysym.sym) - { - case SDLK_PAGEUP: - if (chatWindow->isVisible()) - { - chatWindow->scroll(-DEFAULT_CHAT_WINDOW_SCROLL); - used = true; - } - break; - - case SDLK_PAGEDOWN: - if (chatWindow->isVisible()) - { - chatWindow->scroll(DEFAULT_CHAT_WINDOW_SCROLL); - used = true; - } - break; - - case SDLK_F1: - // In-game Help - if (helpWindow->isVisible()) - { - helpWindow->setVisible(false); - } - else - { - helpWindow->loadHelp("index"); - helpWindow->requestMoveToTop(); - } - used = true; - break; - - case SDLK_F2: requestedWindow = statusWindow; break; - case SDLK_F3: requestedWindow = inventoryWindow; break; - case SDLK_F4: requestedWindow = equipmentWindow; break; - case SDLK_F5: requestedWindow = skillDialog; break; - case SDLK_F6: requestedWindow = minimap; break; - case SDLK_F7: requestedWindow = chatWindow; break; - case SDLK_F8: requestedWindow = itemShortcutWindow; break; - case SDLK_F9: requestedWindow = setupWindow; break; - case SDLK_F10: requestedWindow = debugWindow; break; - //case SDLK_F11: requestedWindow = newSkillWindow; break; - - case SDLK_RETURN: - // Input chat window - if (chatWindow->isInputFocused() || - deathNotice != NULL || - weightNotice != NULL) - { - break; - } - - // Quit by pressing Enter if the exit confirm is there - if (exitConfirm) - { - done = true; - } - // Close the Browser if opened - else if (helpWindow->isVisible()) - { - helpWindow->setVisible(false); - } - // Close the config window, cancelling changes if opened - else if (setupWindow->isVisible()) - { - setupWindow->action(gcn::ActionEvent(NULL, "cancel")); - } - // Else, open the chat edit box - else - { - chatWindow->requestChatFocus(); - used = true; - } - break; - // Quitting confirmation dialog - case SDLK_ESCAPE: - if (!exitConfirm) { - exitConfirm = new ConfirmDialog( - "Quit", "Are you sure you want to quit?"); - exitConfirm->addActionListener(&exitListener); - exitConfirm->requestMoveToTop(); - } - else - { - exitConfirm->action(gcn::ActionEvent(NULL, "no")); - } - break; - - default: - break; - } - if (keyboard.isEnabled() && !chatWindow->isInputFocused()) - { - const int tKey = keyboard.getKeyIndex(event.key.keysym.sym); - // Checks if any item shortcut is pressed. - for (int i = KeyboardConfig::KEY_SHORTCUT_0; - i <= KeyboardConfig::KEY_SHORTCUT_9; - i++) - { - if (tKey == i && !used) { - itemShortcut->useItem( - i - KeyboardConfig::KEY_SHORTCUT_0); - break; - } - } - switch (tKey) { - case KeyboardConfig::KEY_PICKUP: - { - FloorItem *item = floorItemManager->findByCoordinates( - player_node->mX, player_node->mY); - - // If none below the player, try the tile in front of - // the player - if (!item) { - Uint16 x = player_node->mX; - Uint16 y = player_node->mY; - if (player_node->getDirection() & Being::UP) - y--; - if (player_node->getDirection() & Being::DOWN) - y++; - if (player_node->getDirection() & Being::LEFT) - x--; - if (player_node->getDirection() & Being::RIGHT) - x++; - - item = floorItemManager->findByCoordinates(x, y); - } - - if (item) - player_node->pickUp(item); - - used = true; - } - break; - case KeyboardConfig::KEY_SIT: - // Player sit action - player_node->toggleSit(); - used = true; - break; - case KeyboardConfig::KEY_HIDE_WINDOWS: - // Hide certain windows - if (!chatWindow->isInputFocused()) - { - statusWindow->setVisible(false); - inventoryWindow->setVisible(false); - skillDialog->setVisible(false); - setupWindow->setVisible(false); - equipmentWindow->setVisible(false); - helpWindow->setVisible(false); - debugWindow->setVisible(false); - } - break; - } - } - - if (requestedWindow) - { - requestedWindow->setVisible(!requestedWindow->isVisible()); - if (requestedWindow->isVisible()) - { - requestedWindow->requestMoveToTop(); - } - used = true; - } - - } - - // Quit event - else if (event.type == SDL_QUIT) - { - done = true; - } - - // Push input to GUI when not used - if (!used) - { - try - { - guiInput->pushInput(event); - } - catch (gcn::Exception e) - { - const char* err = e.getMessage().c_str(); - logger->log("Warning: guichan input exception: %s", err); - } - } + bool used = false; + + // Keyboard events (for discontinuous keys) + if (event.type == SDL_KEYDOWN) + { + gcn::Window *requestedWindow = NULL; + + if (setupWindow->isVisible() && + keyboard.getNewKeyIndex() > keyboard.KEY_NO_VALUE) + { + keyboard.setNewKey((int) event.key.keysym.sym); + keyboard.callbackNewKey(); + keyboard.setNewKeyIndex(keyboard.KEY_NO_VALUE); + return; + } + // Keys pressed together with Alt/Meta + // Emotions and some internal gui windows + #ifndef __APPLE__ + if (event.key.keysym.mod & KMOD_ALT) + #else + if (event.key.keysym.mod & KMOD_LMETA) + #endif + { + switch (event.key.keysym.sym) + { + case SDLK_p: + // Screenshot (picture, hence the p) + { + SDL_Surface *screenshot = + graphics->getScreenshot(); + if (!saveScreenshot(screenshot)) + { + logger-> + log("Error: could not save Screenshot."); + } + SDL_FreeSurface(screenshot); + } + used = true; + break; + + default: + break; + + case SDLK_f: + // Find path to mouse (debug purpose) + viewport->toggleDebugPath(); + used = true; + break; + + case SDLK_t: + // Toggle accepting of incoming trade requests + { + unsigned int deflt = player_relations.getDefault(); + if (deflt & PlayerRelation::TRADE) { + chatWindow-> + chatLog("Ignoring incoming trade requests", + BY_SERVER); + deflt &= ~PlayerRelation::TRADE; + } else { + chatWindow->chatLog("Accepting incoming trade " + "requests", BY_SERVER); + deflt |= PlayerRelation::TRADE; + } + + player_relations.setDefault(deflt); + } + used = true; + break; + } + + // Emotions + Uint8 emotion; + switch (event.key.keysym.sym) + { + case SDLK_1: emotion = 1; break; + case SDLK_2: emotion = 2; break; + case SDLK_3: emotion = 3; break; + case SDLK_4: emotion = 4; break; + case SDLK_5: emotion = 5; break; + case SDLK_6: emotion = 6; break; + case SDLK_7: emotion = 7; break; + case SDLK_8: emotion = 8; break; + case SDLK_9: emotion = 9; break; + case SDLK_0: emotion = 10; break; + case SDLK_MINUS: emotion = 11; break; + case SDLK_EQUALS: emotion = 12; break; + default: emotion = 0; break; + } + + if (emotion) + { + player_node->emote(emotion); + used = true; + } + } + switch (event.key.keysym.sym) + { + case SDLK_PAGEUP: + if (chatWindow->isVisible()) + { + chatWindow->scroll(-DEFAULT_CHAT_WINDOW_SCROLL); + used = true; + } + break; + + case SDLK_PAGEDOWN: + if (chatWindow->isVisible()) + { + chatWindow->scroll(DEFAULT_CHAT_WINDOW_SCROLL); + used = true; + } + break; + + case SDLK_F1: + // In-game Help + if (helpWindow->isVisible()) + { + helpWindow->setVisible(false); + } + else + { + helpWindow->loadHelp("index"); + helpWindow->requestMoveToTop(); + } + used = true; + break; + + case SDLK_F2: requestedWindow = statusWindow; break; + case SDLK_F3: requestedWindow = inventoryWindow; break; + case SDLK_F4: requestedWindow = equipmentWindow; break; + case SDLK_F5: requestedWindow = skillDialog; break; + case SDLK_F6: requestedWindow = minimap; break; + case SDLK_F7: requestedWindow = chatWindow; break; + case SDLK_F8: requestedWindow = itemShortcutWindow; break; + case SDLK_F9: requestedWindow = setupWindow; break; + case SDLK_F10: requestedWindow = debugWindow; break; + //case SDLK_F11: requestedWindow = newSkillWindow; break; + + case SDLK_RETURN: + // Input chat window + if (chatWindow->isInputFocused() || + deathNotice != NULL || + weightNotice != NULL) + { + break; + } + + // Quit by pressing Enter if the exit confirm is there + if (exitConfirm) + { + done = true; + } + // Close the Browser if opened + else if (helpWindow->isVisible()) + { + helpWindow->setVisible(false); + } + // Close the config window, cancelling changes if opened + else if (setupWindow->isVisible()) + { + setupWindow->action(gcn::ActionEvent(NULL, "cancel")); + } + // Else, open the chat edit box + else + { + chatWindow->requestChatFocus(); + used = true; + } + break; + // Quitting confirmation dialog + case SDLK_ESCAPE: + if (!exitConfirm) { + exitConfirm = new ConfirmDialog( + "Quit", "Are you sure you want to quit?"); + exitConfirm->addActionListener(&exitListener); + exitConfirm->requestMoveToTop(); + } + else + { + exitConfirm->action(gcn::ActionEvent(NULL, "no")); + } + break; + + default: + break; + } + if (keyboard.isEnabled() && !chatWindow->isInputFocused()) + { + const int tKey = keyboard.getKeyIndex(event.key.keysym.sym); + // Checks if any item shortcut is pressed. + for (int i = KeyboardConfig::KEY_SHORTCUT_0; + i <= KeyboardConfig::KEY_SHORTCUT_9; + i++) + { + if (tKey == i && !used) { + itemShortcut->useItem( + i - KeyboardConfig::KEY_SHORTCUT_0); + break; + } + } + switch (tKey) { + case KeyboardConfig::KEY_PICKUP: + { + FloorItem *item = + floorItemManager->findByCoordinates( + player_node->mX, player_node->mY); + + // If none below the player, try the tile in front + // of the player + if (!item) { + Uint16 x = player_node->mX; + Uint16 y = player_node->mY; + if (player_node->getDirection() & Being::UP) + y--; + if (player_node->getDirection() & Being::DOWN) + y++; + if (player_node->getDirection() & Being::LEFT) + x--; + if (player_node->getDirection() & Being::RIGHT) + x++; + + item = floorItemManager-> + findByCoordinates(x, y); + } + + if (item) + player_node->pickUp(item); + + used = true; + } + break; + case KeyboardConfig::KEY_SIT: + // Player sit action + player_node->toggleSit(); + used = true; + break; + case KeyboardConfig::KEY_HIDE_WINDOWS: + // Hide certain windows + if (!chatWindow->isInputFocused()) + { + statusWindow->setVisible(false); + inventoryWindow->setVisible(false); + skillDialog->setVisible(false); + setupWindow->setVisible(false); + equipmentWindow->setVisible(false); + helpWindow->setVisible(false); + debugWindow->setVisible(false); + } + break; + } + } + + if (requestedWindow) + { + requestedWindow->setVisible(!requestedWindow->isVisible()); + if (requestedWindow->isVisible()) + { + requestedWindow->requestMoveToTop(); + } + used = true; + } + + } + + // Quit event + else if (event.type == SDL_QUIT) + { + done = true; + } + + // Push input to GUI when not used + if (!used) + { + try + { + guiInput->pushInput(event); + } + catch (gcn::Exception e) + { + const char* err = e.getMessage().c_str(); + logger->log("Warning: guichan input exception: %s", err); + } + } } // End while // If the user is configuring the keys then don't respond. @@ -732,111 +739,112 @@ void Game::handleInput() } // Moving player around if (player_node->mAction != Being::DEAD && - current_npc == 0 && - !chatWindow->isInputFocused()) + current_npc == 0 && + !chatWindow->isInputFocused()) { - // Get the state of the keyboard keys - keyboard.refreshActiveKeys(); - - const Uint16 x = player_node->mX; - const Uint16 y = player_node->mY; - unsigned char direction = 0; - - // Translate pressed keys to movement and direction - if (keyboard.isKeyActive(keyboard.KEY_MOVE_UP) || - (joystick && joystick->isUp())) - { - direction |= Being::UP; - } - else if (keyboard.isKeyActive(keyboard.KEY_MOVE_DOWN) || - (joystick && joystick->isDown())) - { - direction |= Being::DOWN; - } - - if (keyboard.isKeyActive(keyboard.KEY_MOVE_LEFT) || - (joystick && joystick->isLeft())) - { - direction |= Being::LEFT; - } - else if (keyboard.isKeyActive(keyboard.KEY_MOVE_RIGHT) || - (joystick && joystick->isRight())) - { - direction |= Being::RIGHT; - } - - player_node->setWalkingDir(direction); - - // Attacking monsters - if (keyboard.isKeyActive(keyboard.KEY_ATTACK) || - (joystick && joystick->buttonPressed(0))) - { - Being *target = NULL; - bool newTarget = keyboard.isKeyActive(keyboard.KEY_TARGET); - // A set target has highest priority - if (newTarget || !player_node->getTarget()) - { - Uint16 targetX = x, targetY = y; - - if (player_node->getDirection() & Being::UP) - targetY--; - if (player_node->getDirection() & Being::DOWN) - targetY++; - if (player_node->getDirection() & Being::LEFT) - targetX--; - if (player_node->getDirection() & Being::RIGHT) - targetX++; - - // Attack priorioty is: Monster, Player, auto target - target = beingManager->findBeing( - targetX, targetY, Being::MONSTER); - if (!target) - target = beingManager->findBeing( - targetX, targetY, Being::PLAYER); - } - - player_node->attack(target, newTarget); - } - - // Target the nearest player if 'q' is pressed - if ( keyboard.isKeyActive(keyboard.KEY_TARGET_PLAYER) ) - //if (keys[SDLK_q]) - { - Being *target = - beingManager->findNearestLivingBeing(player_node, 20, Being::PLAYER); - - if (target) - { - player_node->setTarget(target); - } - } - - // Target the nearest monster if 'a' pressed - if ( keyboard.isKeyActive(keyboard.KEY_TARGET_CLOSEST) ) - //if (keys[SDLK_a]) - { - Being *target = - beingManager->findNearestLivingBeing(x, y, 20, Being::MONSTER); - - if (target) - { - player_node->setTarget(target); - } - } - - if (joystick) - { - if (joystick->buttonPressed(1)) - { - FloorItem *item = floorItemManager->findByCoordinates(x, y); - - if (item) - player_node->pickUp(item); - } - else if (joystick->buttonPressed(2)) - { - player_node->toggleSit(); - } - } + // Get the state of the keyboard keys + keyboard.refreshActiveKeys(); + + const Uint16 x = player_node->mX; + const Uint16 y = player_node->mY; + unsigned char direction = 0; + + // Translate pressed keys to movement and direction + if (keyboard.isKeyActive(keyboard.KEY_MOVE_UP) || + (joystick && joystick->isUp())) + { + direction |= Being::UP; + } + else if (keyboard.isKeyActive(keyboard.KEY_MOVE_DOWN) || + (joystick && joystick->isDown())) + { + direction |= Being::DOWN; + } + + if (keyboard.isKeyActive(keyboard.KEY_MOVE_LEFT) || + (joystick && joystick->isLeft())) + { + direction |= Being::LEFT; + } + else if (keyboard.isKeyActive(keyboard.KEY_MOVE_RIGHT) || + (joystick && joystick->isRight())) + { + direction |= Being::RIGHT; + } + + player_node->setWalkingDir(direction); + + // Attacking monsters + if (keyboard.isKeyActive(keyboard.KEY_ATTACK) || + (joystick && joystick->buttonPressed(0))) + { + Being *target = NULL; + bool newTarget = keyboard.isKeyActive(keyboard.KEY_TARGET); + // A set target has highest priority + if (newTarget || !player_node->getTarget()) + { + Uint16 targetX = x, targetY = y; + + if (player_node->getDirection() & Being::UP) + targetY--; + if (player_node->getDirection() & Being::DOWN) + targetY++; + if (player_node->getDirection() & Being::LEFT) + targetX--; + if (player_node->getDirection() & Being::RIGHT) + targetX++; + + // Attack priorioty is: Monster, Player, auto target + target = beingManager->findBeing( + targetX, targetY, Being::MONSTER); + if (!target) + target = beingManager->findBeing( + targetX, targetY, Being::PLAYER); + } + + player_node->attack(target, newTarget); + } + + // Target the nearest player if 'q' is pressed + if ( keyboard.isKeyActive(keyboard.KEY_TARGET_PLAYER) ) + //if (keys[SDLK_q]) + { + Being *target = + beingManager-> + findNearestLivingBeing(player_node, 20, Being::PLAYER); + + if (target) + { + player_node->setTarget(target); + } + } + + // Target the nearest monster if 'a' pressed + if ( keyboard.isKeyActive(keyboard.KEY_TARGET_CLOSEST) ) + //if (keys[SDLK_a]) + { + Being *target = + beingManager->findNearestLivingBeing(x, y, 20, Being::MONSTER); + + if (target) + { + player_node->setTarget(target); + } + } + + if (joystick) + { + if (joystick->buttonPressed(1)) + { + FloorItem *item = floorItemManager->findByCoordinates(x, y); + + if (item) + player_node->pickUp(item); + } + else if (joystick->buttonPressed(2)) + { + player_node->toggleSit(); + } + } } } diff --git a/src/game.h b/src/game.h index 5b73832e..583aea70 100644 --- a/src/game.h +++ b/src/game.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: game.h 3859 2008-01-26 19:38:43Z b_lindeijer $ */ #ifndef _TMW_GAME_ @@ -42,35 +42,35 @@ extern volatile int tick_time; class Game : public ConfigListener { public: - Game(Network *network); - ~Game(); + Game(Network *network); + ~Game(); - void logic(); + void logic(); - void handleInput(); + void handleInput(); - void optionChanged(const std::string &name); + void optionChanged(const std::string &name); private: - Network *mNetwork; - - /** Used to determine whether to draw the next frame. */ - int mDrawTime; - - /** The minimum frame time (used for frame limiting). */ - int mMinFrameTime; - - typedef const std::auto_ptr MessageHandlerPtr; - MessageHandlerPtr mBeingHandler; - MessageHandlerPtr mBuySellHandler; - MessageHandlerPtr mChatHandler; - MessageHandlerPtr mEquipmentHandler; - MessageHandlerPtr mInventoryHandler; - MessageHandlerPtr mItemHandler; - MessageHandlerPtr mNpcHandler; - MessageHandlerPtr mPlayerHandler; - MessageHandlerPtr mSkillHandler; - MessageHandlerPtr mTradeHandler; + Network *mNetwork; + + /** Used to determine whether to draw the next frame. */ + int mDrawTime; + + /** The minimum frame time (used for frame limiting). */ + int mMinFrameTime; + + typedef const std::auto_ptr MessageHandlerPtr; + MessageHandlerPtr mBeingHandler; + MessageHandlerPtr mBuySellHandler; + MessageHandlerPtr mChatHandler; + MessageHandlerPtr mEquipmentHandler; + MessageHandlerPtr mInventoryHandler; + MessageHandlerPtr mItemHandler; + MessageHandlerPtr mNpcHandler; + MessageHandlerPtr mPlayerHandler; + MessageHandlerPtr mSkillHandler; + MessageHandlerPtr mTradeHandler; }; /** diff --git a/src/graphics.cpp b/src/graphics.cpp index 586f9f49..0433678f 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: graphics.cpp 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #include diff --git a/src/graphics.h b/src/graphics.h index 564826a2..0cf58141 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: graphics.h 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #ifndef _GRAPHICS_H diff --git a/src/gui/box.cpp b/src/gui/box.cpp index 6af3ae3e..f53bc18e 100644 --- a/src/gui/box.cpp +++ b/src/gui/box.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: box.cpp 1456 2005-07-15 23:17:00Z b_lindeijer $ */ #include "box.h" diff --git a/src/gui/box.h b/src/gui/box.h index ed1a7163..280fd3e2 100644 --- a/src/gui/box.h +++ b/src/gui/box.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: box.h 2529 2006-08-13 10:20:19Z b_lindeijer $ */ diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index bc76335f..4f771a7e 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: browserbox.cpp 4348 2008-06-14 12:42:49Z the_enemy $ */ #include diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h index 9c0e8ef1..636fe5a0 100644 --- a/src/gui/browserbox.h +++ b/src/gui/browserbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: browserbox.h 3687 2007-10-26 00:22:12Z crush_tmw $ */ #ifndef __TMW_BROWSERBOX_H__ diff --git a/src/gui/buddywindow.cpp b/src/gui/buddywindow.cpp deleted file mode 100644 index 0ed383ce..00000000 --- a/src/gui/buddywindow.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/* - * The Mana World - * Copyright 2004 The Mana World Development Team - * - * This file is part of The Mana World. - * - * The Mana World is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * The Mana World is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with The Mana World; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * $Id$ - */ - -#include "buddywindow.h" - -#include - -#include "button.h" -#include "chat.h" -#include "scrollarea.h" - -#include "../resources/buddylist.h" - -extern ChatWindow *chatWindow; - -BuddyWindow::BuddyWindow(): - Window("Buddy") -{ - setContentSize(124, 202); - - mBuddyList = new BuddyList(); - - mListbox = new gcn::ListBox(); - mListbox->setListModel(mBuddyList); - - ScrollArea *scrollArea = new ScrollArea(mListbox); - scrollArea->setDimension(gcn::Rectangle( - 7, 5, 110, 170)); - add(scrollArea); - - Button *talk = new Button("Talk", "Talk", this); - Button *remove = new Button("Remove", "Remove", this); - Button *cancel = new Button("Cancel", "Cancel", this); - - talk->setPosition(2,180); - remove->setPosition(talk->getWidth()+2,180); - cancel->setPosition(talk->getWidth()+remove->getWidth()+2,180); - - add(talk); - add(remove); - add(cancel); -} - -void BuddyWindow::action(const gcn::ActionEvent &event) -{ - if (event.getId() == "Talk") { - int selected = mListbox->getSelected(); - if ( selected > -1 ) - { - std::string who = mBuddyList->getElementAt(selected); - chatWindow->setInputText(who +": "); - } - } - else if (event.getId() == "Remove") { - int selected = mListbox->getSelected(); - if ( selected > -1 ) - { - std::string who = mBuddyList->getElementAt(selected); - mBuddyList->removeBuddy(who); - } - } - else if (event.getId() == "Cancel") { - setVisible(false); - } -} diff --git a/src/gui/buddywindow.h b/src/gui/buddywindow.h deleted file mode 100644 index a3ca4de2..00000000 --- a/src/gui/buddywindow.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * The Mana World - * Copyright 2004 The Mana World Development Team - * - * This file is part of The Mana World. - * - * The Mana World is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * The Mana World is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with The Mana World; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * $Id$ - */ - -#ifndef _TMW_BUDDYWINDOW_H -#define _TMW_BUDDYWINDOW_H - -#include - -#include "window.h" - -#include "../guichanfwd.h" - -class BuddyList; - -/** - * Window showing buddy list. - * - * \ingroup Interface - */ -class BuddyWindow : public Window, public gcn::ActionListener -{ - public: - /** - * Constructor. - */ - BuddyWindow(); - - /** - * Performs action. - */ - void action(const gcn::ActionEvent &event); - - private: - BuddyList *mBuddyList; - gcn::ListBox *mListbox; -}; - -#endif /* _TMW_BUDDYWINDOW_H */ diff --git a/src/gui/button.cpp b/src/gui/button.cpp index c6bc4ccb..1243d798 100644 --- a/src/gui/button.cpp +++ b/src/gui/button.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: button.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include diff --git a/src/gui/button.h b/src/gui/button.h index d12173b2..8e045a74 100644 --- a/src/gui/button.h +++ b/src/gui/button.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: button.h 3606 2007-09-27 14:54:09Z b_lindeijer $ */ #ifndef _TMW_BUTTON_H diff --git a/src/gui/buttonbox.cpp b/src/gui/buttonbox.cpp new file mode 100644 index 00000000..592cb92a --- /dev/null +++ b/src/gui/buttonbox.cpp @@ -0,0 +1,47 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: buttonbox.cpp + */ + +#include "buttonbox.h" + +#include "button.h" + +ButtonBox::ButtonBox(const std::string &title, const std::string &buttonTxt, + ButtonBoxListener *listener) : + Window(title), + mListener(listener) +{ + Button *button = new Button(buttonTxt, "activate", this); + setContentSize(button->getWidth() + 10, + button->getHeight() + 10); + button->setPosition(5, 5); + add(button); +} + +void +ButtonBox::action(const gcn::ActionEvent &event) +{ + if (event.getId() == "activate") + { + mListener->buttonBoxRespond(); + } +} diff --git a/src/gui/buttonbox.h b/src/gui/buttonbox.h new file mode 100644 index 00000000..1b76e619 --- /dev/null +++ b/src/gui/buttonbox.h @@ -0,0 +1,70 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: buttonbox.h + */ + +#ifndef _TMW_BUTTONBOX_H +#define _TMW_BUTTONBOX_H + +#include + +#include + +#include "window.h" + +class ButtonBoxListener +{ + public: + + /* + * function that ButtonBox calls when the button has been pressed + */ + virtual void buttonBoxRespond() = 0; +}; + +class ButtonBox : public Window, public gcn::ActionListener +{ + public: + + /* + * Constructor + * + * @param title is the text that appears at the top of the box + * @param buttonTxt is the text that appears on the button + * @param listener points to the class that should respond to the + * button press + */ + ButtonBox(const std::string &title, const std::string &buttonTxt, + ButtonBoxListener *listener); + + /* + * called when the button is pressed + * + * @param event is the event that is generated + */ + void + action(const gcn::ActionEvent &event); + + private: + + ButtonBoxListener *mListener; +}; +#endif diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index 259fcfd9..24acf2d1 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buy.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "buy.h" diff --git a/src/gui/buy.h b/src/gui/buy.h index 3a9ea3c5..6f75cab5 100644 --- a/src/gui/buy.h +++ b/src/gui/buy.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buy.h 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #ifndef _TMW_BUY_H diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp index ae5c7358..9cc3b297 100644 --- a/src/gui/buysell.cpp +++ b/src/gui/buysell.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buysell.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "buysell.h" diff --git a/src/gui/buysell.h b/src/gui/buysell.h index 97caf34b..64c37e39 100644 --- a/src/gui/buysell.h +++ b/src/gui/buysell.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buysell.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_BUYSELL_H diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 8ab3b879..c4b1d89e 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: char_select.cpp 3760 2007-11-21 19:43:11Z b_lindeijer $ */ #include "char_select.h" diff --git a/src/gui/char_select.h b/src/gui/char_select.h index 283ecf42..182600d1 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: char_select.h 3752 2007-11-20 10:50:00Z b_lindeijer $ */ #ifndef _CHAR_SELECT_H diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp index 638c05a6..3465fb69 100644 --- a/src/gui/char_server.cpp +++ b/src/gui/char_server.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: char_server.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "char_server.h" @@ -105,10 +105,11 @@ ServerSelectDialog::action(const gcn::ActionEvent &event) const SERVER_INFO *si = server_info[mServerList->getSelected()]; mLoginData->hostname = iptostring(si->address); mLoginData->port = si->port; - state = CHAR_CONNECT_STATE; + mLoginData->updateHost = si->updateHost; + state = UPDATE_STATE; } else if (event.getId() == "cancel") { - state = LOADDATA_STATE; + state = LOGIN_STATE; } } diff --git a/src/gui/char_server.h b/src/gui/char_server.h index 26e723f9..32a0645f 100644 --- a/src/gui/char_server.h +++ b/src/gui/char_server.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: char_server.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _CHAR_SEL_SERVER_H diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 5e3aaf60..7b69ec1c 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -18,12 +18,11 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: chat.cpp 4227 2008-05-08 00:39:29Z peaveydk $ */ #include -#include - +#include #include #include @@ -37,6 +36,9 @@ #include "../configuration.h" #include "../game.h" #include "../localplayer.h" +#include "../beingmanager.h" +#include "../recorder.h" +#include "../party.h" #include "../net/messageout.h" #include "../net/protocol.h" @@ -64,9 +66,9 @@ ChatWindow::ChatWindow(Network *network): mTextOutput->setMaxRow((int) config.getValue("ChatLogLength", 0)); mScrollArea = new ScrollArea(mTextOutput); mScrollArea->setPosition( - mScrollArea->getFrameSize(), mScrollArea->getFrameSize()); + mScrollArea->getFrameSize(), mScrollArea->getFrameSize()); mScrollArea->setScrollPolicy( - gcn::ScrollArea::SHOW_NEVER, gcn::ScrollArea::SHOW_ALWAYS); + gcn::ScrollArea::SHOW_NEVER, gcn::ScrollArea::SHOW_ALWAYS); mScrollArea->setOpaque(false); add(mScrollArea); @@ -75,6 +77,22 @@ ChatWindow::ChatWindow(Network *network): // Add key listener to chat input to be able to respond to up/down mChatInput->addKeyListener(this); mCurHist = mHistory.end(); + + // Read the party prefix + std::string partyPrefix = config.getValue("PartyPrefix", "$"); + mPartyPrefix = (partyPrefix == "" ? '$' : partyPrefix.at(0)); + mReturnToggles = config.getValue("ReturnToggles", "0") == "1"; + mRecorder = new Recorder(this); + mParty = new Party(this, mNetwork); +} + +ChatWindow::~ChatWindow() +{ + char partyPrefix[2] = "."; + *partyPrefix = mPartyPrefix; + config.setValue("PartyPrefix", partyPrefix); + config.setValue("ReturnToggles", mReturnToggles ? "1" : "0"); + delete mRecorder; } void @@ -85,17 +103,17 @@ ChatWindow::logic() const gcn::Rectangle area = getChildrenArea(); mChatInput->setPosition(mChatInput->getFrameSize(), - area.height - mChatInput->getHeight() - - mChatInput->getFrameSize()); + area.height - mChatInput->getHeight() - + mChatInput->getFrameSize()); mChatInput->setWidth(area.width - 2 * mChatInput->getFrameSize()); mScrollArea->setWidth(area.width - 2 * mScrollArea->getFrameSize()); mScrollArea->setHeight(area.height - 2 * mScrollArea->getFrameSize() - - mChatInput->getHeight() - 5); + mChatInput->getHeight() - 5); mScrollArea->logic(); } void -ChatWindow::chatLog(std::string line, int own) +ChatWindow::chatLog(std::string line, int own, bool ignoreRecord) { // Trim whitespace trim(line); @@ -108,47 +126,51 @@ ChatWindow::chatLog(std::string line, int own) // Fix the owner of welcome message. if (line.substr(0, 7) == "Welcome") { - own = BY_SERVER; + own = BY_SERVER; } std::string::size_type pos = line.find(" : "); if (pos != std::string::npos) { - tmp.nick = line.substr(0, pos); - tmp.text = line.substr(pos + 3); + tmp.nick = line.substr(0, pos); + tmp.text = line.substr(pos + 3); } std::string lineColor = "##0"; // Equiv. to BrowserBox::BLACK switch (own) { - case BY_GM: - tmp.nick += std::string("Global announcement: "); - lineColor = "##1"; // Equiv. to BrowserBox::RED - break; - case BY_PLAYER: - tmp.nick += CAT_NORMAL; - lineColor = "##2"; // Equiv. to BrowserBox::GREEN - break; - case BY_OTHER: - tmp.nick += CAT_NORMAL; - lineColor = "##0"; // Equiv. to BrowserBox::BLACK - break; - case BY_SERVER: - tmp.nick = "Server: "; - tmp.text = line; - lineColor = "##7"; // Equiv. to BrowserBox::PINK - break; - case ACT_WHISPER: - tmp.nick += CAT_WHISPER; - lineColor = "##3"; // Equiv. to BrowserBox::BLUE - break; - case ACT_IS: - tmp.nick += CAT_IS; - lineColor = "##5"; // Equiv. to BrowserBox::YELLOW - break; - case BY_LOGGER: - tmp.nick = ""; - tmp.text = line; - lineColor = "##8"; // Equiv. to BrowserBox::GREY - break; + case BY_GM: + tmp.nick += std::string("Global announcement: "); + lineColor = "##1"; // Equiv. to BrowserBox::RED + break; + case BY_PLAYER: + tmp.nick += CAT_NORMAL; + lineColor = "##2"; // Equiv. to BrowserBox::GREEN + break; + case BY_OTHER: + tmp.nick += CAT_NORMAL; + lineColor = "##0"; // Equiv. to BrowserBox::BLACK + break; + case BY_SERVER: + tmp.nick = "Server: "; + tmp.text = line; + lineColor = "##7"; // Equiv. to BrowserBox::PURPLE + break; + case BY_PARTY: + tmp.nick += CAT_NORMAL; + lineColor = "##6"; // Equiv. to BrowserBox::PINK + break; + case ACT_WHISPER: + tmp.nick += CAT_WHISPER; + lineColor = "##3"; // Equiv. to BrowserBox::BLUE + break; + case ACT_IS: + tmp.nick += CAT_IS; + lineColor = "##5"; // Equiv. to BrowserBox::YELLOW + break; + case BY_LOGGER: + tmp.nick = ""; + tmp.text = line; + lineColor = "##8"; // Equiv. to BrowserBox::GRAY + break; } // Get the current system time @@ -158,12 +180,12 @@ ChatWindow::chatLog(std::string line, int own) // Format the time string properly std::stringstream timeStr; timeStr << "[" - << ((((t / 60) / 60) % 24 < 10) ? "0" : "") - << (int)(((t / 60) / 60) % 24) - << ":" - << (((t / 60) % 60 < 10) ? "0" : "") - << (int)((t / 60) % 60) - << "] "; + << ((((t / 60) / 60) % 24 < 10) ? "0" : "") + << (int)(((t / 60) / 60) % 24) + << ":" + << (((t / 60) % 60 < 10) ? "0" : "") + << (int)((t / 60) % 60) + << "] "; line = lineColor + timeStr.str() + tmp.nick + tmp.text; @@ -172,13 +194,15 @@ ChatWindow::chatLog(std::string line, int own) // at comparison. if (mScrollArea->getVerticalScrollAmount() == mScrollArea->getVerticalMaxScroll()) { - mTextOutput->addRow(line); - mScrollArea->setVerticalScrollAmount(mScrollArea->getVerticalMaxScroll()); + mTextOutput->addRow(line); + mScrollArea->setVerticalScrollAmount(mScrollArea->getVerticalMaxScroll()); } else { - mTextOutput->addRow(line); + mTextOutput->addRow(line); } + + mRecorder->record(line.substr(3)); } void @@ -192,32 +216,35 @@ ChatWindow::action(const gcn::ActionEvent &event) { if (event.getId() == "chatinput") { - std::string message = mChatInput->getText(); - - if (!message.empty()) { - // If message different from previous, put it in the history - if (mHistory.empty() || message != mHistory.back()) { - mHistory.push_back(message); - } - - // Reset history iterator - mCurHist = mHistory.end(); - - // Send the message to the server - chatSend(player_node->getName(), message); - - // Clear the text from the chat input - mChatInput->setText(""); - } - - // Remove focus and hide input - mFocusHandler->focusNone(); - - // If the chatWindow is shown up because you want to send a message - // It should hide now - if (mTmpVisible) { - setVisible(false); - } + std::string message = mChatInput->getText(); + + if (!message.empty()) { + // If message different from previous, put it in the history + if (mHistory.empty() || message != mHistory.back()) { + mHistory.push_back(message); + } + + // Reset history iterator + mCurHist = mHistory.end(); + + // Send the message to the server + chatSend(player_node->getName(), message); + + // Clear the text from the chat input + mChatInput->setText(""); + } + if (message.empty() || !mReturnToggles) + { + // Remove focus and hide input + mFocusHandler->focusNone(); + + // If the chatWindow is shown up because you want to send a message + // It should hide now + if (mTmpVisible) + { + setVisible(false); + } + } } } @@ -227,14 +254,14 @@ ChatWindow::requestChatFocus() // Make sure chatWindow is visible if (!isVisible()) { - setVisible(true); - - /* - * This is used to hide chatWindow after sending the message. There is - * a trick here, because setVisible will set mTmpVisible to false, you - * have to put this sentence *after* setVisible, not before it - */ - mTmpVisible = true; + setVisible(true); + + /* + * This is used to hide chatWindow after sending the message. There is + * a trick here, because setVisible will set mTmpVisible to false, you + * have to put this sentence *after* setVisible, not before it + */ + mTmpVisible = true; } // Give focus to the chat input @@ -255,81 +282,224 @@ ChatWindow::chatSend(const std::string &nick, std::string msg) * require server handling by proper packet. Probably * those if elses should be replaced by protocol calls */ + // Send party message + if (msg.at(0) == mPartyPrefix) + { + msg.erase(0, 1); + std::size_t length = msg.length() + 1; + + if (length == 0) + { + chatLog("Trying to send a blank party message.", BY_SERVER); + return; + } + MessageOut outMsg(mNetwork); + + outMsg.writeInt16(CMSG_PARTY_MESSAGE); + outMsg.writeInt16(length + 4); + outMsg.writeString(msg, length); + return; + } // Prepare ordinary message if (msg.substr(0, 1) != "/") { - msg = nick + " : " + msg; + msg = nick + " : " + msg; + + MessageOut outMsg(mNetwork); + outMsg.writeInt16(CMSG_CHAT_MESSAGE); + // Added + 1 in order to let eAthena parse admin commands correctly + outMsg.writeInt16(msg.length() + 4 + 1); + outMsg.writeString(msg, msg.length() + 1); + return; + } + msg.erase(0, 1); + trim(msg); - MessageOut outMsg(mNetwork); - outMsg.writeInt16(CMSG_CHAT_MESSAGE); - // Added + 1 in order to let eAthena parse admin commands correctly - outMsg.writeInt16(msg.length() + 4 + 1); - outMsg.writeString(msg, msg.length() + 1); + std::size_t space = msg.find(" "); + std::string command = msg.substr(0, space); + if (space == std::string::npos) + { + msg = ""; } - else if (msg.substr(0, IS_ANNOUNCE_LENGTH) == IS_ANNOUNCE) + else { - msg.erase(0, IS_ANNOUNCE_LENGTH); - MessageOut outMsg(mNetwork); - outMsg.writeInt16(0x0099); - outMsg.writeInt16(msg.length() + 4); - outMsg.writeString(msg, msg.length()); + msg = msg.substr(space); + trim(msg); } - else if (msg.substr(0, IS_HELP_LENGTH) == IS_HELP) + + if (command == "announce") { - chatLog("-- Help --", BY_SERVER); - chatLog("/help: Display this help.", BY_SERVER); - chatLog("/announce: Global announcement (GM only)", BY_SERVER); - chatLog("/where: Display map name", BY_SERVER); - chatLog("/who: Display number of online users", BY_SERVER); - chatLog("/clear: Clears this window", BY_SERVER); - chatLog("/whisper : Sends a private to ", BY_SERVER); + MessageOut outMsg(mNetwork); + outMsg.writeInt16(0x0099); + outMsg.writeInt16(msg.length() + 4); + outMsg.writeString(msg, msg.length()); + return; } - else if (msg.substr(0, IS_WHERE_LENGTH) == IS_WHERE) + if (command == "help") { - chatLog(map_path, BY_SERVER); + std::size_t space = msg.find(" "); + std::string msg1; + if (space == std::string::npos) + { + msg1 = ""; + } + else + { + msg1 = msg.substr(space + 1, msg.length()); + msg = msg.substr(0, space); + } + if (msg != "" && msg.at(0) == '/') + { + msg.erase(0, 1); + } + while (msg1 != "" && msg1.at(0) == ' ') + { + msg1.erase(0, 1); + } + help(msg, msg1); + return; } - else if (msg.substr(0, IS_WHO_LENGTH) == IS_WHO) + if (command == "where") { - MessageOut outMsg(mNetwork); - outMsg.writeInt16(0x00c1); + chatLog(map_path, BY_SERVER); + return; } - else if (msg.substr(0, IS_CLEAR_LENGTH) == IS_CLEAR) + if (command == "who") { - mTextOutput->clearRows(); + MessageOut outMsg(mNetwork); + outMsg.writeInt16(0x00c1); + return; } - else if (msg.substr(0, IS_WHISPER_LENGTH) == IS_WHISPER) + if (command == "clear") { - std::string recvnick = ""; - msg.erase(0, IS_WHISPER_LENGTH + 1); - - if (msg.substr(0,1) == "\"") - { - const std::string::size_type pos = msg.find('"', 1); - if (pos != std::string::npos) { - recvnick = msg.substr(1, pos - 1); - msg.erase(0, pos + 2); - } - } - else - { - const std::string::size_type pos = msg.find(" "); - if (pos != std::string::npos) { - recvnick = msg.substr(0, pos); - msg.erase(0, pos + 1); - } - } - - MessageOut outMsg(mNetwork); - outMsg.writeInt16(CMSG_CHAT_WHISPER); - outMsg.writeInt16(msg.length() + 28); - outMsg.writeString(recvnick, 24); - outMsg.writeString(msg, msg.length()); - - chatLog("Whispering to " + recvnick + " : " + msg, BY_PLAYER); + mTextOutput->clearRows(); + return; } - else + if (command == "whisper") + { + std::string recvnick = ""; + + if (msg.substr(0,1) == "\"") + { + const std::string::size_type pos = msg.find('"', 1); + if (pos != std::string::npos) { + recvnick = msg.substr(1, pos - 1); + msg.erase(0, pos + 2); + } + } + else + { + const std::string::size_type pos = msg.find(" "); + if (pos != std::string::npos) { + recvnick = msg.substr(0, pos); + msg.erase(0, pos + 1); + } + } + + MessageOut outMsg(mNetwork); + outMsg.writeInt16(CMSG_CHAT_WHISPER); + outMsg.writeInt16(msg.length() + 28); + outMsg.writeString(recvnick, 24); + outMsg.writeString(msg, msg.length()); + + chatLog("Whispering to " + recvnick + " : " + msg, BY_PLAYER); + return; + } + if (command == "record") { - chatLog("Unknown command", BY_SERVER); + mRecorder->respond(msg); + return; } + if (command == "toggle") + { + if (msg == "") + { + chatLog(mReturnToggles ? "Return toggles chat." + : "Message closes chat.", BY_SERVER); + return; + } + msg = msg.substr(0, 1); + if (msg == "1" || msg == "y" || msg == "t" || msg == "Y" || msg == "T") + { + chatLog("Return now toggles chat.", BY_SERVER); + mReturnToggles = true; + return; + } + if (msg == "0" || msg == "n" || msg == "f" || msg == "N" || msg == "F") + { + chatLog("Message now closes chat.", BY_SERVER); + mReturnToggles = false; + return; + } + chatLog("Options to /toggle are \"yes\", \"no\", \"true\", \"false\", " + "\"1\", \"0\".", BY_SERVER); + return; + } + if (command == "party") + { + if (msg == "") + { + chatLog("Unknown party command... Type \"/help\" party for more " + "information.", BY_SERVER); + return; + } + const std::string::size_type space = msg.find(" "); + std::string rest = (space == std::string::npos ? "" + : msg.substr(space + 1, msg.length())); + if (rest != "") + { + msg = msg.substr(0, space); + while (msg != "" && msg[0] == ' ') + { + msg = msg.substr(1, msg.length()); + } + } + party(msg, rest); + return; + } + if (command == "present") + { + Beings &beings = beingManager->getAll(); + std::string response = ""; + for (BeingIterator bi = beings.begin(), be = beings.end(); + bi != be; + ++bi) + { + if ((*bi)->getType() == Being::PLAYER) + { + if (response != "") + { + response += ", "; + } + response += (*bi)->getName(); + } + } + if (mRecorder->isRecording()) + { + // Get the current system time + time_t t; + time(&t); + + // Format the time string properly + std::stringstream timeStr; + timeStr << "[" + << ((((t / 60) / 60) % 24 < 10) ? "0" : "") + << (int)(((t / 60) / 60) % 24) + << ":" + << (((t / 60) % 60 < 10) ? "0" : "") + << (int)((t / 60) % 60) + << "] "; + + + mRecorder->record(timeStr.str() + "Present: " + response + "."); + chatLog("Attendance written to record log.", BY_SERVER, true); + } + else + { + chatLog("Present: " + response, BY_SERVER); + } + return; + } + chatLog("Unknown command", BY_SERVER); } std::string @@ -337,76 +507,75 @@ ChatWindow::const_msg(CHATSKILL act) { std::string msg; if (act.success == SKILL_FAILED && act.skill == SKILL_BASIC) { - switch (act.bskill) { - case BSKILL_TRADE : - msg = "Trade failed!"; - break; - case BSKILL_EMOTE : - msg = "Emote failed!"; - break; - case BSKILL_SIT : - msg = "Sit failed!"; - break; - case BSKILL_CREATECHAT : - msg = "Chat creating failed!"; - break; - case BSKILL_JOINPARTY : - msg = "Could not join party!"; - break; - case BSKILL_SHOUT : - msg = "Cannot shout!"; - break; - } - - switch (act.reason) { - case RFAIL_SKILLDEP : - msg += " You have not yet reached a high enough lvl!"; - break; - case RFAIL_INSUFHP : - msg += " Insufficient HP!"; - break; - case RFAIL_INSUFSP : - msg += " Insufficient SP!"; - break; - case RFAIL_NOMEMO : - msg += " You have no memos!"; - break; - case RFAIL_SKILLDELAY : - msg += " You cannot do that right now!"; - break; - case RFAIL_ZENY : - msg += " Seems you need more Zeny... ;-)"; - break; - case RFAIL_WEAPON : - msg += " You cannot use this skill with that kind of weapon!"; - break; - case RFAIL_REDGEM : - msg += " You need another red gem!"; - break; - case RFAIL_BLUEGEM : - msg += " You need another blue gem!"; - break; - case RFAIL_OVERWEIGHT : - msg += " You're carrying to much to do this!"; - break; - default : - msg += " Huh? What's that?"; - break; - } + switch (act.bskill) { + case BSKILL_TRADE : + msg = "Trade failed!"; + break; + case BSKILL_EMOTE : + msg = "Emote failed!"; + break; + case BSKILL_SIT : + msg = "Sit failed!"; + break; + case BSKILL_CREATECHAT : + msg = "Chat creating failed!"; + break; + case BSKILL_JOINPARTY : + msg = "Could not join party!"; + break; + case BSKILL_SHOUT : + msg = "Cannot shout!"; + break; + } + + switch (act.reason) { + case RFAIL_SKILLDEP : + msg += " You have not yet reached a high enough level!"; + break; + case RFAIL_INSUFHP : + msg += " Insufficient HP!"; + break; + case RFAIL_INSUFSP : + msg += " Insufficient SP!"; + break; + case RFAIL_NOMEMO : + msg += " You have no memos!"; + break; + case RFAIL_SKILLDELAY : + msg += " You cannot do that right now!"; + break; + case RFAIL_ZENY : + msg += " Seems you need more Zeny... ;-)"; + break; + case RFAIL_WEAPON : + msg += " You cannot use this skill with that kind of weapon!"; + break; + case RFAIL_REDGEM : + msg += " You need another red gem!"; + break; + case RFAIL_BLUEGEM : + msg += " You need another blue gem!"; + break; + case RFAIL_OVERWEIGHT : + msg += " You're carrying to much to do this!"; + break; + default : + msg += " Huh? What's that?"; + break; + } } else { - switch(act.skill) { - case SKILL_WARP : - msg = "Warp failed..."; - break; - case SKILL_STEAL : - msg = "Could not steal anything..."; - break; - case SKILL_ENVENOM : - msg = "Poison had no effect..."; - break; - } + switch(act.skill) { + case SKILL_WARP : + msg = "Warp failed..."; + break; + case SKILL_STEAL : + msg = "Could not steal anything..."; + break; + case SKILL_ENVENOM : + msg = "Poison had no effect..."; + break; + } } - return msg; } @@ -414,7 +583,7 @@ void ChatWindow::scroll(int amount) { if (!isVisible()) - return; + return; int range = mScrollArea->getHeight() / 8 * amount; gcn::Rectangle scr; @@ -427,25 +596,25 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event) { if (event.getKey().getValue() == gcn::Key::DOWN && - mCurHist != mHistory.end()) - { - // Move forward through the history - HistoryIterator prevHist = mCurHist++; - if (mCurHist != mHistory.end()) { - mChatInput->setText(*mCurHist); - mChatInput->setCaretPosition(mChatInput->getText().length()); - } - else { - mCurHist = prevHist; - } + mCurHist != mHistory.end()) + { + // Move forward through the history + HistoryIterator prevHist = mCurHist++; + if (mCurHist != mHistory.end()) { + mChatInput->setText(*mCurHist); + mChatInput->setCaretPosition(mChatInput->getText().length()); + } + else { + mCurHist = prevHist; + } } else if (event.getKey().getValue() == gcn::Key::UP && - mCurHist != mHistory.begin() && mHistory.size() > 0) + mCurHist != mHistory.begin() && mHistory.size() > 0) { - // Move backward through the history - mCurHist--; - mChatInput->setText(*mCurHist); - mChatInput->setCaretPosition(mChatInput->getText().length()); + // Move backward through the history + mCurHist--; + mChatInput->setText(*mCurHist); + mChatInput->setCaretPosition(mChatInput->getText().length()); } } @@ -469,3 +638,138 @@ ChatWindow::setVisible(bool isVisible) mTmpVisible = false; } +void +ChatWindow::party(const std::string &command, const std::string &rest) +{ + if (command == "prefix") + { + if (rest == "") + { + char temp[2] = "."; + *temp = mPartyPrefix; + chatLog("The current party prefix is " + std::string(temp), + BY_SERVER); + return; + } + if (rest.length() != 1) + { + chatLog("Party prefix must be one character long.", BY_SERVER); + } + else + { + if (rest == "/") + { + chatLog("Cannot use a '/' as the prefix.", BY_SERVER); + } + else + { + mPartyPrefix = rest.at(0); + chatLog("Changing prefix to " + rest, BY_SERVER); + } + } + return; + } + mParty->respond(command, rest); +} + +void +ChatWindow::help(const std::string &msg1, const std::string &msg2) +{ + chatLog("-- Help --", BY_SERVER); + if (msg1 == "") + { + chatLog("/announce: Global announcement (GM only)", BY_SERVER); + chatLog("/clear: Clears this window", BY_SERVER); + chatLog("/help: Display this help.", BY_SERVER); + mParty->help(); + chatLog("/present: Get list of players present", BY_SERVER); + mRecorder->help(); + chatLog("/toggle: Determine whether toggles the chat log.", + BY_SERVER); + chatLog("/where: Display map name", BY_SERVER); + chatLog("/whisper : Sends a private " + " to ", BY_SERVER); + chatLog("/who: Display number of online users", BY_SERVER); + chatLog("For more information, type /help ", BY_SERVER); + return; + } + if (msg1 == "announce") + { + chatLog("Command: /announce ", BY_SERVER); + chatLog("*** only available to a GM ***", BY_SERVER); + chatLog("This command sends the message to " + "all players currently online.", BY_SERVER); + return; + } + if (msg1 == "clear") + { + chatLog("Command: /clear", BY_SERVER); + chatLog("This command clears the chat log of previous chat.", + BY_SERVER); + return; + } + if (msg1 == "help") + { + chatLog("Command: /help", BY_SERVER); + chatLog("This command displays a list of all commands available.", + BY_SERVER); + chatLog("Command: /help ", BY_SERVER); + chatLog("This command displays help on .", BY_SERVER); + return; + } + if (msg1 == "party") + { + mParty->help(msg2); + return; + } + if (msg1 == "present") + { + chatLog("Command: /present", BY_SERVER); + chatLog("This command gets a list of players within hearing " + "and sends it to either the record log if recording, or the " + "chat log otherwise.", BY_SERVER); + return; + } + if (msg1 == "record") + { + mRecorder->help(msg2); + return; + } + if (msg1 == "toggle") + { + chatLog("Command: /toggle ", BY_SERVER); + chatLog("This command sets whether the return key should toggle the " + "chat log, or whether the chat log turns off automatically.", + BY_SERVER); + chatLog(" can be one of \"1\", \"yes\", \"true\" to turn " + "the toggle on, or \"0\", \"no\", \"false\" to turn the " + "toggle off.", BY_SERVER); + chatLog("Command: /toggle", BY_SERVER); + chatLog("This command displays the return toggle status.", BY_SERVER); + return; + } + if (msg1 == "where") + { + chatLog("Command: /where", BY_SERVER); + chatLog("This command displays the name of the current map.", + BY_SERVER); + return; + } + if (msg1 == "whisper") + { + chatLog("Command: /whisper ", BY_SERVER); + chatLog("This command sends the message to has spaces in it, enclose it in " + "double quotes (\").", BY_SERVER); + return; + } + if (msg1 == "who") + { + chatLog("Command: /who", BY_SERVER); + chatLog("This command displays the number of players currently " + "online.", BY_SERVER); + return; + } + chatLog("Unknown command.", BY_SERVER); + chatLog("Type /help for a list of commands.", BY_SERVER); +} diff --git a/src/gui/chat.h b/src/gui/chat.h index 0bdc76f1..5e5ca110 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: chat.h 4227 2008-05-08 00:39:29Z peaveydk $ */ #ifndef _TMW_CHAT_H @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -37,29 +38,19 @@ class BrowserBox; class Network; class ScrollArea; +class Recorder; +class Party; #define BY_GM 0 // those should be self-explanatory =) #define BY_PLAYER 1 #define BY_OTHER 2 #define BY_SERVER 3 +#define BY_PARTY 4 -#define ACT_WHISPER 4 // getting whispered at -#define ACT_IS 5 // equivalent to "/me" on IRC +#define ACT_WHISPER 5 // getting whispered at +#define ACT_IS 6 // equivalent to "/me" on IRC -#define BY_LOGGER 6 - -#define IS_ANNOUNCE "/announce " -#define IS_ANNOUNCE_LENGTH 10 -#define IS_HELP "/help" -#define IS_HELP_LENGTH 5 -#define IS_WHERE "/where" -#define IS_WHERE_LENGTH 6 -#define IS_WHO "/who" -#define IS_WHO_LENGTH 4 -#define IS_CLEAR "/clear" -#define IS_CLEAR_LENGTH 6 -#define IS_WHISPER "/whisper" -#define IS_WHISPER_LENGTH 8 +#define BY_LOGGER 7 /** * gets in between usernick and message text depending on @@ -118,121 +109,150 @@ struct CHATSKILL * \ingroup Interface */ class ChatWindow : public Window, public gcn::ActionListener, - public gcn::KeyListener + public gcn::KeyListener { public: - /** - * Constructor. - */ - ChatWindow(Network *network); - - /** - * Logic (updates components' size) - */ - void logic(); - - /* - * Adds a line of text to our message list. Parameters: - * - * @param line Text message. - * @parem own Type of message (usually the owner-type). - */ - void chatLog(std::string line, int own); - - /* - * Calls original chat_log() after processing the packet. - */ - void chatLog(CHATSKILL); - - /** - * Performs action. - */ - void action(const gcn::ActionEvent &event); - - /** - * Request focus for typing chat message. - */ - void requestChatFocus(); - - /** - * Checks whether ChatWindow is Focused or not. - */ - bool isInputFocused(); - - /** - * Determines whether to send a command or an ordinary message, then - * contructs packets & sends them. - * - * @param nick The character's name to display in front. - * @param msg The message text which is to be send. - * - * NOTE: - * The nickname is required by the server, if not specified - * the message may not be sent unless a command was intended - * which requires another packet to be constructed! you can - * achieve this by putting a slash ("/") infront of the - * message followed by the command name and the message. - * of course all slash-commands need implemented handler- - * routines. ;-) - * remember, a line starting with "@" is not a command that needs - * to be parsed rather is sent using the normal chat-packet. - * - * EXAMPLE: - * // for an global announcement /- command - * chatlog.chat_send("", "/announce Hello to all logged in users!"); - * // for simple message by a user /- message - * chatlog.chat_send("Zaeiru", "Hello to all users on the screen!"); - */ - void - chatSend(const std::string &nick, std::string msg); - - /** Called when key is pressed */ - void - keyPressed(gcn::KeyEvent &event); - - /** Called to set current text */ - void - setInputText(std::string input_str); - - /** Override to reset mTmpVisible */ - void - setVisible(bool visible); + /** + * Constructor. + */ + ChatWindow(Network *network); + + /** + * Destructor: used to write back values to the config file + */ + ~ChatWindow(); + + /** + * Logic (updates components' size) + */ + void logic(); + + /** + * Adds a line of text to our message list. Parameters: + * + * @param line Text message. + * @parem own Type of message (usually the owner-type). + */ + void chatLog(std::string line, int own, bool ignoreRecord = false); + + /** + * Calls original chat_log() after processing the packet. + */ + void chatLog(CHATSKILL); + + /** + * Performs action. + */ + void action(const gcn::ActionEvent &event); + + /** + * Request focus for typing chat message. + */ + void requestChatFocus(); + + /** + * Checks whether ChatWindow is Focused or not. + */ + bool isInputFocused(); + + /** + * Determines whether to send a command or an ordinary message, then + * contructs packets & sends them. + * + * @param nick The character's name to display in front. + * @param msg The message text which is to be send. + * + * NOTE: + * The nickname is required by the server, if not specified + * the message may not be sent unless a command was intended + * which requires another packet to be constructed! you can + * achieve this by putting a slash ("/") infront of the + * message followed by the command name and the message. + * of course all slash-commands need implemented handler- + * routines. ;-) + * remember, a line starting with "@" is not a command that needs + * to be parsed rather is sent using the normal chat-packet. + * + * EXAMPLE: + * // for an global announcement /- command + * chatlog.chat_send("", "/announce Hello to all logged in users!"); + * // for simple message by a user /- message + * chatlog.chat_send("Zaeiru", "Hello to all users on the screen!"); + */ + void + chatSend(const std::string &nick, std::string msg); + + /** Called when key is pressed */ + void + keyPressed(gcn::KeyEvent &event); + + /** Called to set current text */ + void + setInputText(std::string input_str); + + /** Override to reset mTmpVisible */ + void + setVisible(bool visible); /** - * Scrolls the chat window - * - * @param amount direction and amount to scroll. Negative numbers scroll - * up, positive numbers scroll down. The absolute amount indicates the - * amount of 1/8ths of chat window real estate that should be scrolled. - */ - void - scroll(int amount); + * Scrolls the chat window + * + * @param amount direction and amount to scroll. Negative numbers scroll + * up, positive numbers scroll down. The absolute amount indicates the + * amount of 1/8ths of chat window real estate that should be scrolled. + */ + void + scroll(int amount); + + /** + * party implements the partying chat commands + * + * @param command is the party command to perform + * @param msg is the remainder of the message + */ + void + party(const std::string &command, const std::string &msg); + + /** + * help implements the /help command + * + * @param msg1 is the command that the player needs help on + * @param msg2 is the sub-command relating to the command + */ + void + help(const std::string &msg1, const std::string &msg2); private: - Network *mNetwork; - bool mTmpVisible; - - /** One item in the chat log */ - struct CHATLOG - { - std::string nick; - std::string text; - int own; - }; - - /** Constructs failed messages for actions */ - std::string const_msg(CHATSKILL); - - gcn::TextField *mChatInput; /**< Input box for typing chat messages */ - BrowserBox *mTextOutput; /**< Text box for displaying chat history */ - ScrollArea *mScrollArea; /**< Scroll area around text output */ - - typedef std::list History; - typedef History::iterator HistoryIterator; - History mHistory; /**< Command history */ - HistoryIterator mCurHist; /**< History iterator */ -}; + Network *mNetwork; + bool mTmpVisible; + + /** One item in the chat log */ + struct CHATLOG + { + std::string nick; + std::string text; + int own; + }; + + /** Constructs failed messages for actions */ + std::string const_msg(CHATSKILL); + + gcn::TextField *mChatInput; /**< Input box for typing chat messages */ + BrowserBox *mTextOutput; /**< Text box for displaying chat history */ + ScrollArea *mScrollArea; /**< Scroll area around text output */ + + typedef std::list History; + typedef History::iterator HistoryIterator; + History mHistory; /**< Command history */ + HistoryIterator mCurHist; /**< History iterator */ + Recorder *mRecorder; /**< Recording class */ + char mPartyPrefix; /**< Messages beginning with the prefix are sent to + the party */ + bool mReturnToggles; /**< Marks whether toggles the chat log + or not */ + Party *mParty; +}; extern ChatWindow *chatWindow; #endif diff --git a/src/gui/chatinput.cpp b/src/gui/chatinput.cpp index fc5d6aab..b403a03e 100644 --- a/src/gui/chatinput.cpp +++ b/src/gui/chatinput.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: chatinput.cpp 3361 2007-07-07 20:12:58Z b_lindeijer $ */ #include "chatinput.h" diff --git a/src/gui/chatinput.h b/src/gui/chatinput.h index da2342ae..6ac8c1a5 100644 --- a/src/gui/chatinput.h +++ b/src/gui/chatinput.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: chatinput.h 3361 2007-07-07 20:12:58Z b_lindeijer $ */ #ifndef _TMW_CHATINPUT_H diff --git a/src/gui/checkbox.cpp b/src/gui/checkbox.cpp index 5b300d33..b530bbea 100644 --- a/src/gui/checkbox.cpp +++ b/src/gui/checkbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: checkbox.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "checkbox.h" diff --git a/src/gui/checkbox.h b/src/gui/checkbox.h index 262e63ae..36083390 100644 --- a/src/gui/checkbox.h +++ b/src/gui/checkbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: checkbox.h 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #ifndef _TMW_CHECKBOX_H diff --git a/src/gui/confirm_dialog.cpp b/src/gui/confirm_dialog.cpp index 0ff8be17..5b700831 100644 --- a/src/gui/confirm_dialog.cpp +++ b/src/gui/confirm_dialog.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: confirm_dialog.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "confirm_dialog.h" diff --git a/src/gui/confirm_dialog.h b/src/gui/confirm_dialog.h index 8728f83f..3115485d 100644 --- a/src/gui/confirm_dialog.h +++ b/src/gui/confirm_dialog.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: confirm_dialog.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_OPTION_DIALOG_H diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp index baa1ea34..0b62ca3c 100644 --- a/src/gui/connection.cpp +++ b/src/gui/connection.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: connection.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "connection.h" diff --git a/src/gui/connection.h b/src/gui/connection.h index 7a072d2e..86b688a3 100644 --- a/src/gui/connection.h +++ b/src/gui/connection.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: connection.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_CONNECTION_H diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index d6d99307..1e7d5b35 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: debugwindow.cpp 3509 2007-08-23 13:43:17Z b_lindeijer $ */ #include "debugwindow.h" diff --git a/src/gui/debugwindow.h b/src/gui/debugwindow.h index 9b6f2017..59ae765c 100644 --- a/src/gui/debugwindow.h +++ b/src/gui/debugwindow.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: debugwindow.h 3509 2007-08-23 13:43:17Z b_lindeijer $ */ #ifndef _TMW_DEBUGWINDOW_H diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index 93b9ea37..564486aa 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: equipmentwindow.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "equipmentwindow.h" diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index 99a3cc60..0cb5cb24 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: equipmentwindow.h 2545 2006-08-17 19:11:28Z crush_tmw $ */ #ifndef _TMW_EQUIPMENT_H diff --git a/src/gui/focushandler.cpp b/src/gui/focushandler.cpp index ffdb7896..966d2013 100644 --- a/src/gui/focushandler.cpp +++ b/src/gui/focushandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: focushandler.cpp 2239 2006-03-09 05:16:27Z der_doener $ */ #include "focushandler.h" diff --git a/src/gui/focushandler.h b/src/gui/focushandler.h index 252fdd9d..5fde09f1 100644 --- a/src/gui/focushandler.h +++ b/src/gui/focushandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: focushandler.h 2239 2006-03-09 05:16:27Z der_doener $ */ #ifndef _TMW_FOCUSHANDLER_H diff --git a/src/gui/gccontainer.cpp b/src/gui/gccontainer.cpp index 1edb4daf..8095be61 100644 --- a/src/gui/gccontainer.cpp +++ b/src/gui/gccontainer.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: gccontainer.cpp 4208 2008-04-29 11:25:26Z b_lindeijer $ */ #include "gccontainer.h" diff --git a/src/gui/gccontainer.h b/src/gui/gccontainer.h index 8b8a7ffe..6c6bee80 100644 --- a/src/gui/gccontainer.h +++ b/src/gui/gccontainer.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: gccontainer.h 4208 2008-04-29 11:25:26Z b_lindeijer $ */ #ifndef _TMW_GUI_GCCONTAINER_H diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index db0b9f80..e56afc76 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: gui.cpp 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #include "gui.h" diff --git a/src/gui/gui.h b/src/gui/gui.h index 1e4b9348..d2a832c7 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: gui.h 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #ifndef _TMW_GUI diff --git a/src/gui/hbox.cpp b/src/gui/hbox.cpp index 69564fbb..dc909195 100644 --- a/src/gui/hbox.cpp +++ b/src/gui/hbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: hbox.cpp 1881 2005-10-18 21:40:25Z der_doener $ */ #include "hbox.h" diff --git a/src/gui/hbox.h b/src/gui/hbox.h index 560b1a29..99364866 100644 --- a/src/gui/hbox.h +++ b/src/gui/hbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: hbox.h 1881 2005-10-18 21:40:25Z der_doener $ */ #ifndef HBOX_H diff --git a/src/gui/help.cpp b/src/gui/help.cpp index 0b010253..56a5e70e 100644 --- a/src/gui/help.cpp +++ b/src/gui/help.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: help.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "help.h" diff --git a/src/gui/help.h b/src/gui/help.h index 3c3715a0..3b45283c 100644 --- a/src/gui/help.h +++ b/src/gui/help.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: help.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_HELP_H diff --git a/src/gui/inttextbox.cpp b/src/gui/inttextbox.cpp index 2a09f255..7a39c2df 100644 --- a/src/gui/inttextbox.cpp +++ b/src/gui/inttextbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inttextbox.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "inttextbox.h" diff --git a/src/gui/inttextbox.h b/src/gui/inttextbox.h index b5d339ac..64351f48 100644 --- a/src/gui/inttextbox.h +++ b/src/gui/inttextbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inttextbox.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef INTTEXTBOX_H diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index fcc602f9..b53fa43b 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inventorywindow.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "inventorywindow.h" diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index d45602d2..4793069c 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inventorywindow.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_INVENTORYWINDOW_H diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index f72462f9..40e2e121 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: item_amount.cpp 3718 2007-11-11 14:46:33Z b_lindeijer $ */ #include "item_amount.h" diff --git a/src/gui/item_amount.h b/src/gui/item_amount.h index 67002703..668dfe3b 100644 --- a/src/gui/item_amount.h +++ b/src/gui/item_amount.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: item_amount.h 3718 2007-11-11 14:46:33Z b_lindeijer $ */ #ifndef _TMW_ITEM_AMOUNT_WINDOW_H diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index cf5dcb92..ce7337d2 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemcontainer.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "itemcontainer.h" diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index db8c6f3d..353ac51d 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemcontainer.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_ITEMCONTAINER_H__ diff --git a/src/gui/itemshortcutcontainer.cpp b/src/gui/itemshortcutcontainer.cpp index 0ce4f6b7..5899abd1 100644 --- a/src/gui/itemshortcutcontainer.cpp +++ b/src/gui/itemshortcutcontainer.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemshortcutcontainer.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "itemshortcutcontainer.h" diff --git a/src/gui/itemshortcutcontainer.h b/src/gui/itemshortcutcontainer.h index 58f0aea7..7698755b 100644 --- a/src/gui/itemshortcutcontainer.h +++ b/src/gui/itemshortcutcontainer.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemshortcutcontainer.h 4076 2008-04-12 18:36:15Z b_lindeijer $ */ #ifndef _TMW_ITEMSHORTCUTCONTAINER_H__ diff --git a/src/gui/itemshortcutwindow.cpp b/src/gui/itemshortcutwindow.cpp index 3724516a..31f3bf4e 100644 --- a/src/gui/itemshortcutwindow.cpp +++ b/src/gui/itemshortcutwindow.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemshortcutwindow.cpp 4076 2008-04-12 18:36:15Z b_lindeijer $ */ #include "itemshortcutwindow.h" diff --git a/src/gui/itemshortcutwindow.h b/src/gui/itemshortcutwindow.h index 9742abdc..5f7ba3d7 100644 --- a/src/gui/itemshortcutwindow.h +++ b/src/gui/itemshortcutwindow.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemshortcutwindow.h 4076 2008-04-12 18:36:15Z b_lindeijer $ */ #ifndef _TMW_ITEMSHORTCUTWINDOW_H diff --git a/src/gui/linkhandler.h b/src/gui/linkhandler.h index 3a32f825..93a8c000 100644 --- a/src/gui/linkhandler.h +++ b/src/gui/linkhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: linkhandler.h 3606 2007-09-27 14:54:09Z b_lindeijer $ */ #ifndef _TMW_LINK_HANDLER_H_ diff --git a/src/gui/listbox.cpp b/src/gui/listbox.cpp index 634afa07..cf941be1 100644 --- a/src/gui/listbox.cpp +++ b/src/gui/listbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: listbox.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "listbox.h" diff --git a/src/gui/listbox.h b/src/gui/listbox.h index b226a11e..ec95734d 100644 --- a/src/gui/listbox.h +++ b/src/gui/listbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: listbox.h 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #ifndef _TMW_LISTBOX_H diff --git a/src/gui/login.cpp b/src/gui/login.cpp index d85f4e83..526a8e8f 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: login.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "login.h" @@ -29,12 +29,19 @@ #include "../main.h" #include "../logindata.h" +#include "../configuration.h" #include "button.h" #include "checkbox.h" #include "ok_dialog.h" #include "passwordfield.h" #include "textfield.h" +#include "../utils/tostring.h" + +static const int MAX_SERVER_LIST_SIZE = 5; +static const int LOGIN_DIALOG_WIDTH = 220; +static const int LOGIN_DIALOG_HEIGHT = 140; +static const int FIELD_WIDTH = LOGIN_DIALOG_WIDTH - 70; LoginDialog::LoginDialog(LoginData *loginData): Window("Login"), mLoginData(loginData) @@ -42,59 +49,89 @@ LoginDialog::LoginDialog(LoginData *loginData): gcn::Label *userLabel = new gcn::Label("Name:"); gcn::Label *passLabel = new gcn::Label("Password:"); gcn::Label *serverLabel = new gcn::Label("Server:"); + gcn::Label *portLabel = new gcn::Label("Port:"); + mServerList = new DropDownList("MostRecent00", + "216.139.126.36", + "6901", + MAX_SERVER_LIST_SIZE); + mServerListBox = new gcn::ListBox(mServerList); + mServerScrollArea = new ScrollArea(); + mUserField = new TextField(mLoginData->username); mPassField = new PasswordField(mLoginData->password); - mServerField = new TextField(mLoginData->hostname); + mServerField = new TextField(mServerList->getServerAt(0)); + mPortField = new TextField(mServerList->getPortAt(0)); + mServerDropDown = new DropDown(mServerList, + mServerScrollArea, + mServerListBox); + mKeepCheck = new CheckBox("Keep", mLoginData->remember); mOkButton = new Button("OK", "ok", this); mCancelButton = new Button("Cancel", "cancel", this); mRegisterButton = new Button("Register", "register", this); - const int width = 220; - const int height = 100; - - setContentSize(width, height); - - userLabel->setPosition(5, 5); - passLabel->setPosition(5, 14 + userLabel->getHeight()); - serverLabel->setPosition( - 5, 23 + userLabel->getHeight() + passLabel->getHeight()); - mUserField->setPosition(65, 5); - mPassField->setPosition(65, 14 + userLabel->getHeight()); - mServerField->setPosition( - 65, 23 + userLabel->getHeight() + passLabel->getHeight()); - mUserField->setWidth(width - 70); - mPassField->setWidth(width - 70); - mServerField->setWidth(width - 70); - mKeepCheck->setPosition(4, 77); + setContentSize(LOGIN_DIALOG_WIDTH, LOGIN_DIALOG_HEIGHT); + + const int USER_TOP = 5; + userLabel->setPosition(5, USER_TOP); + mUserField->setPosition(65, USER_TOP); + mUserField->setWidth(FIELD_WIDTH); + + const int PASS_TOP = 9 + USER_TOP + userLabel->getHeight(); + passLabel->setPosition(5, PASS_TOP); + mPassField->setPosition(65, PASS_TOP); + mPassField->setWidth(FIELD_WIDTH); + + const int SERVER_TOP = 9 + PASS_TOP + passLabel->getHeight(); + serverLabel->setPosition(5, SERVER_TOP); + mServerField->setPosition(65, SERVER_TOP); + mServerField->setWidth(FIELD_WIDTH); + + const int PORT_TOP = 9 + SERVER_TOP + serverLabel->getHeight(); + portLabel->setPosition(5, PORT_TOP); + mPortField->setPosition(65, PORT_TOP); + mPortField->setWidth(FIELD_WIDTH); + + const int DROP_DOWN_TOP = 9 + PORT_TOP + serverLabel->getHeight(); + mServerDropDown->setPosition(5, DROP_DOWN_TOP); + mServerDropDown->setWidth(FIELD_WIDTH); + + const int REST_TOP = LOGIN_DIALOG_HEIGHT - mCancelButton->getHeight() - 5; + + mKeepCheck->setPosition(4, REST_TOP); mCancelButton->setPosition( - width - mCancelButton->getWidth() - 5, - height - mCancelButton->getHeight() - 5); + LOGIN_DIALOG_WIDTH - mCancelButton->getWidth() - 5, REST_TOP); mOkButton->setPosition( - mCancelButton->getX() - mOkButton->getWidth() - 5, - height - mOkButton->getHeight() - 5); + mCancelButton->getX() - mOkButton->getWidth() - 5, REST_TOP); mRegisterButton->setPosition( - mKeepCheck->getX() + mKeepCheck->getWidth() + 10, - height - mRegisterButton->getHeight() - 5); + mKeepCheck->getX() + mKeepCheck->getWidth() + 10, REST_TOP); mUserField->setActionEventId("ok"); mPassField->setActionEventId("ok"); mServerField->setActionEventId("ok"); + mServerDropDown->setActionEventId("changeSelection"); mUserField->addKeyListener(this); mPassField->addKeyListener(this); mServerField->addKeyListener(this); + mPortField->addKeyListener(this); + mServerDropDown->addKeyListener(this); mUserField->addActionListener(this); mPassField->addActionListener(this); mServerField->addActionListener(this); + mPortField->addActionListener(this); + mServerDropDown->addActionListener(this); mKeepCheck->addActionListener(this); add(userLabel); add(passLabel); add(serverLabel); + add(portLabel); add(mUserField); add(mPassField); add(mServerField); + add(mPortField); + add(mServerDropDown); add(mKeepCheck); add(mOkButton); add(mCancelButton); @@ -114,6 +151,9 @@ LoginDialog::LoginDialog(LoginData *loginData): LoginDialog::~LoginDialog() { + delete mServerList; + delete mServerListBox; + delete mServerScrollArea; } void @@ -122,6 +162,7 @@ LoginDialog::action(const gcn::ActionEvent &event) if (event.getId() == "ok" && canSubmit()) { mLoginData->hostname = mServerField->getText(); + mLoginData->port = getUShort(mPortField->getText()); mLoginData->username = mUserField->getText(); mLoginData->password = mPassField->getText(); mLoginData->remember = mKeepCheck->isSelected(); @@ -129,9 +170,15 @@ LoginDialog::action(const gcn::ActionEvent &event) mOkButton->setEnabled(false); mRegisterButton->setEnabled(false); - + mServerList->save(mServerField->getText(), mPortField->getText()); state = ACCOUNT_STATE; } + else if (event.getId() == "changeSelection") + { + int selected = mServerListBox->getSelected(); + mServerField->setText(mServerList->getServerAt(selected)); + mPortField->setText(mServerList->getPortAt(selected)); + } else if (event.getId() == "cancel") { state = EXIT_STATE; @@ -140,6 +187,14 @@ LoginDialog::action(const gcn::ActionEvent &event) { // Transfer these fields on to the register dialog mLoginData->hostname = mServerField->getText(); + if (isUShort(mPortField->getText())) + { + mLoginData->port = getUShort(mPortField->getText()); + } + else + { + mLoginData->port = 6901; + } mLoginData->username = mUserField->getText(); mLoginData->password = mPassField->getText(); @@ -159,5 +214,148 @@ LoginDialog::canSubmit() return !mUserField->getText().empty() && !mPassField->getText().empty() && !mServerField->getText().empty() && + isUShort(mPortField->getText()) && state == LOGIN_STATE; } + +bool +LoginDialog::isUShort(const std::string &str) +{ + if (str == "") + { + return false; + } + unsigned long l = 0; + for (std::string::const_iterator strPtr = str.begin(), strEnd = str.end(); + strPtr != strEnd; ++strPtr) + { + if (*strPtr < '0' || *strPtr > '9') + { + return false; + } + l = l * 10 + (*strPtr - '0'); // *strPtr - '0' will never be negative + if (l > 65535) + { + return false; + } + } + return true; +} + +unsigned short +LoginDialog::getUShort(const std::string &str) +{ + unsigned long l = 0; + for (std::string::const_iterator strPtr = str.begin(), strEnd = str.end(); + strPtr != strEnd; ++strPtr) + { + l = l * 10 + (*strPtr - '0'); + } + return static_cast(l); +} + +/** + * LoginDialog::DropDownList + */ + +void +LoginDialog::DropDownList::saveEntry(const std::string &server, + const std::string &port, int &saved) +{ + if (saved < MAX_SERVER_LIST_SIZE && server != "") + { + config.setValue(mConfigPrefix + "Server" + toString(saved), server); + config.setValue(mConfigPrefix + "Port" + toString(saved), port); + ++saved; + } +} + +LoginDialog::DropDownList::DropDownList(std::string prefix, + std::string dflt, + std::string dfltPort, + int maxEntries) : + mConfigPrefix(prefix), + mMaxEntries(maxEntries) +{ + for (int i = 0; i < maxEntries; ++i) + { + std::string server = config.getValue(mConfigPrefix + "Server" + + toString(i), ""); + if (server == "") // Just in case had original config entries + { + server = config.getValue(mConfigPrefix + "ServerList" + + toString(i), ""); + } + std::string port = config.getValue(mConfigPrefix + "Port" + + toString(i), dfltPort); + + if (server != "") + { + mServers.push_back(server); + mPorts.push_back(port); + } + } + if (mServers.size() == 0) + { + mServers.push_back(dflt); + mPorts.push_back(dfltPort); + } + +} + +void +LoginDialog::DropDownList::save(const std::string &server, + const std::string &port) +{ + int position = 0; + saveEntry(server, port, position); + for (std::vector::const_iterator sPtr = mServers.begin(), + sEnd = mServers.end(), + pPtr = mPorts.begin(), + pEnd = mPorts.end(); + sPtr != sEnd && pPtr != pEnd; + ++sPtr, ++pPtr) + { + if (*sPtr != server || *pPtr != port) + { + saveEntry(*sPtr, *pPtr, position); + } + } +} + +int +LoginDialog::DropDownList::getNumberOfElements() +{ + return mServers.size(); +} + +std::string +LoginDialog::DropDownList::getElementAt(int i) +{ + if (i < 0 || i >= getNumberOfElements()) + { + return ""; + } + return getServerAt(i) + ":" + getPortAt(i); +} + +std::string +LoginDialog::DropDownList::getServerAt(int i) +{ + if (i < 0 || i >= getNumberOfElements()) + { + return ""; + } + return mServers.at(i); +} + + +std::string +LoginDialog::DropDownList::getPortAt(int i) +{ + if (i < 0 || i >= getNumberOfElements()) + { + return ""; + } + return mPorts.at(i); +} diff --git a/src/gui/login.h b/src/gui/login.h index e08120cb..8a228b5f 100644 --- a/src/gui/login.h +++ b/src/gui/login.h @@ -18,18 +18,23 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: login.h 3234 2007-03-24 13:05:27Z b_lindeijer $ */ #ifndef _TMW_LOGIN_H #define _TMW_LOGIN_H #include +#include +#include + #include #include #include "window.h" #include "../guichanfwd.h" +#include "widgets/dropdown.h" +#include "scrollarea.h" class LoginData; @@ -72,15 +77,66 @@ class LoginDialog : public Window, public gcn::ActionListener, bool canSubmit(); + /** + * Function to decide whether string is an unsigned short or not + * + * @param str the string to parse + * + * @return true is str is an unsigned short, false otherwise + */ + static bool + isUShort(const std::string &str); + + /** + * Converts string to an unsigned short (undefined if invalid) + * + * @param str the string to parse + * + * @return the value str represents + */ + static unsigned short + getUShort(const std::string &str); + + DropDown *mServerDropDown; gcn::TextField *mUserField; gcn::TextField *mPassField; gcn::TextField *mServerField; + gcn::TextField *mPortField; gcn::CheckBox *mKeepCheck; gcn::Button *mOkButton; gcn::Button *mCancelButton; gcn::Button *mRegisterButton; LoginData *mLoginData; + + /** + * Helper class to keep a list of all the recent entries for the + * dropdown + */ + class DropDownList : public gcn::ListModel + { + private: + std::vector mServers; + std::vector mPorts; + std::string mConfigPrefix; + int mMaxEntries; + void saveEntry(const std::string &server, + const std::string &port, int &saved); + public: + DropDownList(std::string prefix, + std::string dfltServer, + std::string dfltPort, + int maxEntries); + void save(const std::string &server, const std::string &port); + int getNumberOfElements(); + std::string getElementAt(int i); + std::string getServerAt(int i); + std::string getPortAt(int i); + }; + DropDownList *mServerList; + gcn::ListBox *mServerListBox; + ScrollArea *mServerScrollArea; + }; #endif diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp index 2043b7d1..c3af6896 100644 --- a/src/gui/menuwindow.cpp +++ b/src/gui/menuwindow.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: menuwindow.cpp 4060 2008-04-09 14:49:07Z b_lindeijer $ */ #include "menuwindow.h" diff --git a/src/gui/menuwindow.h b/src/gui/menuwindow.h index f43b9921..add04095 100644 --- a/src/gui/menuwindow.h +++ b/src/gui/menuwindow.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: menuwindow.h 2417 2006-07-19 15:12:06Z umperio $ */ #ifndef _TMW_MENU_H diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index c17fa06b..dc7df9b9 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: minimap.cpp 4116 2008-04-17 12:48:43Z peaveydk $ */ #include "minimap.h" diff --git a/src/gui/minimap.h b/src/gui/minimap.h index 5e9458bf..d2640caa 100644 --- a/src/gui/minimap.h +++ b/src/gui/minimap.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: minimap.h 2417 2006-07-19 15:12:06Z umperio $ */ #ifndef _TMW_MINIMAP_H diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp index 8f121368..3a7e7bf0 100644 --- a/src/gui/ministatus.cpp +++ b/src/gui/ministatus.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: ministatus.cpp 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #include "ministatus.h" diff --git a/src/gui/ministatus.h b/src/gui/ministatus.h index 718fe140..d4002d93 100644 --- a/src/gui/ministatus.h +++ b/src/gui/ministatus.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: ministatus.h 2581 2006-08-25 22:04:17Z b_lindeijer $ */ #ifndef _TMW_MINISTATUS_H diff --git a/src/gui/newskill.cpp b/src/gui/newskill.cpp index 6783a546..c2088e75 100644 --- a/src/gui/newskill.cpp +++ b/src/gui/newskill.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: newskill.cpp 3587 2007-09-20 13:24:20Z b_lindeijer $ */ /* This file implements the new skill dialog for use under the latest diff --git a/src/gui/newskill.h b/src/gui/newskill.h index 6e12169f..c553ab1d 100644 --- a/src/gui/newskill.h +++ b/src/gui/newskill.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: newskill.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_NSKILL_H diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index 7b4fc634..52f35a88 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npc_text.cpp 4096 2008-04-16 08:39:59Z b_lindeijer $ */ #include "npc_text.h" diff --git a/src/gui/npc_text.h b/src/gui/npc_text.h index 0ef1b938..9e2b4ecd 100644 --- a/src/gui/npc_text.h +++ b/src/gui/npc_text.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npc_text.h 4096 2008-04-16 08:39:59Z b_lindeijer $ */ #ifndef _TMW_NPC_TEXT_H diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp index 1bcdc8ff..e6523583 100644 --- a/src/gui/npclistdialog.cpp +++ b/src/gui/npclistdialog.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npclistdialog.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "npclistdialog.h" diff --git a/src/gui/npclistdialog.h b/src/gui/npclistdialog.h index c09b0a8c..a96fd766 100644 --- a/src/gui/npclistdialog.h +++ b/src/gui/npclistdialog.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npclistdialog.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_GUI_NPCLISTDIALOG_H diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp index ca9d2a7b..c49bb6bb 100644 --- a/src/gui/ok_dialog.cpp +++ b/src/gui/ok_dialog.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: ok_dialog.cpp 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #include "ok_dialog.h" diff --git a/src/gui/ok_dialog.h b/src/gui/ok_dialog.h index a7b24a90..1c8e0c18 100644 --- a/src/gui/ok_dialog.h +++ b/src/gui/ok_dialog.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: ok_dialog.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _OK_DIALOG_H diff --git a/src/gui/passwordfield.cpp b/src/gui/passwordfield.cpp index 533f54fb..710eb767 100644 --- a/src/gui/passwordfield.cpp +++ b/src/gui/passwordfield.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: passwordfield.cpp 2132 2006-02-01 14:53:10Z der_doener $ */ #include "passwordfield.h" diff --git a/src/gui/passwordfield.h b/src/gui/passwordfield.h index cae1f92e..725bfbcf 100644 --- a/src/gui/passwordfield.h +++ b/src/gui/passwordfield.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: passwordfield.h 2895 2006-12-09 01:44:18Z b_lindeijer $ */ #ifndef _TMW_PASSWORDFIELD_H_ diff --git a/src/gui/playerbox.cpp b/src/gui/playerbox.cpp index 2c633b72..6d39ce05 100644 --- a/src/gui/playerbox.cpp +++ b/src/gui/playerbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: playerbox.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include diff --git a/src/gui/playerbox.h b/src/gui/playerbox.h index c226e750..0aa48a2c 100644 --- a/src/gui/playerbox.h +++ b/src/gui/playerbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: playerbox.h 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #ifndef __TMW_PLAYERBOX_H__ diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index cdc998e0..7e40abed 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: popupmenu.cpp 4243 2008-05-16 15:48:52Z the_enemy $ */ #include "popupmenu.h" @@ -40,6 +40,9 @@ #include "../npc.h" #include "../player_relations.h" +#include "../net/messageout.h" +#include "../net/protocol.h" + #include "../resources/iteminfo.h" #include "../resources/itemdb.h" @@ -70,49 +73,53 @@ void PopupMenu::showPopup(int x, int y, Being *being) switch (mBeing->getType()) { - case Being::PLAYER: - { - // Players can be traded with. Later also attack, follow and - // add as buddy will be options in this menu. - const std::string &name = mBeing->getName(); - mBrowserBox->addRow("@@trade|Trade With " + name + "@@"); - mBrowserBox->addRow("@@attack|Attack " + name + "@@"); - - mBrowserBox->addRow("##3---"); - - switch (player_relations.getRelation(name)) { - case PlayerRelation::NEUTRAL: - mBrowserBox->addRow("@@friend|Befriend " + name + "@@"); - - case PlayerRelation::FRIEND: - mBrowserBox->addRow("@@disregard|Disregard " + name + "@@"); - mBrowserBox->addRow("@@ignore|Ignore " + name + "@@"); - break; - - case PlayerRelation::DISREGARDED: - mBrowserBox->addRow("@@unignore|Un-Ignore " + name + "@@"); - mBrowserBox->addRow("@@ignore|Completely ignore " + name + "@@"); - break; - - case PlayerRelation::IGNORED: - mBrowserBox->addRow("@@unignore|Un-Ignore " + name + "@@"); - break; - } - - //mBrowserBox->addRow("@@follow|Follow " + name + "@@"); - //mBrowserBox->addRow("@@buddy|Add " + name + " to Buddy List@@"); - } - break; - - case Being::NPC: - // NPCs can be talked to (single option, candidate for removal - // unless more options would be added) - mBrowserBox->addRow("@@talk|Talk To NPC@@"); - break; - - default: - /* Other beings aren't interesting... */ - break; + case Being::PLAYER: + { + // Players can be traded with. Later also attack, follow and + // add as buddy will be options in this menu. + const std::string &name = mBeing->getName(); + mBrowserBox->addRow("@@trade|Trade With " + name + "@@"); + mBrowserBox->addRow("@@attack|Attack " + name + "@@"); + + mBrowserBox->addRow("##3---"); + + switch (player_relations.getRelation(name)) { + case PlayerRelation::NEUTRAL: + mBrowserBox->addRow("@@friend|Befriend " + name + "@@"); + + case PlayerRelation::FRIEND: + mBrowserBox->addRow("@@disregard|Disregard " + name + "@@"); + mBrowserBox->addRow("@@ignore|Ignore " + name + "@@"); + break; + + case PlayerRelation::DISREGARDED: + mBrowserBox->addRow("@@unignore|Un-Ignore " + name + "@@"); + mBrowserBox->addRow("@@ignore|Completely ignore " + name + "@@"); + break; + + case PlayerRelation::IGNORED: + mBrowserBox->addRow("@@unignore|Un-Ignore " + name + "@@"); + break; + } + + //mBrowserBox->addRow("@@follow|Follow " + name + "@@"); + //mBrowserBox->addRow("@@buddy|Add " + name + " to Buddy List@@"); + + mBrowserBox->addRow("##3---"); + mBrowserBox->addRow("@@party-invite|Invite " + name + + " to party@@"); + } + break; + + case Being::NPC: + // NPCs can be talked to (single option, candidate for removal + // unless more options would be added) + mBrowserBox->addRow("@@talk|Talk To NPC@@"); + break; + + default: + /* Other beings aren't interesting... */ + break; } //browserBox->addRow("@@look|Look To@@"); @@ -142,56 +149,56 @@ void PopupMenu::handleLink(const std::string& link) { // Talk To action if (link == "talk" && - mBeing != NULL && - mBeing->getType() == Being::NPC && - current_npc == 0) + mBeing != NULL && + mBeing->getType() == Being::NPC && + current_npc == 0) { - dynamic_cast(mBeing)->talk(); + dynamic_cast(mBeing)->talk(); } // Trade action else if (link == "trade" && - mBeing != NULL && - mBeing->getType() == Being::PLAYER) + mBeing != NULL && + mBeing->getType() == Being::PLAYER) { - player_node->trade(mBeing); - tradePartnerName = mBeing->getName(); + player_node->trade(mBeing); + tradePartnerName = mBeing->getName(); } // Attack action else if (link == "attack" && - mBeing != NULL && - mBeing->getType() == Being::PLAYER) + mBeing != NULL && + mBeing->getType() == Being::PLAYER) { - player_node->attack(mBeing, true); + player_node->attack(mBeing, true); } else if (link == "unignore" && - mBeing != NULL && - mBeing->getType() == Being::PLAYER) + mBeing != NULL && + mBeing->getType() == Being::PLAYER) { - player_relations.setRelation(mBeing->getName(), PlayerRelation::NEUTRAL); + player_relations.setRelation(mBeing->getName(), PlayerRelation::NEUTRAL); } else if (link == "ignore" && - mBeing != NULL && - mBeing->getType() == Being::PLAYER) + mBeing != NULL && + mBeing->getType() == Being::PLAYER) { - player_relations.setRelation(mBeing->getName(), PlayerRelation::IGNORED); + player_relations.setRelation(mBeing->getName(), PlayerRelation::IGNORED); } else if (link == "disregard" && - mBeing != NULL && - mBeing->getType() == Being::PLAYER) + mBeing != NULL && + mBeing->getType() == Being::PLAYER) { - player_relations.setRelation(mBeing->getName(), PlayerRelation::DISREGARDED); + player_relations.setRelation(mBeing->getName(), PlayerRelation::DISREGARDED); } else if (link == "friend" && - mBeing != NULL && - mBeing->getType() == Being::PLAYER) + mBeing != NULL && + mBeing->getType() == Being::PLAYER) { - player_relations.setRelation(mBeing->getName(), PlayerRelation::FRIEND); + player_relations.setRelation(mBeing->getName(), PlayerRelation::FRIEND); } /* @@ -204,16 +211,16 @@ void PopupMenu::handleLink(const std::string& link) // Add Buddy action else if ((link == "buddy") && mBeing != NULL && mBeing->isPlayer()) { - if (!buddyWindow->isVisible()) - buddyWindow->setVisible(true); + if (!buddyWindow->isVisible()) + buddyWindow->setVisible(true); - buddyWindow->addBuddy(mBeing->getName()); + buddyWindow->addBuddy(mBeing->getName()); }*/ // Pick Up Floor Item action else if ((link == "pickup") && mFloorItem != NULL) { - player_node->pickUp(mFloorItem); + player_node->pickUp(mFloorItem); } // Look To action @@ -223,39 +230,47 @@ void PopupMenu::handleLink(const std::string& link) else if (link == "use") { - assert(mItem); - if (mItem->isEquipment()) - { - if (mItem->isEquipped()) - { - player_node->unequipItem(mItem); - } - else - { - player_node->equipItem(mItem); - } - } - else - { - player_node->useItem(mItem); - } + assert(mItem); + if (mItem->isEquipment()) + { + if (mItem->isEquipped()) + { + player_node->unequipItem(mItem); + } + else + { + player_node->equipItem(mItem); + } + } + else + { + player_node->useItem(mItem); + } } else if (link == "drop") { - new ItemAmountWindow(AMOUNT_ITEM_DROP, inventoryWindow, mItem); + new ItemAmountWindow(AMOUNT_ITEM_DROP, inventoryWindow, mItem); } else if (link == "description") { - // do nothing for now, I need to write - // a window for the description first + // do nothing for now, I need to write + // a window for the description first + } + else if (link == "party-invite" && + mBeing != NULL && + mBeing->getType() == Being::PLAYER) + { + MessageOut outMsg(player_node->getNetwork()); + outMsg.writeInt16(CMSG_PARTY_INVITE); + outMsg.writeInt32(mBeing->getId()); } // Unknown actions else { - std::cout << link << std::endl; + std::cout << link << std::endl; } setVisible(false); @@ -273,13 +288,13 @@ void PopupMenu::showPopup(int x, int y, Item *item) if (item->isEquipment()) { - if (item->isEquipped()) - mBrowserBox->addRow("@@use|Unequip@@"); - else - mBrowserBox->addRow("@@use|Equip@@"); + if (item->isEquipped()) + mBrowserBox->addRow("@@use|Unequip@@"); + else + mBrowserBox->addRow("@@use|Equip@@"); } else - mBrowserBox->addRow("@@use|Use@@"); + mBrowserBox->addRow("@@use|Use@@"); mBrowserBox->addRow("@@drop|Drop@@"); mBrowserBox->addRow("@@description|Description@@"); @@ -293,9 +308,9 @@ void PopupMenu::showPopup(int x, int y) { setContentSize(mBrowserBox->getWidth() + 8, mBrowserBox->getHeight() + 8); if (windowContainer->getWidth() < (x + getWidth() + 5)) - x = windowContainer->getWidth() - getWidth(); + x = windowContainer->getWidth() - getWidth(); if (windowContainer->getHeight() < (y + getHeight() + 5)) - y = windowContainer->getHeight() - getHeight(); + y = windowContainer->getHeight() - getHeight(); setPosition(x, y); setVisible(true); requestMoveToTop(); diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h index 9fe9f866..601fa2ae 100644 --- a/src/gui/popupmenu.h +++ b/src/gui/popupmenu.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: popupmenu.h 2239 2006-03-09 05:16:27Z der_doener $ */ #ifndef _TMW_POPUP_MENU_H diff --git a/src/gui/progressbar.cpp b/src/gui/progressbar.cpp index 6d18b2f7..6dbc3b85 100644 --- a/src/gui/progressbar.cpp +++ b/src/gui/progressbar.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: progressbar.cpp 4008 2008-03-27 14:51:10Z b_lindeijer $ */ #include "progressbar.h" diff --git a/src/gui/progressbar.h b/src/gui/progressbar.h index 3e58f14e..ed8eace4 100644 --- a/src/gui/progressbar.h +++ b/src/gui/progressbar.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: progressbar.h 2240 2006-03-09 12:24:36Z der_doener $ */ #ifndef _TMW_PROGRESSBAR_H diff --git a/src/gui/radiobutton.cpp b/src/gui/radiobutton.cpp index 0ac4dea8..cbab4d2d 100644 --- a/src/gui/radiobutton.cpp +++ b/src/gui/radiobutton.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: radiobutton.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "radiobutton.h" diff --git a/src/gui/radiobutton.h b/src/gui/radiobutton.h index 4f868fdb..bab4a9dc 100644 --- a/src/gui/radiobutton.h +++ b/src/gui/radiobutton.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: radiobutton.h 1584 2005-08-13 12:49:52Z der_doener $ */ #ifndef _TMW_RADIOBUTTON_H diff --git a/src/gui/register.cpp b/src/gui/register.cpp index 9496da93..e0b663b8 100644 --- a/src/gui/register.cpp +++ b/src/gui/register.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: register.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "register.h" @@ -41,6 +41,8 @@ #include "textfield.h" #include "ok_dialog.h" +#include "../utils/tostring.h" + void WrongDataNoticeListener::setTarget(gcn::TextField *textField) { @@ -65,53 +67,65 @@ RegisterDialog::RegisterDialog(LoginData *loginData): gcn::Label *passwordLabel = new gcn::Label("Password:"); gcn::Label *confirmLabel = new gcn::Label("Confirm:"); gcn::Label *serverLabel = new gcn::Label("Server:"); + gcn::Label *portLabel = new gcn::Label("Port:"); + mUserField = new TextField(loginData->username); mPasswordField = new PasswordField(loginData->password); mConfirmField = new PasswordField(); mServerField = new TextField(loginData->hostname); + mPortField = new TextField(toString(loginData->port)); mMaleButton = new RadioButton("Male", "sex", true); mFemaleButton = new RadioButton("Female", "sex", false); mRegisterButton = new Button("Register", "register", this); mCancelButton = new Button("Cancel", "cancel", this); - const int width = 220; - const int height = 150; - setContentSize(width, height); - - mUserField->setPosition(65, 5); - mUserField->setWidth(width - 70); - mPasswordField->setPosition( - 65, mUserField->getY() + mUserField->getHeight() + 7); - mPasswordField->setWidth(mUserField->getWidth()); - mConfirmField->setPosition( - 65, mPasswordField->getY() + mPasswordField->getHeight() + 7); - mConfirmField->setWidth(mUserField->getWidth()); - mServerField->setPosition( - 65, 23 + mConfirmField->getY() + mConfirmField->getHeight() + 7); - mServerField->setWidth(mUserField->getWidth()); - - userLabel->setPosition(5, mUserField->getY() + 1); - passwordLabel->setPosition(5, mPasswordField->getY() + 1); - confirmLabel->setPosition(5, mConfirmField->getY() + 1); - serverLabel->setPosition(5, mServerField->getY() + 1); - - mMaleButton->setPosition( - 70, mConfirmField->getY() + mConfirmField->getHeight() + 7); - mFemaleButton->setPosition( - 70 + 10 + mMaleButton->getWidth(), - mMaleButton->getY()); + const int WIDTH = 220; + const int HEIGHT = 170; + const int FIELD_WIDTH = WIDTH - 70; + + setContentSize(WIDTH, HEIGHT); + + const int USER_TOP = 5; + userLabel->setPosition(5, USER_TOP); + mUserField->setPosition(65, USER_TOP); + mUserField->setWidth(FIELD_WIDTH); + + const int PASS_TOP = 9 + USER_TOP + userLabel->getHeight(); + passwordLabel->setPosition(5, PASS_TOP); + mPasswordField->setPosition(65, PASS_TOP); + mPasswordField->setWidth(FIELD_WIDTH); + + const int CONFIRM_TOP = 9 + PASS_TOP + passwordLabel->getHeight(); + confirmLabel->setPosition(5, CONFIRM_TOP); + mConfirmField->setPosition(65, CONFIRM_TOP); + mConfirmField->setWidth(FIELD_WIDTH); + + const int SEX_TOP = 9 + CONFIRM_TOP + confirmLabel->getHeight(); + mMaleButton->setPosition(70, SEX_TOP); + mFemaleButton->setPosition(80 + mMaleButton->getWidth(), SEX_TOP); + + const int SERVER_TOP = 9 + SEX_TOP + mMaleButton->getHeight() + 5; + serverLabel->setPosition(5, SERVER_TOP); + mServerField->setPosition(65, SERVER_TOP); + mServerField->setWidth(FIELD_WIDTH); + + const int PORT_TOP = 9 + SERVER_TOP + serverLabel->getHeight(); + portLabel->setPosition(5, PORT_TOP); + mPortField->setPosition(65, PORT_TOP); + mPortField->setWidth(FIELD_WIDTH); mCancelButton->setPosition( - width - mCancelButton->getWidth() - 5, - height - mCancelButton->getHeight() - 5); + WIDTH - mCancelButton->getWidth() - 5, + HEIGHT - mCancelButton->getHeight() - 5); mRegisterButton->setPosition( mCancelButton->getX() - mRegisterButton->getWidth() - 5, - height - mRegisterButton->getHeight() - 5); + HEIGHT - mRegisterButton->getHeight() - 5); mUserField->addKeyListener(this); mPasswordField->addKeyListener(this); mConfirmField->addKeyListener(this); mServerField->addKeyListener(this); + mPortField->addKeyListener(this); /* TODO: * This is a quick and dirty way to respond to the ENTER key, regardless of @@ -122,19 +136,26 @@ RegisterDialog::RegisterDialog(LoginData *loginData): mPasswordField->setActionEventId("register"); mConfirmField->setActionEventId("register"); mServerField->setActionEventId("register"); + mPortField->setActionEventId("register"); + mUserField->addActionListener(this); mPasswordField->addActionListener(this); mConfirmField->addActionListener(this); mServerField->addActionListener(this); + mPortField->addActionListener(this); add(userLabel); add(passwordLabel); - add(serverLabel); add(confirmLabel); + add(serverLabel); + add(portLabel); + add(mUserField); add(mPasswordField); add(mConfirmField); add(mServerField); + add(mPortField); + add(mMaleButton); add(mFemaleButton); add(mRegisterButton); @@ -232,7 +253,7 @@ RegisterDialog::action(const gcn::ActionEvent &event) mRegisterButton->setEnabled(false); mLoginData->hostname = mServerField->getText(); - mLoginData->port = (short) config.getValue("port", 0); + mLoginData->port = getUShort(mPortField->getText()); mLoginData->username = mUserField->getText(); mLoginData->password = mPasswordField->getText(); mLoginData->username += mFemaleButton->isSelected() ? "_F" : "_M"; @@ -256,5 +277,42 @@ RegisterDialog::canSubmit() !mPasswordField->getText().empty() && !mConfirmField->getText().empty() && !mServerField->getText().empty() && + isUShort(mPortField->getText()) && state == REGISTER_STATE; } + +bool +RegisterDialog::isUShort(const std::string &str) +{ + if (str == "") + { + return false; + } + unsigned long l = 0; + for (std::string::const_iterator strPtr = str.begin(), strEnd = str.end(); + strPtr != strEnd; ++strPtr) + { + if (*strPtr < '0' || *strPtr > '9') + { + return false; + } + l = l * 10 + (*strPtr - '0'); // *strPtr - '0' will never be negative + if (l > 65535) + { + return false; + } + } + return true; +} + +unsigned short +RegisterDialog::getUShort(const std::string &str) +{ + unsigned long l = 0; + for (std::string::const_iterator strPtr = str.begin(), strEnd = str.end(); + strPtr != strEnd; ++strPtr) + { + l = l * 10 + (*strPtr - '0'); + } + return static_cast(l); +} diff --git a/src/gui/register.h b/src/gui/register.h index a80594af..6f997b75 100644 --- a/src/gui/register.h +++ b/src/gui/register.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: register.h 3234 2007-03-24 13:05:27Z b_lindeijer $ */ #ifndef _TMW_REGISTER_H @@ -87,10 +87,31 @@ class RegisterDialog : public Window, public gcn::ActionListener, bool canSubmit(); + /** + * Function to decide whether string is an unsigned short or not + * + * @param str the string to parse + * + * @return true if str is an unsigned short, false otherwise + */ + static bool + isUShort(const std::string &str); + + /** + * Converts string to an unsigned short (undefined if invalid) + * + * @param str the string to parse + * + * @return the value str represents + */ + static unsigned short + getUShort(const std::string &str); + gcn::TextField *mUserField; gcn::TextField *mPasswordField; gcn::TextField *mConfirmField; gcn::TextField *mServerField; + gcn::TextField *mPortField; gcn::Button *mRegisterButton; gcn::Button *mCancelButton; diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp index 255aa2d8..a3aef702 100644 --- a/src/gui/scrollarea.cpp +++ b/src/gui/scrollarea.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: scrollarea.cpp 4204 2008-04-28 18:29:04Z b_lindeijer $ */ #include diff --git a/src/gui/scrollarea.h b/src/gui/scrollarea.h index be361f68..b3fa17f3 100644 --- a/src/gui/scrollarea.h +++ b/src/gui/scrollarea.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: scrollarea.h 4204 2008-04-28 18:29:04Z b_lindeijer $ */ #ifndef __TMW_SCROLLAREA_H__ diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index 82d340fb..5f64fcea 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: sell.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "sell.h" diff --git a/src/gui/sell.h b/src/gui/sell.h index 0c1a2007..11528f89 100644 --- a/src/gui/sell.h +++ b/src/gui/sell.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: sell.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_SELL_H diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index c895d166..ce843452 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup.cpp 4306 2008-05-28 20:22:37Z crush_tmw $ */ #include diff --git a/src/gui/setup.h b/src/gui/setup.h index 543cab2c..d4f0857b 100644 --- a/src/gui/setup.h +++ b/src/gui/setup.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup.h 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #ifndef _TMW_SETUP_H diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp index 4227b5ca..09357cce 100644 --- a/src/gui/setup_audio.cpp +++ b/src/gui/setup_audio.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_audio.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "setup_audio.h" diff --git a/src/gui/setup_audio.h b/src/gui/setup_audio.h index 6e722f74..76420101 100644 --- a/src/gui/setup_audio.h +++ b/src/gui/setup_audio.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_audio.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_GUI_SETUP_AUDIO_H diff --git a/src/gui/setup_joystick.cpp b/src/gui/setup_joystick.cpp index a501298e..41e91595 100644 --- a/src/gui/setup_joystick.cpp +++ b/src/gui/setup_joystick.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_joystick.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "setup_joystick.h" diff --git a/src/gui/setup_joystick.h b/src/gui/setup_joystick.h index 6d3ad129..399156d8 100644 --- a/src/gui/setup_joystick.h +++ b/src/gui/setup_joystick.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_joystick.h 3035 2007-01-14 14:54:39Z b_lindeijer $ */ #ifndef _TMW_GUI_SETUP_JOYSTICK_H diff --git a/src/gui/setup_keyboard.cpp b/src/gui/setup_keyboard.cpp index e88080b5..704fc691 100644 --- a/src/gui/setup_keyboard.cpp +++ b/src/gui/setup_keyboard.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_keyboard.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include "setup_keyboard.h" diff --git a/src/gui/setup_keyboard.h b/src/gui/setup_keyboard.h index b72e8746..7f945181 100644 --- a/src/gui/setup_keyboard.h +++ b/src/gui/setup_keyboard.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_keyboard.h 4255 2008-05-21 21:44:27Z crush_tmw $ */ #ifndef _TMW_GUI_SETUP_KEYBOARD_H diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp index 24b559da..809364ea 100644 --- a/src/gui/setup_players.cpp +++ b/src/gui/setup_players.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_players.cpp 4353 2008-06-16 07:04:46Z b_lindeijer $ */ #include "setup_players.h" diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 97e4cdd6..bc38f1f9 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_video.cpp 4338 2008-06-05 18:41:39Z crush_tmw $ */ #include "setup_video.h" diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h index a0701a3c..0d7ea700 100644 --- a/src/gui/setup_video.h +++ b/src/gui/setup_video.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setup_video.h 4306 2008-05-28 20:22:37Z crush_tmw $ */ #ifndef _TMW_GUI_SETUP_VIDEO_H diff --git a/src/gui/setuptab.h b/src/gui/setuptab.h index a7d45b9a..bbfe4fac 100644 --- a/src/gui/setuptab.h +++ b/src/gui/setuptab.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: setuptab.h 2273 2006-03-19 00:48:10Z der_doener $ */ #ifndef _TMW_GUI_SETUPTAB_H diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp index 62d18769..015e70d5 100644 --- a/src/gui/shop.cpp +++ b/src/gui/shop.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: shop.cpp 4348 2008-06-14 12:42:49Z the_enemy $ */ #include "shop.h" diff --git a/src/gui/shop.h b/src/gui/shop.h index 22e715c9..78276610 100644 --- a/src/gui/shop.h +++ b/src/gui/shop.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: shop.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _SHOP_H diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index 3ab40c9a..e70fb3ef 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: skill.cpp 3754 2007-11-20 15:19:50Z b_lindeijer $ */ #include diff --git a/src/gui/skill.h b/src/gui/skill.h index 6879640c..6bd6c51b 100644 --- a/src/gui/skill.h +++ b/src/gui/skill.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: skill.h 3494 2007-08-20 05:29:12Z joshlangley $ */ #ifndef _TMW_SKILL_H diff --git a/src/gui/slider.cpp b/src/gui/slider.cpp index c94c7bfb..a1ae6acc 100644 --- a/src/gui/slider.cpp +++ b/src/gui/slider.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: slider.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include "slider.h" diff --git a/src/gui/slider.h b/src/gui/slider.h index dc38b738..524d8799 100644 --- a/src/gui/slider.h +++ b/src/gui/slider.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: slider.h 1584 2005-08-13 12:49:52Z der_doener $ */ #ifndef _TMW_SLIDER_H diff --git a/src/gui/status.cpp b/src/gui/status.cpp index 927b3554..cba815b5 100644 --- a/src/gui/status.cpp +++ b/src/gui/status.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: status.cpp 3510 2007-08-23 14:14:51Z b_lindeijer $ */ #include "status.h" diff --git a/src/gui/status.h b/src/gui/status.h index 10773e10..4d082148 100644 --- a/src/gui/status.h +++ b/src/gui/status.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: status.h 3538 2007-08-28 00:01:38Z b_lindeijer $ */ #ifndef _TMW_STATUS_H diff --git a/src/gui/tabbedcontainer.cpp b/src/gui/tabbedcontainer.cpp index d6267e65..71e0f3c4 100644 --- a/src/gui/tabbedcontainer.cpp +++ b/src/gui/tabbedcontainer.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: tabbedcontainer.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include diff --git a/src/gui/tabbedcontainer.h b/src/gui/tabbedcontainer.h index 7f8deef9..14f27aba 100644 --- a/src/gui/tabbedcontainer.h +++ b/src/gui/tabbedcontainer.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: tabbedcontainer.h 3152 2007-02-27 16:31:34Z crush_tmw $ */ #ifndef _TMW_TABPANE_H diff --git a/src/gui/textbox.cpp b/src/gui/textbox.cpp index 8d16dc46..743d88b6 100644 --- a/src/gui/textbox.cpp +++ b/src/gui/textbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: textbox.cpp 4096 2008-04-16 08:39:59Z b_lindeijer $ */ #include "textbox.h" diff --git a/src/gui/textbox.h b/src/gui/textbox.h index f06f98ec..7df30fd9 100644 --- a/src/gui/textbox.h +++ b/src/gui/textbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: textbox.h 4096 2008-04-16 08:39:59Z b_lindeijer $ */ #ifndef __TMW_TEXTBOX_H__ diff --git a/src/gui/textfield.cpp b/src/gui/textfield.cpp index 8db720cf..95291267 100644 --- a/src/gui/textfield.cpp +++ b/src/gui/textfield.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: textfield.cpp 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #include diff --git a/src/gui/textfield.h b/src/gui/textfield.h index bc47d501..39bcbf85 100644 --- a/src/gui/textfield.h +++ b/src/gui/textfield.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: textfield.h 4045 2008-04-07 15:23:07Z b_lindeijer $ */ #ifndef __TMW_TEXTFIELD_H__ diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 42b6e9bc..d8f23171 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: updatewindow.cpp 4332 2008-06-05 07:33:12Z b_lindeijer $ */ #include "updatewindow.h" diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h index 61ea4a27..b669f829 100644 --- a/src/gui/updatewindow.h +++ b/src/gui/updatewindow.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: updatewindow.h 4332 2008-06-05 07:33:12Z b_lindeijer $ */ #ifndef _UPDATERWINDOW_H diff --git a/src/gui/vbox.cpp b/src/gui/vbox.cpp index b503508e..6f36dc9c 100644 --- a/src/gui/vbox.cpp +++ b/src/gui/vbox.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: vbox.cpp 3587 2007-09-20 13:24:20Z b_lindeijer $ */ #include "vbox.h" diff --git a/src/gui/vbox.h b/src/gui/vbox.h index 06a270ef..ff52717b 100644 --- a/src/gui/vbox.h +++ b/src/gui/vbox.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: vbox.h 1881 2005-10-18 21:40:25Z der_doener $ */ #ifndef VBOX_H diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 01324a47..e7fdb522 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: viewport.cpp 4098 2008-04-16 11:36:41Z b_lindeijer $ */ #include "viewport.h" @@ -37,6 +37,7 @@ #include "../map.h" #include "../monster.h" #include "../npc.h" +#include "../textmanager.h" #include "../resources/animation.h" #include "../resources/monsterinfo.h" @@ -228,7 +229,6 @@ Viewport::draw(gcn::Graphics *gcnGraphics) mMap->draw(graphics, (int) mPixelViewX, (int) mPixelViewY, 2); mMap->drawOverlay(graphics, mPixelViewX, mPixelViewY, (int) config.getValue("OverlayDetail", 2)); - drawTargetName(graphics); } // Find a path from the player to the mouse, and draw it. This is for debug @@ -259,12 +259,16 @@ Viewport::draw(gcn::Graphics *gcnGraphics) } } + // Draw text + if (textManager) + { + textManager->draw(graphics, mPixelViewX, mPixelViewY); + } + // Draw player nickname, speech, and emotion sprite as needed Beings &beings = beingManager->getAll(); for (BeingIterator i = beings.begin(); i != beings.end(); i++) { - (*i)->drawSpeech(graphics, -(int) mPixelViewX, -(int) mPixelViewY); - (*i)->drawName(graphics, -(int) mPixelViewX, -(int) mPixelViewY); (*i)->drawEmotion(graphics, -(int) mPixelViewX, -(int) mPixelViewY); } @@ -331,24 +335,6 @@ Viewport::drawTargetCursor(Graphics *graphics) } } -void -Viewport::drawTargetName(Graphics *graphics) -{ - // Draw target marker if needed - Being *target = player_node->getTarget(); - if (target && target->getType() == Being::MONSTER) - { - graphics->setFont(speechFont); - graphics->setColor(gcn::Color(255, 32, 32)); - - const MonsterInfo &mi = static_cast(target)->getInfo(); - int posX = target->getPixelX() + 16 - (int)mPixelViewX; - int posY = target->getPixelY() + 16 - target->getHeight() - (int)mPixelViewY; - - graphics->drawText(mi.getName(), posX, posY, gcn::Graphics::CENTER); - } -} - void Viewport::mousePressed(gcn::MouseEvent &event) { diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 8d3fbd3c..44a877a6 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: viewport.h 4247 2008-05-19 10:48:18Z b_lindeijer $ */ #ifndef _TMW_VIEWPORT_H_ diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp new file mode 100644 index 00000000..b33a55cf --- /dev/null +++ b/src/gui/widgets/dropdown.cpp @@ -0,0 +1,169 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id$ + */ + +#include + +#include "dropdown.h" + +#include "../../graphics.h" + +#include "../../resources/image.h" +#include "../../resources/resourcemanager.h" + +#include "../../utils/dtor.h" + +int DropDown::instances = 0; +Image *DropDown::buttons[2][2]; +ImageRect DropDown::skin; + +DropDown::DropDown(gcn::ListModel *listModel, + gcn::ScrollArea *scrollArea, + gcn::ListBox *listBox): + gcn::DropDown::DropDown(listModel, + scrollArea, listBox) +{ + setFrameSize(2); + + // Initialize graphics + if (instances == 0) + { + // Load the background skin + ResourceManager *resman = ResourceManager::getInstance(); + + // Get the button skin + buttons[1][0] = + resman->getImage("graphics/gui/vscroll_up_default.png"); + buttons[0][0] = + resman->getImage("graphics/gui/vscroll_down_default.png"); + buttons[1][1] = + resman->getImage("graphics/gui/vscroll_up_pressed.png"); + buttons[0][1] = + resman->getImage("graphics/gui/vscroll_down_pressed.png"); + + // get the border skin + Image *boxBorder = resman->getImage("graphics/gui/deepbox.png"); + int gridx[4] = {0, 3, 28, 31}; + int gridy[4] = {0, 3, 28, 31}; + int a = 0, x, y; + + for (y = 0; y < 3; y++) { + for (x = 0; x < 3; x++) { + skin.grid[a] = boxBorder->getSubImage( + gridx[x], gridy[y], + gridx[x + 1] - gridx[x] + 1, + gridy[y + 1] - gridy[y] + 1); + a++; + } + } + + boxBorder->decRef(); + } + + instances++; +} + +DropDown::~DropDown() +{ + instances--; + // Free images memory + if (instances == 0) + { + buttons[0][0]->decRef(); + buttons[0][1]->decRef(); + buttons[1][0]->decRef(); + buttons[1][1]->decRef(); + + for_each(skin.grid, skin.grid + 9, dtor()); + } +} + +void DropDown::draw(gcn::Graphics* graphics) +{ + int h; + + if (mDroppedDown) + { + h = mFoldedUpHeight; + } + else + { + h = getHeight(); + } + + int alpha = getBaseColor().a; + gcn::Color faceColor = getBaseColor(); + faceColor.a = alpha; + gcn::Color highlightColor = faceColor + 0x303030; + highlightColor.a = alpha; + gcn::Color shadowColor = faceColor - 0x303030; + shadowColor.a = alpha; + + + graphics->setColor(getBackgroundColor()); + graphics->fillRectangle(gcn::Rectangle(0, 0, getWidth(), h)); + + graphics->setColor(getForegroundColor()); + graphics->setFont(getFont()); + + if (mListBox->getListModel() && mListBox->getSelected() >= 0) + { + graphics->drawText(mListBox->getListModel()->getElementAt(mListBox->getSelected()), 1, 0); + } + + if (isFocused()) + { + graphics->setColor(highlightColor); + graphics->drawRectangle(gcn::Rectangle(0, 0, getWidth() - h, h)); + } + + drawButton(graphics); + + if (mDroppedDown) + { + drawChildren(graphics); + + // Draw two lines separating the ListBox with se selected + // element view. + graphics->setColor(highlightColor); + graphics->drawLine(0, h, getWidth(), h); + graphics->setColor(shadowColor); + graphics->drawLine(0, h + 1, getWidth(), h + 1); + } +} + +void DropDown::drawFrame(gcn::Graphics *graphics) +{ + const int bs = getFrameSize(); + const int w = getWidth() + bs * 2; + const int h = getHeight() + bs * 2; + + static_cast(graphics)->drawImageRect(0, 0, w, h, skin); +} + +void DropDown::drawButton(gcn::Graphics *graphics) +{ + int height = mDroppedDown ? mFoldedUpHeight : getHeight(); + + static_cast(graphics)-> + drawImage(buttons[mDroppedDown][mPushed], getWidth() - height, 1); +} diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h new file mode 100644 index 00000000..d0dab7d2 --- /dev/null +++ b/src/gui/widgets/dropdown.h @@ -0,0 +1,85 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id$ + */ + +#ifndef DROPDOWN_H +#define DROPDOWN_H + +#include + +#include +#include "../scrollarea.h" +#include "../listbox.h" + +class Image; +class ImageRect; + + /** + * A drop down box from which you can select different values. It is one of + * the most complicated Widgets you will find in Guichan. For drawing the + * DroppedDown box it uses one ScrollArea and one ListBox. It also uses an + * internal FocusHandler to handle the focus of the internal ScollArea and + * ListBox. DropDown uses a ListModel to handle the list. To be able to use + * DropDown you must give DropDown an implemented ListModel which represents + * your list. + */ +class DropDown : public gcn::DropDown +{ + public: + /** + * Contructor. + * + * @param listModel the ListModel to use. + * @param scrollArea the ScrollArea to use. + * @param listBox the listBox to use. + * @see ListModel, ScrollArea, ListBox. + */ + DropDown(gcn::ListModel *listModel = NULL, + gcn::ScrollArea *scrollArea = NULL, + gcn::ListBox *listBox = NULL); + + /** + * Destructor. + */ + ~DropDown(); + + void draw(gcn::Graphics* graphics); + + void drawFrame(gcn::Graphics* graphics); + + + protected: + /** + * Draws the button with the little down arrow. + * + * @param graphics a Graphics object to draw with. + */ + void drawButton(gcn::Graphics *graphics); + + // Add own Images. + static int instances; + static Image *buttons[2][2]; + static ImageRect skin; +}; + +#endif // end DROPDOWN_H + diff --git a/src/gui/widgets/resizegrip.cpp b/src/gui/widgets/resizegrip.cpp index 6be50f2c..e13493bb 100644 --- a/src/gui/widgets/resizegrip.cpp +++ b/src/gui/widgets/resizegrip.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: resizegrip.cpp 3587 2007-09-20 13:24:20Z b_lindeijer $ */ #include "resizegrip.h" diff --git a/src/gui/widgets/resizegrip.h b/src/gui/widgets/resizegrip.h index 04be3db3..dab720dd 100644 --- a/src/gui/widgets/resizegrip.h +++ b/src/gui/widgets/resizegrip.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: resizegrip.h 3270 2007-04-15 01:22:17Z b_lindeijer $ */ #ifndef _TMW_RESIZEGRIP_H diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 4ce167cd..4f94b3fb 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: window.cpp 4207 2008-04-29 09:10:43Z b_lindeijer $ */ #include diff --git a/src/gui/window.h b/src/gui/window.h index f88e5c01..8f288991 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: window.h 4207 2008-04-29 09:10:43Z b_lindeijer $ */ #ifndef _TMW_WINDOW_H__ diff --git a/src/gui/windowcontainer.cpp b/src/gui/windowcontainer.cpp index d10c519c..0a0a0a55 100644 --- a/src/gui/windowcontainer.cpp +++ b/src/gui/windowcontainer.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: windowcontainer.cpp 3754 2007-11-20 15:19:50Z b_lindeijer $ */ #include diff --git a/src/gui/windowcontainer.h b/src/gui/windowcontainer.h index df255f84..294c855b 100644 --- a/src/gui/windowcontainer.h +++ b/src/gui/windowcontainer.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: windowcontainer.h 2884 2006-12-04 11:20:54Z b_lindeijer $ */ #ifndef _TMW_WINDOWCONTAINER_H_ diff --git a/src/guichanfwd.h b/src/guichanfwd.h index 812f3f7a..0a2560bf 100644 --- a/src/guichanfwd.h +++ b/src/guichanfwd.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: guichanfwd.h 2907 2006-12-12 15:33:46Z b_lindeijer $ */ #ifndef _TMW_GUICHANFWD_H diff --git a/src/imageparticle.cpp b/src/imageparticle.cpp index 965434b0..d4ff8f02 100644 --- a/src/imageparticle.cpp +++ b/src/imageparticle.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: imageparticle.cpp 4360 2008-06-23 14:44:20Z crush_tmw $ */ #include "imageparticle.h" diff --git a/src/imageparticle.h b/src/imageparticle.h index 0ad515cc..ef663473 100644 --- a/src/imageparticle.h +++ b/src/imageparticle.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: imageparticle.h 3567 2007-09-07 09:13:17Z b_lindeijer $ */ #ifndef _IMAGEPARTICLE_H diff --git a/src/inventory.cpp b/src/inventory.cpp index 470b6c85..e6f006de 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inventory.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "inventory.h" diff --git a/src/inventory.h b/src/inventory.h index 0d2bbc5a..2e0dd792 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inventory.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _INVENTORY_H diff --git a/src/item.cpp b/src/item.cpp index e84a06df..2e33a9de 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: item.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "item.h" diff --git a/src/item.h b/src/item.h index 9e1c5ec8..449b388c 100644 --- a/src/item.h +++ b/src/item.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: item.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _ITEM_H_ diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index a32e50e0..5379f0eb 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemshortcut.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "itemshortcut.h" diff --git a/src/itemshortcut.h b/src/itemshortcut.h index d75db2e8..bbf21332 100644 --- a/src/itemshortcut.h +++ b/src/itemshortcut.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemshortcut.h 4180 2008-04-24 20:49:30Z peaveydk $ */ #ifndef _TMW_ITEMSHORTCUT_H__ diff --git a/src/joystick.cpp b/src/joystick.cpp index a5dab4f4..ebae5c3a 100644 --- a/src/joystick.cpp +++ b/src/joystick.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: joystick.cpp 2595 2006-08-26 20:19:39Z b_lindeijer $ */ #include "joystick.h" diff --git a/src/joystick.h b/src/joystick.h index 321e3e7d..5c6f7c86 100644 --- a/src/joystick.h +++ b/src/joystick.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: joystick.h 3587 2007-09-20 13:24:20Z b_lindeijer $ */ #ifndef _TMW_JOYSTICK_H diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp index a959e244..5534b96e 100644 --- a/src/keyboardconfig.cpp +++ b/src/keyboardconfig.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: keyboardconfig.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include "keyboardconfig.h" diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h index 53a5c96d..b98fcb7a 100644 --- a/src/keyboardconfig.h +++ b/src/keyboardconfig.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: keyboardconfig.h 4255 2008-05-21 21:44:27Z crush_tmw $ */ #ifndef _TMW_KEYBOARDCONFIG_H diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 3929da8b..5f392a52 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: localplayer.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "localplayer.h" @@ -31,6 +31,7 @@ #include "main.h" #include "particle.h" #include "sound.h" +#include "monster.h" #include "gui/gui.h" @@ -226,6 +227,23 @@ void LocalPlayer::walk(unsigned char dir) } } +void LocalPlayer::setTarget(Being *target) +{ + if (target == mTarget) + { + return; + } + if (mTarget && mTarget->getType() == Being::MONSTER) + { + static_cast(mTarget)->showName(false); + } + mTarget = target; + if (target && target->getType() == Being::MONSTER) + { + static_cast(target)->showName(true); + } +} + void LocalPlayer::setDestination(Uint16 x, Uint16 y) { // Only send a new message to the server when destination changes @@ -363,9 +381,13 @@ void LocalPlayer::attack(Being *target, bool keep) return; if (keep && target) - mTarget = target; + { + setTarget(target); + } else if (mTarget) + { target = mTarget; + } if (!target) return; @@ -411,7 +433,7 @@ void LocalPlayer::attack(Being *target, bool keep) void LocalPlayer::stopAttack() { - mTarget = NULL; + setTarget(NULL); } Being* LocalPlayer::getTarget() const @@ -454,7 +476,7 @@ bool LocalPlayer::withinAttackRange(Being *target) void LocalPlayer::setGotoTarget(Being *target) { - mTarget = target; + setTarget(target); mGoingToTarget = true; setDestination(target->mX, target->mY); } diff --git a/src/localplayer.h b/src/localplayer.h index 5ce94081..64e6c5ad 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: localplayer.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_LOCALPLAYER_H @@ -54,8 +54,9 @@ class LocalPlayer : public Player */ ~LocalPlayer(); + void setName(const std::string &name) {Being::setName(name); } void setNetwork(Network *network) { mNetwork = network; } - + Network *getNetwork() {return mNetwork; } virtual void logic(); /** @@ -64,12 +65,6 @@ class LocalPlayer : public Player */ virtual void nextStep(); - /** - * Draws the name text below the being. - */ - virtual void - drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) {}; - /** * Returns the player's inventory. */ @@ -140,7 +135,7 @@ class LocalPlayer : public Player /** * Sets the target being of the player. */ - void setTarget(Being* target) { mTarget = target; } + void setTarget(Being* target); /** * Sets a new destination for this being to walk to. diff --git a/src/lockedarray.h b/src/lockedarray.h index 7ec2f9da..bbb72520 100644 --- a/src/lockedarray.h +++ b/src/lockedarray.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: lockedarray.h 2277 2006-03-19 21:40:21Z der_doener $ */ #ifndef _TMW_LOCKEDARRAY_H diff --git a/src/logindata.h b/src/logindata.h index 8513428f..d2fe3043 100644 --- a/src/logindata.h +++ b/src/logindata.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: logindata.h 3606 2007-09-27 14:54:09Z b_lindeijer $ */ #ifndef _TMW_LOGINDATA_H @@ -31,6 +31,7 @@ struct LoginData std::string username; std::string password; std::string hostname; + std::string updateHost; short port; int account_ID; diff --git a/src/main.cpp b/src/main.cpp index 7a854123..2b8a3882 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: main.cpp 4332 2008-06-05 07:33:12Z b_lindeijer $ */ #include "main.h" @@ -57,6 +57,7 @@ #ifdef USE_OPENGL #include "openglgraphics.h" #endif +#include "serverinfo.h" #include "sound.h" #include "gui/char_server.h" @@ -150,23 +151,65 @@ struct Options std::string updateHost; }; +/** + * Parse the update host and determine the updates directory + * Then verify that the directory exists (creating if needed). + */ +void setUpdatesDir() +{ + // If updatesHost is currently empty, fill it from config file + if (updateHost.empty()) { + updateHost = + config.getValue("updatehost", "http://updates.thanaworld.org"); + } + + // Parse out any "http://" or "ftp://", and set the updates directory + size_t pos; + pos = updateHost.find("://"); + if (pos != updateHost.npos) { + if (pos + 3 < updateHost.length()) { + updatesDir = + "updates/" + updateHost.substr(pos + 3); + } else { + logger->log("Error: Invalid update host: %s", updateHost.c_str()); + errorMessage = "Invalid update host: " + updateHost; + state = ERROR_STATE; + } + } else { + logger->log("Warning: no protocol was specified for the update host"); + updatesDir = "updates/" + updateHost; + } + + ResourceManager *resman = ResourceManager::getInstance(); + + // Verify that the updates directory exists. Create if necessary. + if (!resman->isDirectory("/" + updatesDir)) { + if (resman->mkdir("/" + updatesDir)) { + logger->log("Error: %s/%s can't be made, but doesn't exist!", + homeDir.c_str(), updatesDir.c_str()); + errorMessage = "Error creating updates directory!"; + state = ERROR_STATE; + } + } +} + /** * Do all initialization stuff */ void init_engine(const Options &options) { - homeDir = std::string(PHYSFS_getUserDir()) + "/.tmw"; + homeDir = std::string(PHYSFS_getUserDir()) + "/.tme"; #if defined WIN32 if (!CreateDirectory(homeDir.c_str(), 0) && GetLastError() != ERROR_ALREADY_EXISTS) #elif defined __APPLE__ - // Use Application Directory instead of .tmw - homeDir = std::string(PHYSFS_getUserDir()) + + // Use Application Directory instead of .tme + homeDir = std::string(PHYSFS_getUserDir()) + "/Library/Application Support/The Mana World"; if ((mkdir(homeDir.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) != 0) && (errno != EEXIST)) #else - // Checking if /home/user/.tmw folder exists. + // Checking if /home/user/.tme folder exists. if ((mkdir(homeDir.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) != 0) && (errno != EEXIST)) #endif @@ -230,7 +273,7 @@ void init_engine(const Options &options) // Fill configuration with defaults logger->log("Initializing configuration..."); - config.setValue("host", "server.themanaworld.org"); + config.setValue("host", "216.139.126.36"); config.setValue("port", 6901); config.setValue("hwaccel", 0); #if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL @@ -245,7 +288,7 @@ void init_engine(const Options &options) config.setValue("sfxVolume", 100); config.setValue("musicVolume", 60); config.setValue("fpslimit", 60); - config.setValue("updatehost", "http://updates.themanaworld.org"); + config.setValue("updatehost", "http://216.139.126.36/updates"); config.setValue("customcursor", 1); config.setValue("ChatLogLength", 128); @@ -272,45 +315,7 @@ void init_engine(const Options &options) config.init(configPath); } - - // Take host for updates from config if it wasn't set on the command line - if (options.updateHost.empty()) { - updateHost = - config.getValue("updatehost", "http://updates.thanaworld.org"); - } else { - updateHost = options.updateHost; - } - - // Parse out any "http://" or "ftp://", and set the updates directory - size_t pos; - pos = updateHost.find("//"); - if (pos != updateHost.npos) { - if (pos + 2 < updateHost.length()) { - updatesDir = - "updates/" + updateHost.substr(pos + 2); - } else { - std::cout << "The updates host - " << updateHost - << " does not appear to be valid!" << std::endl - << "Please fix the \"updatehost\" in your configuration" - << " file. Exiting." << std::endl; - exit(1); - } - } else { - logger->log("Warning: no protocol was specified for the update host"); - updatesDir = "updates/" + updateHost; - } - - // Verify that the updates directory exists. Create if necessary. - if (!resman->isDirectory("/" + updatesDir)) { - if (!resman->mkdir("/" + updatesDir)) { - std::cout << homeDir << "/" << updatesDir - << " can't be made, but it doesn't exist! Exiting." - << std::endl; - exit(1); - } - } - - SDL_WM_SetCaption("The Mana World", NULL); + SDL_WM_SetCaption("The Mana Experiment", NULL); #ifdef WIN32 static SDL_SysWMinfo pInfo; SDL_GetWMInfo(&pInfo); @@ -363,7 +368,7 @@ void init_engine(const Options &options) itemShortcut = new ItemShortcut(); gui = new Gui(graphics); - state = UPDATE_STATE; /**< Initial game state */ + state = LOGIN_STATE; /**< Initial game state */ // Initialize sound engine try { @@ -424,7 +429,8 @@ void printHelp() << " -u --skipupdate : Skip the update process" << std::endl << " -U --username : Login with this username" << std::endl << " -P --password : Login with this password" << std::endl - << " -D --default : Bypass the login process with default settings" << std::endl + << " -D --default : Bypass the login process with default " + "settings" << std::endl << " -p --playername : Login with this player" << std::endl << " -C --configfile : Configuration file to use" << std::endl << " -H --updatehost : Use this update host" << std::endl; @@ -541,7 +547,13 @@ void accountLogin(Network *network, LoginData *loginData) outMsg.writeInt32(0); // client version outMsg.writeString(loginData->username, 24); outMsg.writeString(loginData->password, 24); - outMsg.writeInt8(0); // unknown + + /* + * eAthena calls the last byte "client version 2", but it isn't + * used at all. We're retasking it, with bit 0 to indicate whether + * the client can handle the 0x63 "update host" packet + */ + outMsg.writeInt8(0x01); // Clear the password, avoids auto login when returning to login loginData->password = ""; @@ -648,13 +660,6 @@ int main(int argc, char *argv[]) SDL_Event event; - if (options.skipUpdate && state != ERROR_STATE) { - state = LOADDATA_STATE; - } - else { - state = UPDATE_STATE; - } - unsigned int oldstate = !state; // We start with a status change. Game *game = NULL; @@ -684,7 +689,7 @@ int main(int argc, char *argv[]) if (!options.password.empty()) { loginData.password = options.password; } - loginData.hostname = config.getValue("host", "server.themanaworld.org"); + loginData.hostname = config.getValue("host", "216.139.126.36"); loginData.port = (short)config.getValue("port", 0); loginData.remember = config.getValue("remember", 0); loginData.registerLogin = false; @@ -751,11 +756,15 @@ int main(int argc, char *argv[]) switch (oldstate) { case UPDATE_STATE: - loadUpdates(); - // Reload the wallpaper in case that it was updated - login_wallpaper->decRef(); - login_wallpaper = ResourceManager::getInstance()-> - getImage("graphics/images/login_wallpaper.png"); + if (options.skipUpdate) { + state = LOADDATA_STATE; + } else { + loadUpdates(); + // Reload the wallpaper in case that it was updated + login_wallpaper->decRef(); + login_wallpaper = ResourceManager::getInstance()-> + getImage("graphics/images/login_wallpaper.png"); + } break; // Those states don't cause a network disconnect @@ -797,7 +806,7 @@ int main(int argc, char *argv[]) ItemDB::load(); MonsterDB::load(); NPCDB::load(); - state = LOGIN_STATE; + state = CHAR_CONNECT_STATE; break; case LOGIN_STATE: @@ -818,13 +827,20 @@ int main(int argc, char *argv[]) case CHAR_SERVER_STATE: logger->log("State: CHAR_SERVER"); - currentDialog = new ServerSelectDialog(&loginData); - if (options.chooseDefault || options.playername != "") { - ((ServerSelectDialog*) currentDialog)->action( - gcn::ActionEvent(NULL, "ok")); + if (n_server == 1) { + SERVER_INFO *si = *server_info; + loginData.hostname = iptostring(si->address); + loginData.port = si->port; + loginData.updateHost = si->updateHost; + state = UPDATE_STATE; + } else { + currentDialog = new ServerSelectDialog(&loginData); + if (options.chooseDefault || options.playername != "") { + ((ServerSelectDialog*) currentDialog)->action( + gcn::ActionEvent(NULL, "ok")); + } } break; - case CHAR_SELECT_STATE: logger->log("State: CHAR_SELECT"); currentDialog = new CharSelectDialog(network, &charInfo, @@ -865,6 +881,13 @@ int main(int argc, char *argv[]) break; case UPDATE_STATE: + // Determine which source to use for the update host + if(!options.updateHost.empty()) + updateHost = options.updateHost; + else + updateHost = loginData.updateHost; + + setUpdatesDir(); logger->log("State: UPDATE"); currentDialog = new UpdaterWindow(updateHost, homeDir + "/" + updatesDir); diff --git a/src/main.h b/src/main.h index c18a2ddd..af59ea26 100644 --- a/src/main.h +++ b/src/main.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: main.h 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #ifndef _TMW_MAIN_H diff --git a/src/map.cpp b/src/map.cpp index c65b0cd6..d9d3a319 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: map.cpp 4171 2008-04-22 18:42:21Z b_lindeijer $ */ #include "map.h" diff --git a/src/map.h b/src/map.h index fab7bfb7..7695ba31 100644 --- a/src/map.h +++ b/src/map.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: map.h 3887 2008-02-12 19:49:37Z umperio $ */ #ifndef _TMW_MAP_H_ diff --git a/src/monster.cpp b/src/monster.cpp index e2a07e86..1a7f6c4e 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: monster.cpp 3823 2007-12-28 18:36:58Z crush_tmw $ */ #include "monster.h" @@ -27,14 +27,21 @@ #include "game.h" #include "sound.h" #include "particle.h" +#include "text.h" +#include "localplayer.h" + +#include "gui/gui.h" #include "resources/monsterdb.h" #include "utils/tostring.h" +static const int NAME_X_OFFSET = 16; +static const int NAME_Y_OFFSET = 16; Monster::Monster(Uint32 id, Uint16 job, Map *map): - Being(id, job, map) + Being(id, job, map), + mText(0) { const MonsterInfo& info = MonsterDB::get(job - 1002); @@ -59,6 +66,14 @@ Monster::Monster(Uint32 id, Uint16 job, Map *map): } } +Monster::~Monster() +{ + if (mText) + { + player_node->setTarget(0); + } +} + void Monster::logic() { @@ -141,3 +156,31 @@ Monster::getInfo() const { return MonsterDB::get(mJob - 1002); } + +void Monster::showName(bool show) +{ + if (mText) + { + delete mText; + } + if (show) + { + mText = new Text(getInfo().getName(), mPx + NAME_X_OFFSET, + mPy + NAME_Y_OFFSET - getHeight(), + gcn::Graphics::CENTER, + speechFont, gcn::Color(255, 32, 32)); + } + else + { + mText = 0; + } +} + +void Monster::updateCoords() +{ + if (mText) + { + mText->adviseXY(mPx + NAME_X_OFFSET, + mPy + NAME_Y_OFFSET - getHeight()); + } +} diff --git a/src/monster.h b/src/monster.h index 39556b44..b613e96d 100644 --- a/src/monster.h +++ b/src/monster.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: monster.h 3690 2007-10-26 12:50:49Z crush_tmw $ */ #ifndef _TMW_MONSTER_H @@ -27,12 +27,15 @@ #include "being.h" class MonsterInfo; +class Text; class Monster : public Being { public: Monster(Uint32 id, Uint16 job, Map *map); + ~Monster(); + virtual void logic(); virtual void setAction(Uint8 action); @@ -63,6 +66,19 @@ class Monster : public Being */ const MonsterInfo& getInfo() const; + + /** + * Determine whether the mob should show it's name + */ + void showName(bool show); + + protected: + /** + * Update the text when the monster moves + */ + void updateCoords(); + private: + Text *mText; /**< holds a text object when the mod displays it's name, 0 otherwise */ }; #endif diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index be8412d9..e077ab14 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: beinghandler.cpp 4321 2008-06-02 11:42:26Z b_lindeijer $ */ #include "beinghandler.h" @@ -55,6 +55,8 @@ BeingHandler::BeingHandler() SMSG_PLAYER_UPDATE_1, SMSG_PLAYER_UPDATE_2, SMSG_PLAYER_MOVE, + SMSG_PLAYER_STOP, + SMSG_PLAYER_MOVE_TO_ATTACK, 0x0119, 0 }; @@ -122,7 +124,7 @@ void BeingHandler::handleMessage(MessageIn *msg) headTop = msg->readInt16(); headMid = msg->readInt16(); hairColor = msg->readInt16(); - msg->readInt16(); // clothes color -not used + msg->readInt16(); // clothes color -not used msg->readInt16(); // head dir msg->readInt16(); // guild msg->readInt16(); // unknown @@ -133,9 +135,9 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setGender(1 - msg->readInt8()); // gender // Set these after the gender, as the sprites may be gender-specific - dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); - dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); - dstBeing->setSprite(Being::HAT_SPRITE, headTop); + dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); + dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); + dstBeing->setSprite(Being::HAT_SPRITE, headTop); dstBeing->setHairStyle(hairStyle, hairColor); if (msg->getId() == SMSG_BEING_MOVE) @@ -257,7 +259,7 @@ void BeingHandler::handleMessage(MessageIn *msg) case SMSG_BEING_CHANGE_LOOKS2: { /* - * SMSG_BEING_CHANGE_LOOKS (0x00c3) and + * SMSG_BEING_CHANGE_LOOKS (0x00c3) and * SMSG_BEING_CHANGE_LOOKS2 (0x01d7) do basically the same * thing. The difference is that ...LOOKS carries a single * 8 bit value, where ...LOOKS2 carries two 16 bit values. @@ -288,7 +290,7 @@ void BeingHandler::handleMessage(MessageIn *msg) case 1: // eAthena LOOK_HAIR dstBeing->setHairStyle(id, -1); break; - case 2: // Weapon ID in id, Shield ID in id2 + case 2: // Weapon ID in id, Shield ID in id2 dstBeing->setSprite(Being::WEAPON_SPRITE, id); dstBeing->setSprite(Being::SHIELD_SPRITE, id2); break; @@ -304,6 +306,9 @@ void BeingHandler::handleMessage(MessageIn *msg) case 6: // eAthena LOOK_HAIR_COLOR dstBeing->setHairStyle(-1, id); break; + case 8: // eAthena LOOK_SHIELD + dstBeing->setSprite(Being::SHIELD_SPRITE, id); + break; case 9: // eAthena LOOK_SHOES dstBeing->setSprite(Being::SHOE_SPRITE, id); break; @@ -345,7 +350,7 @@ void BeingHandler::handleMessage(MessageIn *msg) hairStyle = msg->readInt16(); dstBeing->setSprite(Being::WEAPON_SPRITE, msg->readInt16()); dstBeing->setSprite(Being::SHIELD_SPRITE, msg->readInt16()); - headBottom = msg->readInt16(); + headBottom = msg->readInt16(); if (msg->getId() == SMSG_PLAYER_MOVE) { @@ -355,7 +360,7 @@ void BeingHandler::handleMessage(MessageIn *msg) headTop = msg->readInt16(); headMid = msg->readInt16(); hairColor = msg->readInt16(); - msg->readInt16(); // clothes color - not used + msg->readInt16(); // clothes color - not used msg->readInt16(); // head dir msg->readInt32(); // guild msg->readInt32(); // emblem @@ -364,7 +369,7 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setGender(1 - msg->readInt8()); // gender // Set these after the gender, as the sprites may be gender-specific - dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); + dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); dstBeing->setSprite(Being::HAT_SPRITE, headTop); dstBeing->setHairStyle(hairStyle, hairColor); @@ -406,6 +411,32 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->mFrame = 0; break; + case SMSG_PLAYER_STOP: + // Instruction from server to stop walking at x, y. + id = msg->readInt32(); + dstBeing = beingManager->findBeing(id); + + if (dstBeing) { + dstBeing->mX = msg->readInt16(); + dstBeing->mY = msg->readInt16(); + if (dstBeing->mAction == Being::WALK) { + dstBeing->mFrame = 0; + dstBeing->setAction(Being::STAND); + } + } else { + logger->log("0x0088: Non-existent being %d", id); + } + break; + + case SMSG_PLAYER_MOVE_TO_ATTACK: + /* + * This is an *advisory* message, telling the client that + * it needs to move the character before attacking + * a target (out of range, obstruction in line of fire). + * We can safely ignore this... + */ + break; + case 0x0119: // Change in players look logger->log("0x0119 %i %i %i %x %i", msg->readInt32(), diff --git a/src/net/beinghandler.h b/src/net/beinghandler.h index 03012f39..5429d962 100644 --- a/src/net/beinghandler.h +++ b/src/net/beinghandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: beinghandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_BEINGHANDLER_H diff --git a/src/net/buysellhandler.cpp b/src/net/buysellhandler.cpp index 26261664..b4e2cf30 100644 --- a/src/net/buysellhandler.cpp +++ b/src/net/buysellhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buysellhandler.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "buysellhandler.h" diff --git a/src/net/buysellhandler.h b/src/net/buysellhandler.h index 673aaac1..4da52c95 100644 --- a/src/net/buysellhandler.h +++ b/src/net/buysellhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buysellhandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_BUYSELLHANDLER_H diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index 5cc53f7d..91f098ba 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: charserverhandler.cpp 4330 2008-06-04 08:53:01Z b_lindeijer $ */ #include "charserverhandler.h" diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h index ab4ca1c7..663de94d 100644 --- a/src/net/charserverhandler.h +++ b/src/net/charserverhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: charserverhandler.h 3228 2007-03-22 23:53:13Z b_lindeijer $ */ #ifndef _TMW_NET_CHARSERVERHANDLER_H diff --git a/src/net/chathandler.cpp b/src/net/chathandler.cpp index 524911d3..bee19112 100644 --- a/src/net/chathandler.cpp +++ b/src/net/chathandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: chathandler.cpp 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #include "chathandler.h" diff --git a/src/net/chathandler.h b/src/net/chathandler.h index eed19206..08a560f3 100644 --- a/src/net/chathandler.h +++ b/src/net/chathandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: chathandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_CHATHANDLER_H diff --git a/src/net/equipmenthandler.cpp b/src/net/equipmenthandler.cpp index 85790b42..7b15ee8b 100644 --- a/src/net/equipmenthandler.cpp +++ b/src/net/equipmenthandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: equipmenthandler.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "equipmenthandler.h" diff --git a/src/net/equipmenthandler.h b/src/net/equipmenthandler.h index 656f7a73..0121e6ad 100644 --- a/src/net/equipmenthandler.h +++ b/src/net/equipmenthandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: equipmenthandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_EQUIPMENTHANDLER_H diff --git a/src/net/inventoryhandler.cpp b/src/net/inventoryhandler.cpp index 48cf18ff..c0661710 100644 --- a/src/net/inventoryhandler.cpp +++ b/src/net/inventoryhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inventoryhandler.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "inventoryhandler.h" diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index aedbc3a1..64ef8464 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: inventoryhandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_INVENTORYHANDLER_H diff --git a/src/net/itemhandler.cpp b/src/net/itemhandler.cpp index 567a5382..9af2be10 100644 --- a/src/net/itemhandler.cpp +++ b/src/net/itemhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemhandler.cpp 2150 2006-02-06 02:56:48Z der_doener $ */ #include "itemhandler.h" diff --git a/src/net/itemhandler.h b/src/net/itemhandler.h index b2104722..702e193a 100644 --- a/src/net/itemhandler.h +++ b/src/net/itemhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemhandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_ITEMHANDLER_H diff --git a/src/net/loginhandler.cpp b/src/net/loginhandler.cpp index ab788e41..6505e39f 100644 --- a/src/net/loginhandler.cpp +++ b/src/net/loginhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: loginhandler.cpp 3233 2007-03-24 01:57:39Z b_lindeijer $ */ #include "loginhandler.h" @@ -37,6 +37,7 @@ extern SERVER_INFO **server_info; LoginHandler::LoginHandler() { static const Uint16 _messages[] = { + 0x0063, 0x0069, 0x006a, 0 @@ -48,6 +49,16 @@ void LoginHandler::handleMessage(MessageIn *msg) { switch (msg->getId()) { + case 0x0063: + int len; + + len = msg->readInt16() - 4; + mUpdateHost = msg->readString(len); + + logger->log("Received update host \"%s\" from login server", + mUpdateHost.c_str()); + break; + case 0x0069: // Skip the length word msg->skip(2); @@ -70,6 +81,7 @@ void LoginHandler::handleMessage(MessageIn *msg) server_info[i]->port = msg->readInt16(); server_info[i]->name = msg->readString(20); server_info[i]->online_users = msg->readInt32(); + server_info[i]->updateHost = mUpdateHost; msg->skip(2); // unknown logger->log("Network: Server: %s (%s:%d)", @@ -77,7 +89,7 @@ void LoginHandler::handleMessage(MessageIn *msg) iptostring(server_info[i]->address), server_info[i]->port); } - state = CHAR_SERVER_STATE; + state = CHAR_SERVER_STATE; break; case 0x006a: diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h index 52014559..797655c3 100644 --- a/src/net/loginhandler.h +++ b/src/net/loginhandler.h @@ -18,13 +18,14 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: loginhandler.h 2137 2006-02-04 16:54:35Z der_doener $ */ #ifndef _TMW_NET_LOGINHANDLER_H #define _TMW_NET_LOGINHANDLER_H #include "messagehandler.h" +#include struct LoginData; @@ -39,6 +40,9 @@ class LoginHandler : public MessageHandler protected: LoginData *mLoginData; + + private: + std::string mUpdateHost; }; #endif diff --git a/src/net/maploginhandler.cpp b/src/net/maploginhandler.cpp index 0afc8357..15f70baf 100644 --- a/src/net/maploginhandler.cpp +++ b/src/net/maploginhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: maploginhandler.cpp 2239 2006-03-09 05:16:27Z der_doener $ */ #include "maploginhandler.h" diff --git a/src/net/maploginhandler.h b/src/net/maploginhandler.h index fe597549..6ff6bc00 100644 --- a/src/net/maploginhandler.h +++ b/src/net/maploginhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: maploginhandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_MAPLOGINHANDLER_H diff --git a/src/net/messagehandler.cpp b/src/net/messagehandler.cpp index 849b6716..370a01ab 100644 --- a/src/net/messagehandler.cpp +++ b/src/net/messagehandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: messagehandler.cpp 2112 2006-01-22 13:31:13Z der_doener $ */ #include "messagehandler.h" diff --git a/src/net/messagehandler.h b/src/net/messagehandler.h index c09037f6..90ffa489 100644 --- a/src/net/messagehandler.h +++ b/src/net/messagehandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: messagehandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_MESSAGEHANDLER_H diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index bbc0a44c..bec47a5a 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: messagein.cpp 2369 2006-06-26 21:32:52Z b_lindeijer $ */ #include "messagein.h" diff --git a/src/net/messagein.h b/src/net/messagein.h index d97cd8b6..0a6b8b8b 100644 --- a/src/net/messagein.h +++ b/src/net/messagein.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: messagein.h 1879 2005-10-16 21:18:11Z der_doener $ */ #ifndef _TMW_MESSAGEIN_ diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index 9c87e69e..f5f3dad9 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: messageout.cpp 3754 2007-11-20 15:19:50Z b_lindeijer $ */ #include diff --git a/src/net/messageout.h b/src/net/messageout.h index f6468adb..33deb1bb 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: messageout.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_MESSAGEOUT_ diff --git a/src/net/network.cpp b/src/net/network.cpp index fa5964d6..4db0df54 100644 --- a/src/net/network.cpp +++ b/src/net/network.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: network.cpp 3550 2007-08-30 16:46:21Z b_lindeijer $ */ #include "network.h" @@ -41,7 +41,7 @@ short packet_lengths[] = { // #0x0040 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 55, 17, 3, 37, 46, -1, 23, -1, 3,108, 3, 2, + 0, 0, 0, -1, 55, 17, 3, 37, 46, -1, 23, -1, 3,108, 3, 2, 3, 28, 19, 11, 3, -1, 9, 5, 54, 53, 58, 60, 41, 2, 6, 6, // #0x0080 7, 3, 2, 2, 2, 5, 16, 12, 10, 7, 29, 23, -1, -1, -1, 0, diff --git a/src/net/network.h b/src/net/network.h index d6fec761..53800b1e 100644 --- a/src/net/network.h +++ b/src/net/network.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: network.h 3234 2007-03-24 13:05:27Z b_lindeijer $ */ #ifndef _TMW_NETWORK_ diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp index da21b2a5..29855fc0 100644 --- a/src/net/npchandler.cpp +++ b/src/net/npchandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npchandler.cpp 2883 2006-12-03 17:00:07Z b_lindeijer $ */ #include "npchandler.h" diff --git a/src/net/npchandler.h b/src/net/npchandler.h index 903ecd10..7abd7495 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npchandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_NPCHANDLER_H diff --git a/src/net/partyhandler.cpp b/src/net/partyhandler.cpp new file mode 100644 index 00000000..c1f2ba2e --- /dev/null +++ b/src/net/partyhandler.cpp @@ -0,0 +1,127 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: partyhandler.cpp + */ + +#include "partyhandler.h" + +#include "protocol.h" +#include "messagein.h" + +#include "../gui/chat.h" +#include "../gui/confirm_dialog.h" + +#include "../game.h" +#include "../party.h" +#include "../beingmanager.h" + +#include + +PartyHandler::PartyHandler(Party *party) : mParty(party) +{ + static const Uint16 _messages[] = { + SMSG_PARTY_CREATE, + SMSG_PARTY_INFO, + SMSG_PARTY_INVITE, + SMSG_PARTY_INVITED, + SMSG_PARTY_SETTINGS, + SMSG_PARTY_MEMBER_INFO, + SMSG_PARTY_LEAVE, + SMSG_PARTY_UPDATE_HP, + SMSG_PARTY_UPDATE_COORDS, + SMSG_PARTY_MESSAGE, + 0 + }; + handledMessages = _messages; +} + +void +PartyHandler::handleMessage(MessageIn *msg) +{ + switch (msg->getId()) + { + case SMSG_PARTY_CREATE: + mParty->createResponse(msg->readInt8()); + break; + case SMSG_PARTY_INFO: + break; + case SMSG_PARTY_INVITE: + { + std::string nick = msg->readString(24); + int status = msg->readInt8(); + mParty->inviteResponse(nick, status); + break; + } + case SMSG_PARTY_INVITED: + { + int id = msg->readInt32(); + Being *being = beingManager->findBeing(id); + if (being == NULL) + { + break; + } + std::string nick; + int gender = 0; + std::string partyName = ""; + if (being->getType() != Being::PLAYER) + { + nick = ""; + } + else + { + nick = being->getName(); + gender = being->getGender(); + partyName = msg->readString(24); + } + mParty->invitedAsk(nick, gender, partyName); + break; + } + case SMSG_PARTY_SETTINGS: + break; + case SMSG_PARTY_MEMBER_INFO: + break; + case SMSG_PARTY_LEAVE: + { + /*int id = */msg->readInt32(); + std::string nick = msg->readString(24); + /*int fail = */msg->readInt8(); + mParty->leftResponse(nick); + break; + } + case SMSG_PARTY_UPDATE_HP: + break; + case SMSG_PARTY_UPDATE_COORDS: + break; + case SMSG_PARTY_MESSAGE: + { // new block to enable local variables + int msgLength = msg->readInt16() - 8; + if (msgLength <= 0) + { + return; + } + int id = msg->readInt32(); + Being *being = beingManager->findBeing(id); + std::string chatMsg = msg->readString(msgLength); + mParty->receiveChat(being, chatMsg); + } + break; + } +} diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h new file mode 100644 index 00000000..de97d084 --- /dev/null +++ b/src/net/partyhandler.h @@ -0,0 +1,41 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: partyhandler.h + */ + +#ifndef _TMW_NET_PARTYHANDLER_H +#define _TMW_NET_PARTYHANDLER_H + +#include "messagehandler.h" + +class Party; + +class PartyHandler : public MessageHandler +{ + public: + PartyHandler(Party *party); + + void handleMessage(MessageIn *msg); + private: + Party *mParty; +}; + +#endif diff --git a/src/net/playerhandler.cpp b/src/net/playerhandler.cpp index 2502c144..7f9e455a 100644 --- a/src/net/playerhandler.cpp +++ b/src/net/playerhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: playerhandler.cpp 4190 2008-04-26 17:37:03Z peaveydk $ */ #include "playerhandler.h" @@ -109,10 +109,16 @@ void PlayerHandler::handleMessage(MessageIn *msg) switch (msg->getId()) { case SMSG_WALK_RESPONSE: - // It is assumed by the client any request to walk actually - // succeeds on the server. The plan is to have a correction - // message when the server senses the client has the wrong - // idea. + /* + * This client assumes that all walk messages succeed, + * and that the server will send a correction notice + * otherwise. + * + * Note that this packet is also used by eAthena to notify + * the client of a server-generated auto-move. A patch has + * been submitted to Mantis to eliminate these auto moves, + * since they're inconsistent with the client design. + */ break; case SMSG_PLAYER_WARP: @@ -345,18 +351,5 @@ void PlayerHandler::handleMessage(MessageIn *msg) } } break; - - //Stop walking - //case 0x0088: // Disabled because giving some problems - //if (being = beingManager->findBeing(readInt32(2))) { - // if (being->getId() != player_node->getId()) { - // being->action = STAND; - // being->mFrame = 0; - // set_coordinates(being->coordinates, - // readWord(6), readWord(8), - // get_direction(being->coordinates)); - // } - //} - //break; } } diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h index b28a23f5..f7c0672d 100644 --- a/src/net/playerhandler.h +++ b/src/net/playerhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: playerhandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_PLAYERHANDLER_H diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp index d3db50bf..791b7fe5 100644 --- a/src/net/protocol.cpp +++ b/src/net/protocol.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: protocol.cpp 2158 2006-02-07 10:37:54Z der_doener $ */ #include "protocol.h" diff --git a/src/net/protocol.h b/src/net/protocol.h index 811d5481..f90fcba3 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: protocol.h 4321 2008-06-02 11:42:26Z b_lindeijer $ */ #ifndef _TMW_PROTOCOL_ @@ -29,6 +29,8 @@ #define SMSG_PLAYER_UPDATE_1 0x01d8 #define SMSG_PLAYER_UPDATE_2 0x01d9 #define SMSG_PLAYER_MOVE 0x01da /**< A nearby player moves */ +#define SMSG_PLAYER_STOP 0x0088 /**< Stop walking, set position */ +#define SMSG_PLAYER_MOVE_TO_ATTACK 0x0139 /**< Move to within attack range */ #define SMSG_PLAYER_STAT_UPDATE_1 0x00b0 #define SMSG_PLAYER_STAT_UPDATE_2 0x00b1 #define SMSG_PLAYER_STAT_UPDATE_3 0x0141 @@ -63,6 +65,7 @@ #define SMSG_BEING_ACTION 0x008a /**< Attack, sit, stand up, ... */ #define SMSG_BEING_CHAT 0x008d /**< A being talks */ #define SMSG_BEING_NAME_RESPONSE 0x0095 /**< Has to be requested */ + #define SMSG_NPC_MESSAGE 0x00b4 #define SMSG_NPC_NEXT 0x00b5 #define SMSG_NPC_CLOSE 0x00b6 @@ -72,11 +75,13 @@ #define SMSG_NPC_SELL 0x00c7 #define SMSG_NPC_BUY_RESPONSE 0x00ca #define SMSG_NPC_SELL_RESPONSE 0x00cb + #define SMSG_PLAYER_CHAT 0x008e /**< Player talks */ #define SMSG_WHISPER 0x0097 /**< Whisper Recieved */ #define SMSG_WHISPER_RESPONSE 0x0098 #define SMSG_GM_CHAT 0x009a /**< GM announce */ #define SMSG_WALK_RESPONSE 0x0087 + #define SMSG_TRADE_REQUEST 0x00e5 /**< Receiving a request to trade */ #define SMSG_TRADE_RESPONSE 0x00e7 #define SMSG_TRADE_ITEM_ADD 0x00e9 @@ -85,6 +90,17 @@ #define SMSG_TRADE_CANCEL 0x00ee #define SMSG_TRADE_COMPLETE 0x00f0 +#define SMSG_PARTY_CREATE 0x00fa +#define SMSG_PARTY_INFO 0x00fb +#define SMSG_PARTY_INVITE 0x00fd +#define SMSG_PARTY_INVITED 0x00fe +#define SMSG_PARTY_SETTINGS 0x0102 +#define SMSG_PARTY_MEMBER_INFO 0x0104 +#define SMSG_PARTY_LEAVE 0x0105 +#define SMSG_PARTY_UPDATE_HP 0x0106 +#define SMSG_PARTY_UPDATE_COORDS 0x0107 +#define SMSG_PARTY_MESSAGE 0x0109 + // Packets from client to server #define CMSG_TRADE_RESPONSE 0x00e6 #define CMSG_ITEM_PICKUP 0x009f @@ -93,6 +109,8 @@ #define CMSG_NPC_BUY_SELL_REQUEST 0x00c5 #define CMSG_CHAT_MESSAGE 0x008c #define CMSG_CHAT_WHISPER 0x0096 +#define CMSG_CHAT_ANNOUNCE 0x0099 +#define CMSG_CHAT_WHO 0x00c1 #define CMSG_NPC_LIST_CHOICE 0x00b8 #define CMSG_NPC_NEXT_REQUEST 0x00b9 #define CMSG_NPC_SELL_REQUEST 0x00c9 @@ -109,6 +127,13 @@ #define CMSG_PLAYER_EQUIP 0x00a9 #define CMSG_PLAYER_UNEQUIP 0x00ab +#define CMSG_PARTY_CREATE 0x00f9 +#define CMSG_PARTY_INVITE 0x00fc +#define CMSG_PARTY_INVITED 0x00ff +#define CMSG_PARTY_LEAVE 0x0100 /** Undocumented */ +#define CMSG_PARTY_SETTINGS 0x0101 +#define CMSG_PARTY_MESSAGE 0x0108 + /** Encodes coords and direction in 3 bytes data */ void set_coordinates(char *data, unsigned short x, unsigned short y, unsigned char direction); diff --git a/src/net/skillhandler.cpp b/src/net/skillhandler.cpp index 828c2378..1f9403f4 100644 --- a/src/net/skillhandler.cpp +++ b/src/net/skillhandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: skillhandler.cpp 2832 2006-11-05 20:57:59Z b_lindeijer $ */ #include "skillhandler.h" diff --git a/src/net/skillhandler.h b/src/net/skillhandler.h index 820a7b6a..734772b4 100644 --- a/src/net/skillhandler.h +++ b/src/net/skillhandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: skillhandler.h 2112 2006-01-22 13:31:13Z der_doener $ */ #ifndef _TMW_NET_SKILLHANDLER_H diff --git a/src/net/tradehandler.cpp b/src/net/tradehandler.cpp index 9599fa9d..cfd24977 100644 --- a/src/net/tradehandler.cpp +++ b/src/net/tradehandler.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: tradehandler.cpp 4354 2008-06-17 16:52:44Z the_enemy $ */ #include "tradehandler.h" diff --git a/src/net/tradehandler.h b/src/net/tradehandler.h index a1971004..22e01f48 100644 --- a/src/net/tradehandler.h +++ b/src/net/tradehandler.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: tradehandler.h 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #ifndef _TMW_NET_TRADEHANDLER_H diff --git a/src/npc.cpp b/src/npc.cpp index 2177aedc..ec7088ab 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npc.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include "npc.h" @@ -26,6 +26,7 @@ #include "animatedsprite.h" #include "graphics.h" #include "particle.h" +#include "text.h" #include "net/messageout.h" #include "net/protocol.h" @@ -35,6 +36,9 @@ NPC *current_npc = 0; +static const int NAME_X_OFFSET = 15; +static const int NAME_Y_OFFSET = 30; + NPC::NPC(Uint32 id, Uint16 job, Map *map, Network *network): Being(id, job, map), mNetwork(network) { @@ -62,23 +66,32 @@ NPC::NPC(Uint32 id, Uint16 job, Map *map, Network *network): Particle *p = particleEngine->addEffect(*i, 0, 0); this->controlParticle(p); } + mName = 0; } -Being::Type -NPC::getType() const +NPC::~NPC() { - return Being::NPC; + if (mName) + { + delete mName; + } } -void -NPC::drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY) +void NPC::setName(const std::string &name) { - int px = mPx + offsetX; - int py = mPy + offsetY; + if (mName) + { + delete mName; + } + mName = new Text(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET, + gcn::Graphics::CENTER, speechFont, + gcn::Color(200, 200, 255)); + } - graphics->setFont(speechFont); - graphics->setColor(gcn::Color(200, 200, 255)); - graphics->drawText(mName, px + 15, py + 30, gcn::Graphics::CENTER); +Being::Type +NPC::getType() const +{ + return Being::NPC; } void @@ -129,3 +142,11 @@ NPC::sell() outMsg.writeInt32(mId); outMsg.writeInt8(1); } + +void NPC::updateCoords() +{ + if (mName) + { + mName->adviseXY(mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET); + } +} diff --git a/src/npc.h b/src/npc.h index 0d9966bd..432d26d1 100644 --- a/src/npc.h +++ b/src/npc.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npc.h 2883 2006-12-03 17:00:07Z b_lindeijer $ */ #ifndef _TMW_NPC_H @@ -28,18 +28,20 @@ class Network; class Graphics; +class Text; class NPC : public Being { public: NPC(Uint32 id, Uint16 job, Map *map, Network *network); + ~NPC(); + + void setName(const std::string &name); + virtual Type getType() const; - virtual void - drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY); - void talk(); void nextDialog(); void dialogChoice(char choice); @@ -49,6 +51,9 @@ class NPC : public Being protected: Network *mNetwork; + void updateCoords(); + private: + Text *mName; }; extern NPC *current_npc; diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 5b34de18..6ffc5668 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: openglgraphics.cpp 4130 2008-04-18 20:39:29Z the_enemy $ */ #include "main.h" diff --git a/src/openglgraphics.h b/src/openglgraphics.h index ee5bc1e1..c3dc794c 100644 --- a/src/openglgraphics.h +++ b/src/openglgraphics.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: openglgraphics.h 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #ifndef _TMW_OPENGLGRAPHICS_H diff --git a/src/particle.cpp b/src/particle.cpp index 3b3f5116..651fae41 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: particle.cpp 4362 2008-06-24 12:29:33Z crush_tmw $ */ #include diff --git a/src/particle.h b/src/particle.h index 88a38417..d4a671c7 100644 --- a/src/particle.h +++ b/src/particle.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: particle.h 4362 2008-06-24 12:29:33Z crush_tmw $ */ #ifndef _PARTICLE_H diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp index 631ca228..996e3396 100644 --- a/src/particleemitter.cpp +++ b/src/particleemitter.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: particleemitter.cpp 4362 2008-06-24 12:29:33Z crush_tmw $ */ #include "particleemitter.h" diff --git a/src/particleemitter.h b/src/particleemitter.h index 2f45608d..481d4b44 100644 --- a/src/particleemitter.h +++ b/src/particleemitter.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: particleemitter.h 4362 2008-06-24 12:29:33Z crush_tmw $ */ #ifndef _PARTICLEEMITTER_H diff --git a/src/party.cpp b/src/party.cpp new file mode 100644 index 00000000..39c39352 --- /dev/null +++ b/src/party.cpp @@ -0,0 +1,219 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: party.cpp + */ + +#include "party.h" + +#include "beingmanager.h" +#include "localplayer.h" +#include "game.h" + +#include "gui/chat.h" +#include "gui/confirm_dialog.h" + +#include "net/messageout.h" +#include "net/protocol.h" + +Party::Party(ChatWindow *chat, Network *network) : + mChat(chat), mNetwork(network), mInviteListener(network, &mInParty) +{ +} + +void Party::respond(const std::string &command, const std::string &args) +{ + if (command == "new" || command == "create") + { + create(args); + return; + } + if (command == "leave") + { + leave(args); + return; + } + if (command == "settings") + { + mChat->chatLog("Not yet implemented!", BY_SERVER); + return; + /* + MessageOut outMsg(mNetwork); + outMsg.writeInt16(CMSG_PARTY_SETTINGS); + outMsg.writeInt16(0); // Experience + outMsg.writeInt16(0); // Item + */ + } + mChat->chatLog("Party command not known.", BY_SERVER); +} + +void Party::create(const std::string &party) +{ + if (party == "") + { + mChat->chatLog("Party name is missing.", BY_SERVER); + return; + } + MessageOut outMsg(mNetwork); + outMsg.writeInt16(CMSG_PARTY_CREATE); + outMsg.writeString(party.substr(0, 23), 24); + mCreating = true; +} + +void Party::leave(const std::string &args) +{ + MessageOut outMsg(mNetwork); + outMsg.writeInt16(CMSG_PARTY_LEAVE); + mChat->chatLog("Left party.", BY_SERVER); + mInParty = false; +} + +void Party::createResponse(bool ok) +{ + if (ok) + { + mChat->chatLog("Party successfully created.", BY_SERVER); + mInParty = true; + } + else + { + mChat->chatLog("Could not create party.", BY_SERVER); + } +} + +void Party::inviteResponse(const std::string &nick, int status) +{ + switch (status) + { + case 0: + mChat->chatLog(nick + " is already a member of a party.", + BY_SERVER); + break; + case 1: + mChat->chatLog(nick + " refused your invitation.", BY_SERVER); + break; + case 2: + mChat->chatLog(nick + " is now a member of your party.", + BY_SERVER); + break; + } +} + +void Party::invitedAsk(const std::string &nick, int gender, + const std::string &partyName) +{ + mPartyName = partyName; /* Quick and nasty - needs redoing */ + if (nick == "") + { + mChat->chatLog("Something\'s wrong!", BY_SERVER); + return; + } + mCreating = false; + ConfirmDialog *dlg = new ConfirmDialog("Invite to party", + nick + " invites you to join " + + (gender == 0 ? "his" : "her") + + " party, " + partyName + + ", do you accept?"); + dlg->addActionListener(&mInviteListener); +} + +void Party::InviteListener::action(const gcn::ActionEvent &event) +{ + MessageOut outMsg(mNetwork); + outMsg.writeInt16(CMSG_PARTY_INVITED); + outMsg.writeInt32(player_node->getId()); + bool accept = event.getId() == "yes"; + outMsg.writeInt32(accept ? 1 : 0); + *mInParty = *mInParty || accept; +} + +void Party::leftResponse(const std::string &nick) +{ + mChat->chatLog(nick + " has left your party.", BY_SERVER); +} + +void Party::receiveChat(Being *being, const std::string &msg) +{ + if (being == NULL) + { + return; + } + if (being->getType() != Being::PLAYER) + { + mChat->chatLog("Something\'s wrong!", BY_SERVER); + return; + } + being->setSpeech(msg, SPEECH_TIME); + mChat->chatLog(being->getName() + " : " + msg, BY_PARTY); +} + +void Party::help() +{ + mChat->chatLog("/party : Party commands.", BY_SERVER); +} + +void Party::help(const std::string &msg) +{ + if (msg == "") + { + mChat->chatLog("Command: /party ", BY_SERVER); + mChat->chatLog("where can be one of:", BY_SERVER); + mChat->chatLog(" /new", BY_SERVER); + mChat->chatLog(" /create", BY_SERVER); + mChat->chatLog(" /prefix", BY_SERVER); + mChat->chatLog(" /leave", BY_SERVER); + mChat->chatLog("This command implements the partying function.", + BY_SERVER); + mChat->chatLog("Type /help party for further help.", + BY_SERVER); + return; + } + if (msg == "new" || msg == "create") + { + mChat->chatLog("Command: /party new ", BY_SERVER); + mChat->chatLog("Command: /party create ", BY_SERVER); + mChat->chatLog("These commands create a new party chatLog("Command: /party prefix ", BY_SERVER); + mChat->chatLog("This command sets the party prefix character.", + BY_SERVER); + mChat->chatLog("Any message preceded by is sent to " + "the party instead of everyone.", BY_SERVER); + mChat->chatLog("Command: /party prefix", BY_SERVER); + mChat->chatLog("This command reports the current party prefix " + "character.", BY_SERVER); + return; + } + //if (msg == "settings") + //if (msg == "info") + if (msg == "leave") + { + mChat->chatLog("Command: /party leave", BY_SERVER); + mChat->chatLog("This command causes the player to leave the party.", + BY_SERVER); + return; + } + mChat->chatLog("Unknown /party command.", BY_SERVER); + mChat->chatLog("Type /help party for a list of options.", BY_SERVER); +} diff --git a/src/party.h b/src/party.h new file mode 100644 index 00000000..d4f51b5a --- /dev/null +++ b/src/party.h @@ -0,0 +1,75 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: party.h + */ + +#ifndef _TMW_PARTY_H +#define _TMW_PARTY_H + +#include + +#include + +class PartyHandler; +class Being; +class ChatWindow; +class Network; + +class Party +{ + public: + Party(ChatWindow *chat, Network *network); + void respond(const std::string &command, const std::string &args); + + void create(const std::string &party); + void leave(const std::string &args); + + void createResponse(bool ok); + void inviteResponse(const std::string &nick, int status); + void invitedAsk(const std::string &nick, int gender, + const std::string &partyName); + void leftResponse(const std::string &nick); + void receiveChat(Being *being, const std::string &msg); + + void help(); + void help(const std::string &msg); + private: + ChatWindow *mChat; + std::string mPartyName; + Network *mNetwork; + bool mInParty; + bool mCreating; /**< Used to give an appropriate response to + failure */ + PartyHandler *handler; + + class InviteListener : public gcn::ActionListener + { + public: + InviteListener(Network *network, bool *inParty) : + mNetwork(network), mInParty(inParty) {}; + void action(const gcn::ActionEvent &event); + Network *mNetwork; + private: + bool *mInParty; + }; + InviteListener mInviteListener; +}; +#endif diff --git a/src/player.cpp b/src/player.cpp index d0c6bdc6..5db009ba 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: player.cpp 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #include "player.h" @@ -34,11 +34,34 @@ #include "utils/strprintf.h" #include "gui/gui.h" +#include + +static const int NAME_X_OFFSET = 15; +static const int NAME_Y_OFFSET = 30; Player::Player(int id, int job, Map *map): - Being(id, job, map), - mDrawStrategy(NULL) + Being(id, job, map) { + mName = 0; +} + +Player::~Player() +{ + if (mName) + { + delete mName; + } +} + +void Player::setName(const std::string &name) +{ + if (mName == 0) + { + mName = new FlashText(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET, + gcn::Graphics::CENTER, + speechFont, gcn::Color(255, 255, 255)); + Being::setName(name); + } } void @@ -75,37 +98,13 @@ Player::getType() const return PLAYER; } - void -Player::setNameDrawStrategy(PlayerNameDrawStrategy *draw_strategy) +Player::flash(int time) { - if (mDrawStrategy) - delete mDrawStrategy; - mDrawStrategy = draw_strategy; -} - -class -DefaultPlayerNameDrawStrategy : public PlayerNameDrawStrategy -{ -public: - virtual void draw(Player *player, Graphics *graphics, int px, int py) + if (mName) { - graphics->setFont(speechFont); - graphics->setColor(gcn::Color(255, 255, 255)); - graphics->drawText(player->getName(), px + 15, py + 30, gcn::Graphics::CENTER); + mName->flash(time); } -}; - -void -Player::drawName(Graphics *graphics, int offsetX, int offsetY) -{ - int px = mPx + offsetX; - int py = mPy + offsetY; - - if (mDrawStrategy) - mDrawStrategy->draw(this, graphics, px, py); - else - DefaultPlayerNameDrawStrategy().draw(this, graphics, px, py); } void Player::setGender(int gender) @@ -202,3 +201,11 @@ void Player::setSprite(int slot, int id, std::string color) Being::setSprite(slot, id, color); } + +void Player::updateCoords() +{ + if (mName) + { + mName->adviseXY(mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET); + } +} diff --git a/src/player.h b/src/player.h index f43a6039..fdca64e8 100644 --- a/src/player.h +++ b/src/player.h @@ -18,30 +18,18 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: player.h 4237 2008-05-14 18:57:32Z b_lindeijer $ */ #ifndef _TMW_PLAYER_H #define _TMW_PLAYER_H #include "being.h" +#include "text.h" class Graphics; class Map; -class Player; - -class PlayerNameDrawStrategy -{ -public: - virtual ~PlayerNameDrawStrategy(void) {} - - /** - * Draw the player's name - */ - virtual void draw(Player *p, Graphics *graphics, int px, int py) = 0; -}; - /** * A player being. Players have their name drawn beneath them. This class also * implements player-specific loading of base sprite, hair sprite and equipment @@ -52,15 +40,20 @@ class Player : public Being public: Player(int id, int job, Map *map); + ~Player(); + + /** + * Set up mName to be the character's name + */ + virtual void + setName(const std::string &name); + virtual void logic(); virtual Type getType() const; - virtual void - drawName(Graphics *graphics, int offsetX, int offsetY); - virtual void setGender(int gender); @@ -83,19 +76,13 @@ class Player : public Being setSprite(int slot, int id, std::string color = ""); /** - * Sets the strategy responsible for drawing the player's name - * - * \param draw_strategy A strategy describing how the player's name - * should be drawn, or NULL for default + * Flash the player's name */ - virtual void - setNameDrawStrategy(PlayerNameDrawStrategy *draw_strategy); - - virtual PlayerNameDrawStrategy * - getNameDrawStrategy(void) const { return mDrawStrategy; } - + void flash(int time); + protected: + void updateCoords(); private: - PlayerNameDrawStrategy *mDrawStrategy; + FlashText *mName; }; #endif diff --git a/src/player_relations.cpp b/src/player_relations.cpp index 610f5d04..8abc9848 100644 --- a/src/player_relations.cpp +++ b/src/player_relations.cpp @@ -88,7 +88,7 @@ PlayerRelationsManager::PlayerRelationsManager() : mDefaultPermissions(PlayerRelation::DEFAULT), mIgnoreStrategy(NULL) { -} +} void PlayerRelationsManager::clear() @@ -325,29 +325,6 @@ public: }; -class -BlinkPlayerNameDrawStrategy : public PlayerNameDrawStrategy -{ -public: - BlinkPlayerNameDrawStrategy(int count) : - mCount(count) - { - } - - virtual void draw(Player *player, Graphics *graphics, int px, int py) - { - graphics->setFont(speechFont); - if (mCount & 4) - graphics->drawText(player->getName(), px + 15, py + 30, gcn::Graphics::CENTER); - - if (mCount-- <= 0) - player->setNameDrawStrategy(NULL); - } -private: - int mCount; // Number of steps to blink -}; - - class PIS_blinkname : public PlayerIgnoreStrategy { public: @@ -360,7 +337,7 @@ public: virtual void ignore(Player *player, unsigned int flags) { - player->setNameDrawStrategy(new BlinkPlayerNameDrawStrategy(200)); + player->flash(200); } }; @@ -407,4 +384,3 @@ PlayerRelationsManager::getPlayerIgnoreStrategies() PlayerRelationsManager player_relations; - diff --git a/src/properties.h b/src/properties.h index 93148bdf..9ebead66 100644 --- a/src/properties.h +++ b/src/properties.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: properties.h 3754 2007-11-20 15:19:50Z b_lindeijer $ */ #ifndef _TMW_PROPERTIES_H_ diff --git a/src/recorder.cpp b/src/recorder.cpp new file mode 100644 index 00000000..48ecb837 --- /dev/null +++ b/src/recorder.cpp @@ -0,0 +1,112 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: record.cpp + */ + +#include "recorder.h" + +#include "gui/chat.h" +#include "gui/buttonbox.h" + +#include "utils/trim.h" + +Recorder::Recorder(ChatWindow *chat) : mChat(chat) +{ + mButtonBox = new ButtonBox("Recording...", "Stop recording", this); + mButtonBox->setY(20); +} + +void Recorder::record(const std::string &msg) +{ + if (mStream.is_open()) + { + mStream << msg << std::endl; + } +} + +void Recorder::respond(const std::string &msg) +{ + std::string msgCopy = msg; + trim(msgCopy); + if (msgCopy == "") + { + if (mStream.is_open()) + { + mStream.close(); + mButtonBox->setVisible(false); + /* + * Message should go after mStream is closed so that it isn't + * recorded. + */ + mChat->chatLog("Finishing recording.", BY_SERVER); + } + else + { + mChat->chatLog("Not currently recording.", BY_SERVER); + } + return; + } + if (mStream.is_open()) + { + mChat->chatLog("Already recording.", BY_SERVER); + } + else + { + /* + * Message should go before mStream is opened so that it isn't + * recorded. + */ + mChat->chatLog("Starting to record...", BY_SERVER); + mStream.open(msg.c_str(), std::ios_base::trunc); + if (mStream.is_open()) + { + mButtonBox->setVisible(true); + } + else + { + mChat->chatLog("Failed to start recording.", BY_SERVER); + } + } +} + +void Recorder::help() const +{ + mChat->chatLog("/record : Start recording the chat.", BY_SERVER); +} + +void Recorder::help(const std::string &args) const +{ + mChat->chatLog("Command: /record ", BY_SERVER); + mChat->chatLog("This command starts recording the chat log to the file " + ".", BY_SERVER); + mChat->chatLog("Command: /record", BY_SERVER); + mChat->chatLog("This command finishes a recording session.", BY_SERVER); +} + +void Recorder::buttonBoxRespond() +{ + respond(""); +} + +Recorder::~Recorder() +{ + delete mButtonBox; +} diff --git a/src/recorder.h b/src/recorder.h new file mode 100644 index 00000000..2795cd53 --- /dev/null +++ b/src/recorder.h @@ -0,0 +1,50 @@ +/* + * The Mana World + * Copyright 2004 The Mana World Development Team + * + * This file is part of The Mana World. + * + * The Mana World is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * The Mana World is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with The Mana World; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: record.h + */ + +#ifndef _TMW_RECORD_H +#define _TMW_RECORD_H + +#include +#include + +#include "gui/buttonbox.h" + +class ChatWindow; + +class Recorder : public ButtonBoxListener +{ + public: + Recorder(ChatWindow *chat); + void record(const std::string &msg); + void respond(const std::string &msg); + void help() const; + void help(const std::string &args) const; + void buttonBoxRespond(); + bool isRecording() const {return mStream.is_open();} + ~Recorder(); + private: + ChatWindow *mChat; + std::ofstream mStream; + ButtonBox *mButtonBox; +}; +#endif diff --git a/src/resources/action.cpp b/src/resources/action.cpp index 6b3c2f52..facd23fb 100644 --- a/src/resources/action.cpp +++ b/src/resources/action.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: action.cpp 3676 2007-10-23 08:02:22Z b_lindeijer $ */ #include "action.h" diff --git a/src/resources/action.h b/src/resources/action.h index 8d5e8d11..61307652 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: action.h 2905 2006-12-12 15:06:06Z b_lindeijer $ */ #ifndef _TMW_ACTION_H diff --git a/src/resources/ambientoverlay.cpp b/src/resources/ambientoverlay.cpp index 058b6083..654cbb32 100644 --- a/src/resources/ambientoverlay.cpp +++ b/src/resources/ambientoverlay.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: ambientoverlay.cpp 2727 2006-10-07 20:01:34Z b_lindeijer $ */ #include "ambientoverlay.h" diff --git a/src/resources/ambientoverlay.h b/src/resources/ambientoverlay.h index a939cbb4..c0b18600 100644 --- a/src/resources/ambientoverlay.h +++ b/src/resources/ambientoverlay.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: ambientoverlay.h 2727 2006-10-07 20:01:34Z b_lindeijer $ */ #ifndef _TMW_RESOURCES_AMBIENTOVERLAY_H_ diff --git a/src/resources/animation.cpp b/src/resources/animation.cpp index de96525c..b740b9b5 100644 --- a/src/resources/animation.cpp +++ b/src/resources/animation.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: animation.cpp 2905 2006-12-12 15:06:06Z b_lindeijer $ */ #include "animation.h" diff --git a/src/resources/animation.h b/src/resources/animation.h index aad93cda..53420ecd 100644 --- a/src/resources/animation.h +++ b/src/resources/animation.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: animation.h 3301 2007-05-23 21:35:01Z b_lindeijer $ */ #ifndef _TMW_ANIMATION_H diff --git a/src/resources/buddylist.cpp b/src/resources/buddylist.cpp index 32d8d9f4..c917a45e 100644 --- a/src/resources/buddylist.cpp +++ b/src/resources/buddylist.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buddylist.cpp 4332 2008-06-05 07:33:12Z b_lindeijer $ */ #include diff --git a/src/resources/buddylist.h b/src/resources/buddylist.h index 3791a03a..5a8f2324 100644 --- a/src/resources/buddylist.h +++ b/src/resources/buddylist.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: buddylist.h 2239 2006-03-09 05:16:27Z der_doener $ */ #ifndef _TMW_BUDDYLIST_H diff --git a/src/resources/image.cpp b/src/resources/image.cpp index d0dae462..dc22a69b 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: image.cpp 3760 2007-11-21 19:43:11Z b_lindeijer $ */ #include diff --git a/src/resources/image.h b/src/resources/image.h index 52f286f8..6f10f858 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: image.h 3760 2007-11-21 19:43:11Z b_lindeijer $ */ #ifndef _TMW_IMAGE_H diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp index 4b6dd592..6228f4e4 100644 --- a/src/resources/imageset.cpp +++ b/src/resources/imageset.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: imageset.cpp 4209 2008-04-29 12:58:21Z b_lindeijer $ */ #include diff --git a/src/resources/imageset.h b/src/resources/imageset.h index 15c21d90..719e9769 100644 --- a/src/resources/imageset.h +++ b/src/resources/imageset.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: imageset.h 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #ifndef _TMW_IMAGESET_H diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp index 7cfa16b4..f11cad24 100644 --- a/src/resources/imagewriter.cpp +++ b/src/resources/imagewriter.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: imagewriter.cpp 2417 2006-07-19 15:12:06Z umperio $ */ #include "imagewriter.h" diff --git a/src/resources/imagewriter.h b/src/resources/imagewriter.h index 205e4584..c7968d30 100644 --- a/src/resources/imagewriter.h +++ b/src/resources/imagewriter.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: imagewriter.h 1766 2005-09-18 01:31:33Z bertram25 $ */ #include diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 71bd898a..52d19161 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemdb.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h index 0029129c..1ee1b5f0 100644 --- a/src/resources/itemdb.h +++ b/src/resources/itemdb.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: itemdb.h 3587 2007-09-20 13:24:20Z b_lindeijer $ */ #ifndef _TMW_ITEM_MANAGER_H diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index f1ebd0a9..64f5c37e 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: iteminfo.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "iteminfo.h" diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 680c8d61..85f79263 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: iteminfo.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _TMW_ITEMINFO_H_ diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 2a080fb0..3dbaefde 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: mapreader.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include "mapreader.h" diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index d16ff1d5..0d59fc9f 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: mapreader.h 3587 2007-09-20 13:24:20Z b_lindeijer $ */ #ifndef _TMW_MAPREADER_H_ diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 0a98762f..04de0e7c 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: monsterdb.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include diff --git a/src/resources/monsterdb.h b/src/resources/monsterdb.h index 46a33b06..43865bb3 100644 --- a/src/resources/monsterdb.h +++ b/src/resources/monsterdb.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: monsterdb.h 3606 2007-09-27 14:54:09Z b_lindeijer $ */ #ifndef _TMW_MONSTER_DB_H diff --git a/src/resources/music.cpp b/src/resources/music.cpp index 161d8b01..0e327218 100644 --- a/src/resources/music.cpp +++ b/src/resources/music.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: music.cpp 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #include "music.h" diff --git a/src/resources/music.h b/src/resources/music.h index 72e76295..a15d22c1 100644 --- a/src/resources/music.h +++ b/src/resources/music.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: music.h 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #ifndef _TMW_MUSIC_H diff --git a/src/resources/npcdb.cpp b/src/resources/npcdb.cpp index 5869e295..c310d6e3 100644 --- a/src/resources/npcdb.cpp +++ b/src/resources/npcdb.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npcdb.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include "npcdb.h" diff --git a/src/resources/npcdb.h b/src/resources/npcdb.h index 2abf959b..e1240c5e 100644 --- a/src/resources/npcdb.h +++ b/src/resources/npcdb.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: npcdb.h 4255 2008-05-21 21:44:27Z crush_tmw $ */ #ifndef _TMW_NPC_DB_H diff --git a/src/resources/resource.cpp b/src/resources/resource.cpp index 8f21f5d2..2bb60e56 100644 --- a/src/resources/resource.cpp +++ b/src/resources/resource.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: resource.cpp 3808 2007-12-22 21:33:47Z b_lindeijer $ */ #include diff --git a/src/resources/resource.h b/src/resources/resource.h index 5b9a5eb8..9c70f6c0 100644 --- a/src/resources/resource.h +++ b/src/resources/resource.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: resource.h 3808 2007-12-22 21:33:47Z b_lindeijer $ */ #ifndef _TMW_RESOURCE_H diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index ef8671a8..6b45c9d7 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: resourcemanager.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index da85e2f9..3f0f1704 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: resourcemanager.h 3839 2008-01-13 16:28:50Z the_enemy $ */ #ifndef _TMW_RESOURCE_MANAGER_H diff --git a/src/resources/soundeffect.cpp b/src/resources/soundeffect.cpp index ec9bc65c..03fa337e 100644 --- a/src/resources/soundeffect.cpp +++ b/src/resources/soundeffect.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: soundeffect.cpp 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #include "soundeffect.h" diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index 866c53ec..0a574e7d 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: soundeffect.h 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #ifndef _TMW_SOUND_EFFECT_H diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index 334474d7..550b2d1c 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: spritedef.cpp 4332 2008-06-05 07:33:12Z b_lindeijer $ */ #include diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index 531dfb3d..2872af06 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: spritedef.h 4255 2008-05-21 21:44:27Z crush_tmw $ */ #ifndef _TMW_SPRITEDEF_H diff --git a/src/serverinfo.h b/src/serverinfo.h index b317b87b..9a9eef1d 100644 --- a/src/serverinfo.h +++ b/src/serverinfo.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: serverinfo.h 1735 2005-09-13 22:56:29Z der_doener $ */ #ifndef _TMW_SERVERINFO_ @@ -32,6 +32,7 @@ struct SERVER_INFO short port; std::string name; short online_users; + std::string updateHost; }; #endif diff --git a/src/shopitem.cpp b/src/shopitem.cpp index ed5d30a9..8bd79cc1 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: shopitem.cpp 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #include "shopitem.h" diff --git a/src/shopitem.h b/src/shopitem.h index ffafbebe..4e6fd3a3 100644 --- a/src/shopitem.h +++ b/src/shopitem.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: shopitem.h 4347 2008-06-12 09:06:01Z b_lindeijer $ */ #ifndef _SHOPITEM_H_ diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index 18e732ef..db1c0c91 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: simpleanimation.cpp 3587 2007-09-20 13:24:20Z b_lindeijer $ */ #include "simpleanimation.h" diff --git a/src/simpleanimation.h b/src/simpleanimation.h index 561c540d..dfca33e2 100644 --- a/src/simpleanimation.h +++ b/src/simpleanimation.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: simpleanimation.h 3301 2007-05-23 21:35:01Z b_lindeijer $ */ #ifndef _TMW_SIMPLEANIMAION_H diff --git a/src/sound.cpp b/src/sound.cpp index 0a20d3f2..f0101442 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: sound.cpp 3892 2008-02-18 10:00:45Z umperio $ */ #include "sound.h" diff --git a/src/sound.h b/src/sound.h index ebcd6442..038f299e 100644 --- a/src/sound.h +++ b/src/sound.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: sound.h 3606 2007-09-27 14:54:09Z b_lindeijer $ */ #ifndef _TMW_SOUND_H diff --git a/src/sprite.h b/src/sprite.h index 89780519..cbe32186 100644 --- a/src/sprite.h +++ b/src/sprite.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: sprite.h 3292 2007-05-07 16:22:54Z crush_tmw $ */ #ifndef _TMW_SPRITE_H_ diff --git a/src/text.cpp b/src/text.cpp new file mode 100644 index 00000000..545c1c0e --- /dev/null +++ b/src/text.cpp @@ -0,0 +1,102 @@ +/*************************************************************************** + * Copyright (C) 2008 by Douglas Boffey * + * * + * DougABoffey@netscape.net * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed with The Mana Experiment * + * in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "text.h" + +#include + +#include + +#include "textmanager.h" + +int Text::mInstances = 0; + + +Text::Text(const std::string &text, int x, int y, + gcn::Graphics::Alignment alignment, gcn::Font *font, + gcn::Color colour) : + mText(text), mColour(colour) +{ + if (textManager == 0) + { + textManager = new TextManager(); + } + ++mInstances; + mHeight = font->getHeight(); + mWidth = font->getWidth(text); + switch (alignment) + { + case gcn::Graphics::LEFT: + mXOffset = 0; + break; + case gcn::Graphics::CENTER: + mXOffset = mWidth / 2; + break; + case gcn::Graphics::RIGHT: + mXOffset = mWidth; + break; + } + mX = x - mXOffset; + mY = y; + textManager->addText(this); + mFont = font; +} + +void Text::adviseXY(int x, int y) +{ + textManager->moveText(this, x - mXOffset, y); +} + +Text::~Text() +{ + textManager->removeText(this); + if (--mInstances == 0) + { + delete textManager; + textManager = 0; + } +} + +void Text::draw(Graphics *graphics, int xOff, int yOff) +{ + graphics->setFont(mFont); + graphics->setColor(mColour); + graphics->drawText(mText, mX - xOff, mY - yOff, gcn::Graphics::LEFT); +} + +FlashText::FlashText(const std::string &text, int x, int y, + gcn::Graphics::Alignment alignment, gcn::Font *font, + gcn::Color colour) : + Text(text, x, y, alignment, font, colour), mTime(0) +{ +} + +void FlashText::draw(Graphics *graphics, int xOff, int yOff) +{ + if (mTime) + { + if ((--mTime & 4) == 0) + { + return; + } + } + Text::draw(graphics, xOff, yOff); +} diff --git a/src/text.h b/src/text.h new file mode 100644 index 00000000..04b213b3 --- /dev/null +++ b/src/text.h @@ -0,0 +1,93 @@ +/*************************************************************************** + * Copyright (C) 2008 by Douglas Boffey * + * * + * DougABoffey@netscape.net * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed with The Mana Experiment * + * in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _TME_TEXT_H +#define _TME_TEXT_H + +#include "graphics.h" + +#include + +class TextManager; + +class Text +{ + friend class TextManager; + public: + /** + * Constructor creates a text object to display on the screen + */ + Text(const std::string &text, int x, int y, + gcn::Graphics::Alignment alignment, gcn::Font *font, + gcn::Color colour); + + /** + * Allows the originator of the text to specify the ideal coordinates + */ + void + adviseXY(int x, int y); + + /** + * Remove the text from the screen + */ + ~Text(); + + /** + * Draws the text + */ + virtual void + draw(Graphics *graphics, int xOff, int yOff); + + private: + + int mX; /**< Actual x-value of left of text written */ + int mY; /**< Actual y-value of top of text written */ + int mWidth; /**< The width of the text */ + int mHeight; /**< The height of the text */ + int mXOffset; /**< The offset of mX from the desired x */ + static int mInstances; /**< Instances of text */ + gcn::Font *mFont; /**< The font used */ + std::string mText; /**< The text to display */ + gcn::Color mColour; /**< The colour of the text */ +}; + +class FlashText : public Text +{ + public: + FlashText(const std::string &text, int x, int y, + gcn::Graphics::Alignment alignment, gcn::Font *font, + gcn::Color colour); + + /** + * Flash the text for so many refreshes + */ + void flash(int time) {mTime = time; } + + /** + * Draws the text + */ + virtual void + draw(Graphics *graphics, int xOff, int yOff); + + private: + int mTime; /**< Time left for flashing */ +}; +#endif diff --git a/src/textmanager.cpp b/src/textmanager.cpp new file mode 100644 index 00000000..54d44c2a --- /dev/null +++ b/src/textmanager.cpp @@ -0,0 +1,177 @@ +/*************************************************************************** + * Copyright (C) 2008 by Douglas Boffey * + * * + * DougABoffey@netscape.net * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed with The Mana Experiment * + * in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "textmanager.h" + +#include + +#include "text.h" + +TextManager *textManager = 0; + +TextManager::TextManager() +{ +} + +void TextManager::addText(Text *text) +{ + place(text, 0, text->mX, text->mY, text->mHeight); + mTextList.push_back(text); +} + +void TextManager::moveText(Text *text, int x, int y) +{ + text->mX = x; + text->mY = y; + place(text, text, text->mX, text->mY, text->mHeight); +} + +void TextManager::removeText(const Text *text) +{ + for (TextList::iterator ptr = mTextList.begin(), + pEnd = mTextList.end(); ptr != pEnd; ++ptr) + { + if (*ptr == text) + { + mTextList.erase(ptr); + return; + } + } +} + +TextManager::~TextManager() +{ +} + +void TextManager::draw(Graphics *graphics, int xOff, int yOff) +{ + for (TextList::iterator bPtr = mTextList.begin(), ePtr = mTextList.end(); + bPtr != ePtr; ++bPtr) + { + (*bPtr)->draw(graphics, xOff, yOff); + } +} + +void TextManager::place(const Text *textObj, const Text *omit, + int &x, int &y, int h) +{ + int xLeft = textObj->mX; + int xRight = xLeft + textObj->mWidth - 1; + const int TEST = 100; // Number of lines to test for text + bool occupied[TEST]; // is some other text obscuring this line? + std::memset(&occupied, 0, sizeof(occupied)); // set all to false + int wantedTop = (TEST - h) / 2; // Entry in occupied at top of text + int occupiedTop = y - wantedTop; // Line in map representing to of occupied + + for (TextList::const_iterator ptr = mTextList.begin(), + pEnd = mTextList.end(); ptr != pEnd; ++ptr) + { + if (*ptr != omit && + (*ptr)->mX <= xRight && + (*ptr)->mX + (*ptr)->mWidth > xLeft) + { + int from = (*ptr)->mY - occupiedTop; + int to = from + (*ptr)->mHeight - 1; + if (to < 0 || from >= TEST) // out of range considered + { + continue; + } + if (from < 0) + { + from = 0; + } + if (to >= TEST) + { + to = TEST - 1; + } + for (int i = from; i <= to; ++i) + { + occupied[i] = true; + } + } + } + bool ok = true; + for (int i = wantedTop; i < wantedTop + h; ++i) + { + ok = ok && !occupied[i]; + } + if (ok) + { + return; + } + // Have to move it up or down, so find nearest spaces either side + int consec = 0; + int upSlot = -1; // means not found + for (int seek = wantedTop + h - 2; seek >= 0; --seek) + { + if (occupied[seek]) + { + consec = 0; + } + else + { + if (++consec == h) + { + upSlot = seek; + break; + } + } + } + int downSlot = -1; + consec = 0; + for (int seek = wantedTop + 1; seek < TEST; ++seek) + { + if (occupied[seek]) + { + consec = 0; + } + else + { + if (++consec == h) + { + downSlot = seek - h + 1; + break; + } + } + } + if (upSlot == -1 && downSlot == -1) // no good solution, so leave as is + { + return; + } + if (upSlot == -1) // must go down + { + y += downSlot - wantedTop; + return; + } + if (downSlot == -1) // must go up + { + y -= wantedTop - upSlot; + return; + } + if (wantedTop - upSlot > downSlot - wantedTop) // down is better + { + y += downSlot - wantedTop; + } + else + { + y -= wantedTop - upSlot; + } +} diff --git a/src/textmanager.h b/src/textmanager.h new file mode 100644 index 00000000..53419240 --- /dev/null +++ b/src/textmanager.h @@ -0,0 +1,75 @@ +/*************************************************************************** + * Copyright (C) 2008 by Douglas Boffey * + * * + * DougABoffey@netscape.net * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed with The Mana Experiment * + * in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _TME_TEXTMANAGER_H +#define _TME_TEXTMANAGER_H + +#include + +class Text; +class Graphics; + +class TextManager +{ + public: + /** + * Constructor + */ + TextManager(); + + /** + * Add text to the manager + */ + void addText(Text *text); + + /** + * Move the text around the screen + */ + void moveText(Text *text, int x, int y); + + /** + * Remove the text from the manager + */ + void removeText(const Text *text); + + /** + * Destroy the manager + */ + ~TextManager(); + + /** + * Draw the text + */ + void draw(Graphics *graphics, int xOff, int yOff); + + private: + /** + * Position the text so as to avoid conflict + */ + void place(const Text *textObj, const Text *omit, + int &x, int &y, int h); + + typedef std::list TextList; /**< The container type */ + TextList mTextList; /**< The container */ +}; + +extern TextManager *textManager; +#endif diff --git a/src/textparticle.cpp b/src/textparticle.cpp index 89466006..c4b432f3 100644 --- a/src/textparticle.cpp +++ b/src/textparticle.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: textparticle.cpp 4360 2008-06-23 14:44:20Z crush_tmw $ */ #include "textparticle.h" diff --git a/src/textparticle.h b/src/textparticle.h index 34badb57..5f81abff 100644 --- a/src/textparticle.h +++ b/src/textparticle.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: textparticle.h 3539 2007-08-28 16:42:47Z b_lindeijer $ */ #ifndef _TEXTPARTICLE_H diff --git a/src/tileset.h b/src/tileset.h index 6af69235..6272d64a 100644 --- a/src/tileset.h +++ b/src/tileset.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: tileset.h 3753 2007-11-20 12:27:56Z b_lindeijer $ */ #ifndef _TMW_TILESET_H_ diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp index 9a8f6356..e98216d4 100644 --- a/src/utils/base64.cpp +++ b/src/utils/base64.cpp @@ -26,7 +26,7 @@ | Author: Jim Winstead (jimw@php.net) | +----------------------------------------------------------------------+ */ -/* $Id$ */ +/* $Id: base64.cpp 2906 2006-12-12 15:18:30Z b_lindeijer $ */ #include #include diff --git a/src/utils/base64.h b/src/utils/base64.h index ff20ac53..3356debf 100644 --- a/src/utils/base64.h +++ b/src/utils/base64.h @@ -26,7 +26,7 @@ | Author: Jim Winstead (jimw@php.net) | +----------------------------------------------------------------------+ */ -/* $Id$ */ +/* $Id: base64.h 2906 2006-12-12 15:18:30Z b_lindeijer $ */ #ifndef _TMW_BASE64_H #define _TMW_BASE64_H diff --git a/src/utils/dtor.h b/src/utils/dtor.h index f2c6c1b8..3b8aeb0e 100644 --- a/src/utils/dtor.h +++ b/src/utils/dtor.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: dtor.h 2271 2006-03-18 15:15:33Z der_doener $ */ #ifndef _TMW_UTILS_DTOR_H diff --git a/src/utils/fastsqrt.h b/src/utils/fastsqrt.h index afadb901..4513a79d 100644 --- a/src/utils/fastsqrt.h +++ b/src/utils/fastsqrt.h @@ -6,7 +6,7 @@ * * Unfortunately the original creator of this function seems to be unknown. * - * $Id$ + * $Id: fastsqrt.h 3508 2007-08-22 16:32:52Z b_lindeijer $ */ float fastInvSqrt(float x) diff --git a/src/utils/minmax.h b/src/utils/minmax.h index 427c5da7..daf18c68 100644 --- a/src/utils/minmax.h +++ b/src/utils/minmax.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: minmax.h 3628 2007-10-18 18:39:48Z b_lindeijer $ */ #include diff --git a/src/utils/tostring.h b/src/utils/tostring.h index 95b8985f..3cbeef27 100644 --- a/src/utils/tostring.h +++ b/src/utils/tostring.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: tostring.h 3500 2007-08-21 15:11:19Z joshlangley $ */ #ifndef _TMW_UTILS_TOSTRING_H diff --git a/src/utils/trim.h b/src/utils/trim.h index fec99100..7b236730 100644 --- a/src/utils/trim.h +++ b/src/utils/trim.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: trim.h 3606 2007-09-27 14:54:09Z b_lindeijer $ */ #ifndef _TMW_UTILS_TRIM_H_ diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index 98b474cb..c0b921b8 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: xml.cpp 4255 2008-05-21 21:44:27Z crush_tmw $ */ #include "xml.h" diff --git a/src/utils/xml.h b/src/utils/xml.h index 5473b2ca..c64c1204 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: xml.h 4255 2008-05-21 21:44:27Z crush_tmw $ */ #ifndef _TMW_XML_H diff --git a/src/vector.h b/src/vector.h index 7a5da241..379c50e1 100644 --- a/src/vector.h +++ b/src/vector.h @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id$ + * $Id: vector.h 3541 2007-08-29 00:31:59Z b_lindeijer $ */ #ifndef _TMW_VECTOR_H_ -- cgit v1.2.3-70-g09d2 From b1d854bfcd7d62ed7938ef404a5684f271ea4dd3 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Fri, 18 Jul 2008 22:35:01 +0000 Subject: Added support for animated shoe and glove sprites --- ChangeLog | 4 ++++ src/being.h | 1 + src/net/beinghandler.cpp | 16 ++++++++++++---- src/net/charserverhandler.cpp | 7 +++++-- 4 files changed, 22 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index 83ab07d3..c278ea45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-18 Lloyd Bryant ("Sanga") + + * Added code to provide viewable glove and shoe sprites + 2008-07-11 Douglas Boffey * Added code to avoid collision between different displayed text. diff --git a/src/being.h b/src/being.h index 2f711fb8..3ddff097 100644 --- a/src/being.h +++ b/src/being.h @@ -96,6 +96,7 @@ class Being : public Sprite TOPCLOTHES_SPRITE, HAIR_SPRITE, HAT_SPRITE, + GLOVES_SPRITE, WEAPON_SPRITE, SHIELD_SPRITE, VECTOREND_SPRITE diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index e077ab14..f48e7751 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -68,6 +68,7 @@ void BeingHandler::handleMessage(MessageIn *msg) Uint32 id; Uint16 job, speed; Uint16 headTop, headMid, headBottom; + Uint16 shoes, gloves; Sint16 param1; Sint8 type; Being *srcBeing, *dstBeing; @@ -124,8 +125,8 @@ void BeingHandler::handleMessage(MessageIn *msg) headTop = msg->readInt16(); headMid = msg->readInt16(); hairColor = msg->readInt16(); - msg->readInt16(); // clothes color -not used - msg->readInt16(); // head dir + shoes = msg->readInt16(); + gloves = msg->readInt16(); msg->readInt16(); // guild msg->readInt16(); // unknown msg->readInt16(); // unknown @@ -138,6 +139,8 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); dstBeing->setSprite(Being::HAT_SPRITE, headTop); + dstBeing->setSprite(Being::SHOE_SPRITE, shoes); + dstBeing->setSprite(Being::GLOVES_SPRITE, gloves); dstBeing->setHairStyle(hairStyle, hairColor); if (msg->getId() == SMSG_BEING_MOVE) @@ -312,6 +315,9 @@ void BeingHandler::handleMessage(MessageIn *msg) case 9: // eAthena LOOK_SHOES dstBeing->setSprite(Being::SHOE_SPRITE, id); break; + case 10: // LOOK_GLOVES + dstBeing->setSprite(Being::GLOVES_SPRITE, id); + break; default: logger->log("SMSG_BEING_CHANGE_LOOKS: unsupported type: " "%d, id: %d", type, id); @@ -360,8 +366,8 @@ void BeingHandler::handleMessage(MessageIn *msg) headTop = msg->readInt16(); headMid = msg->readInt16(); hairColor = msg->readInt16(); - msg->readInt16(); // clothes color - not used - msg->readInt16(); // head dir + shoes = msg->readInt16(); + gloves = msg->readInt16(); msg->readInt32(); // guild msg->readInt32(); // emblem msg->readInt16(); // manner @@ -372,6 +378,8 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); dstBeing->setSprite(Being::HAT_SPRITE, headTop); + dstBeing->setSprite(Being::SHOE_SPRITE, shoes); + dstBeing->setSprite(Being::GLOVES_SPRITE, gloves); dstBeing->setHairStyle(hairStyle, hairColor); if (msg->getId() == SMSG_PLAYER_MOVE) diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index 91f098ba..b421bc2b 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -191,7 +191,10 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) tempPlayer->mGp = msg.readInt32(); tempPlayer->mJobXp = msg.readInt32(); tempPlayer->mJobLevel = msg.readInt32(); - msg.skip(8); // unknown + tempPlayer->setSprite(Being::SHOE_SPRITE, msg.readInt16()); + tempPlayer->setSprite(Being::GLOVES_SPRITE, msg.readInt16()); + msg.readInt16(); // Cape + msg.readInt16(); // Misc1 msg.readInt32(); // option msg.readInt32(); // karma msg.readInt32(); // manner @@ -208,7 +211,7 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) tempPlayer->mLevel = msg.readInt16(); msg.readInt16(); // skill point tempPlayer->setSprite(Being::BOTTOMCLOTHES_SPRITE, msg.readInt16()); // head bottom - tempPlayer->setSprite(Being::SHIELD_SPRITE, msg.readInt16()); + tempPlayer->setSprite(Being::SHIELD_SPRITE, msg.readInt16()); tempPlayer->setSprite(Being::HAT_SPRITE, msg.readInt16()); // head option top tempPlayer->setSprite(Being::TOPCLOTHES_SPRITE, msg.readInt16()); // head option mid int hairColor = msg.readInt16(); -- cgit v1.2.3-70-g09d2 From e3fef730b69e4edc328e6105ea48b9774631563d Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Sat, 19 Jul 2008 07:43:43 +0000 Subject: removed unnecessary (weight) check in itemdb loader --- ChangeLog | 4 ++++ src/resources/itemdb.cpp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index c278ea45..206b3f4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-19 Lloyd Bryant ("Sanga") + + * Removed unnecessary check ("weight") from itemdb loader + 2008-07-18 Lloyd Bryant ("Sanga") * Added code to provide viewable glove and shoe sprites diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 52d19161..6ae7b499 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -127,10 +127,10 @@ void ItemDB::load() CHECK_PARAM(name, ""); CHECK_PARAM(image, ""); - // CHECK_PARAM(description, ""); - // CHECK_PARAM(effect, ""); + CHECK_PARAM(description, ""); + CHECK_PARAM(effect, ""); // CHECK_PARAM(type, 0); - CHECK_PARAM(weight, 0); + // CHECK_PARAM(weight, 0); // CHECK_PARAM(slot, 0); #undef CHECK_PARAM -- cgit v1.2.3-70-g09d2 From 1e0d803e1b6ba168874522bba11ccd7dfa7503c2 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Sat, 19 Jul 2008 22:45:23 +0000 Subject: Pulled the teeth from the stop walking packet handler --- src/net/beinghandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index f48e7751..f3c0cfb4 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -427,13 +427,18 @@ void BeingHandler::handleMessage(MessageIn *msg) if (dstBeing) { dstBeing->mX = msg->readInt16(); dstBeing->mY = msg->readInt16(); + /* + * I'm deactivating this - players are reporting that + * this makes things *worse*, not better. if (dstBeing->mAction == Being::WALK) { dstBeing->mFrame = 0; dstBeing->setAction(Being::STAND); } + */ } else { logger->log("0x0088: Non-existent being %d", id); } + break; case SMSG_PLAYER_MOVE_TO_ATTACK: -- cgit v1.2.3-70-g09d2 From 877188e5636738db262fdf55a9ed5d794ca7f5b8 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Mon, 21 Jul 2008 03:16:07 +0000 Subject: Fixed a problem with creating the updates directory --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 2b8a3882..d66350b9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -184,7 +184,7 @@ void setUpdatesDir() // Verify that the updates directory exists. Create if necessary. if (!resman->isDirectory("/" + updatesDir)) { - if (resman->mkdir("/" + updatesDir)) { + if (!resman->mkdir("/" + updatesDir)) { logger->log("Error: %s/%s can't be made, but doesn't exist!", homeDir.c_str(), updatesDir.c_str()); errorMessage = "Error creating updates directory!"; -- cgit v1.2.3-70-g09d2 From a73a655f398ae9fae01253dec1cc1f9bb1d44ea7 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Tue, 22 Jul 2008 18:05:08 +0000 Subject: Added support for the new eAthena version --- ChangeLog | 8 + src/game.cpp | 942 ++++++++++++++++++++++++----------------------- src/net/beinghandler.cpp | 28 ++ src/net/protocol.h | 4 + 4 files changed, 520 insertions(+), 462 deletions(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index 206b3f4b..90fed5cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-07-22 Lloyd Bryant ("Sanga") + + * Added handler for 0x0086 movement packet (new eAthena). + * Changed startup sequence for game.cpp to send a ping packet + to the server after all the handlers have been initialized. + This is required by the new eAthena version. + * Added #deines for some "ping" packets. + 2008-07-19 Lloyd Bryant ("Sanga") * Removed unnecessary check ("weight") from itemdb loader diff --git a/src/game.cpp b/src/game.cpp index d018852b..070cab52 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -68,6 +68,7 @@ #include "gui/status.h" #include "gui/trade.h" #include "gui/viewport.h" +#include "net/protocol.h" #include "net/beinghandler.h" #include "net/buysellhandler.h" #include "net/chathandler.h" @@ -79,6 +80,7 @@ #include "net/playerhandler.h" #include "net/skillhandler.h" #include "net/tradehandler.h" +#include "net/messageout.h" #include "resources/imagewriter.h" @@ -92,6 +94,7 @@ std::string map_path; bool done = false; volatile int tick_time; volatile int fps = 0, frame = 0; + Engine *engine = NULL; Joystick *joystick = NULL; @@ -134,14 +137,14 @@ const int MAX_TIME = 10000; namespace { struct ExitListener : public gcn::ActionListener { - void action(const gcn::ActionEvent &event) - { - if (event.getId() == "yes" || event.getId() == "ok") { - done = true; - } - exitConfirm = NULL; - disconnectedDialog = NULL; - } + void action(const gcn::ActionEvent &event) + { + if (event.getId() == "yes" || event.getId() == "ok") { + done = true; + } + exitConfirm = NULL; + disconnectedDialog = NULL; + } } exitListener; } @@ -162,16 +165,17 @@ Uint32 nextSecond(Uint32 interval, void *param) { fps = frame; frame = 0; + return interval; } int get_elapsed_time(int start_time) { if (start_time <= tick_time) { - return (tick_time - start_time) * 10; + return (tick_time - start_time) * 10; } else { - return (tick_time + (MAX_TIME - start_time)) * 10; + return (tick_time + (MAX_TIME - start_time)) * 10; } } @@ -218,7 +222,7 @@ void createGuiWindows(Network *network) if (config.getValue("logToChat", 0)) { - logger->setChatWindow(chatWindow); + logger->setChatWindow(chatWindow); } } @@ -283,14 +287,13 @@ Game::Game(Network *network): // Initialize beings beingManager->setPlayer(player_node); player_node->setNetwork(network); - engine->changeMap(map_path); Joystick::init(); // TODO: The user should be able to choose which one to use // Open the first device if (Joystick::getNumberOfJoysticks() > 0) { - joystick = new Joystick(0); + joystick = new Joystick(0); } network->registerHandler(mBeingHandler.get()); @@ -303,6 +306,21 @@ Game::Game(Network *network): network->registerHandler(mPlayerHandler.get()); network->registerHandler(mSkillHandler.get()); network->registerHandler(mTradeHandler.get()); + + /* + * To prevent the server from sending data before the client + * has initialized, I've modified it to wait for a "ping" + * from the client to complete its initialization + * + * Note: This only affects the latest eAthena version. This + * packet is handled by the older version, but its response + * is ignored by the client + */ + MessageOut msg(mNetwork); + msg.writeInt16(CMSG_CLIENT_PING); + msg.writeInt32(tick_time); + + engine->changeMap(map_path); } Game::~Game() @@ -331,30 +349,30 @@ bool saveScreenshot(SDL_Surface *screenshot) bool found = false; do { - screenshotCount++; - filename.str(""); + screenshotCount++; + filename.str(""); #if (defined __USE_UNIX98 || defined __FreeBSD__) - filename << PHYSFS_getUserDir() << ".tme/"; + filename << PHYSFS_getUserDir() << ".tme/"; #elif defined __APPLE__ - filename << PHYSFS_getUserDir() << "Desktop/"; + filename << PHYSFS_getUserDir() << "Desktop/"; #endif - filename << "TMW_Screenshot_" << screenshotCount << ".png"; - testExists.open(filename.str().c_str(), std::ios::in); - found = !testExists.is_open(); - testExists.close(); + filename << "TMW_Screenshot_" << screenshotCount << ".png"; + testExists.open(filename.str().c_str(), std::ios::in); + found = !testExists.is_open(); + testExists.close(); } while (!found); if (ImageWriter::writePNG(screenshot, filename.str())) { - std::stringstream chatlogentry; - chatlogentry << "Screenshot saved to " << filename.str().c_str(); - chatWindow->chatLog(chatlogentry.str(), BY_SERVER); - return true; + std::stringstream chatlogentry; + chatlogentry << "Screenshot saved to " << filename.str().c_str(); + chatWindow->chatLog(chatlogentry.str(), BY_SERVER); + return true; } else { - chatWindow->chatLog("Saving screenshot failed!", BY_SERVER); - return false; + chatWindow->chatLog("Saving screenshot failed!", BY_SERVER); + return false; } } @@ -378,61 +396,61 @@ void Game::logic() while (!done) { - // Handle all necessary game logic - while (get_elapsed_time(gameTime) > 0) - { - handleInput(); - engine->logic(); - gameTime++; - } - - // This is done because at some point tick_time will wrap. - gameTime = tick_time; - - // Update the screen when application is active, delay otherwise. - if (SDL_GetAppState() & SDL_APPACTIVE) - { - // Draw a frame if either frames are not limited or enough time has - // passed since the last frame. - if (!mMinFrameTime || - get_elapsed_time(mDrawTime / 10) > mMinFrameTime) - { - frame++; - gui->draw(); - graphics->updateScreen(); - mDrawTime += mMinFrameTime; - - // Make sure to wrap mDrawTime, since tick_time will wrap. - if (mDrawTime > MAX_TIME * 10) - mDrawTime -= MAX_TIME * 10; - } - else - { - SDL_Delay(10); - } - } - else - { - SDL_Delay(10); - mDrawTime = tick_time * 10; - } - - // Handle network stuff - mNetwork->flush(); - mNetwork->dispatchMessages(); - - if (!mNetwork->isConnected()) - { - if (!disconnectedDialog) - { - disconnectedDialog = new - OkDialog("Network Error", - "The connection to the server was lost, the " + // Handle all necessary game logic + while (get_elapsed_time(gameTime) > 0) + { + handleInput(); + engine->logic(); + gameTime++; + } + + // This is done because at some point tick_time will wrap. + gameTime = tick_time; + + // Update the screen when application is active, delay otherwise. + if (SDL_GetAppState() & SDL_APPACTIVE) + { + // Draw a frame if either frames are not limited or enough time has + // passed since the last frame. + if (!mMinFrameTime || + get_elapsed_time(mDrawTime / 10) > mMinFrameTime) + { + frame++; + gui->draw(); + graphics->updateScreen(); + mDrawTime += mMinFrameTime; + + // Make sure to wrap mDrawTime, since tick_time will wrap. + if (mDrawTime > MAX_TIME * 10) + mDrawTime -= MAX_TIME * 10; + } + else + { + SDL_Delay(10); + } + } + else + { + SDL_Delay(10); + mDrawTime = tick_time * 10; + } + + // Handle network stuff + mNetwork->flush(); + mNetwork->dispatchMessages(); + + if (!mNetwork->isConnected()) + { + if (!disconnectedDialog) + { + disconnectedDialog = new + OkDialog("Network Error", + "The connection to the server was lost, the " "program will now quit"); - disconnectedDialog->addActionListener(&exitListener); - disconnectedDialog->requestMoveToTop(); - } - } + disconnectedDialog->addActionListener(&exitListener); + disconnectedDialog->requestMoveToTop(); + } + } } } @@ -440,296 +458,296 @@ void Game::handleInput() { if (joystick != NULL) { - joystick->update(); + joystick->update(); } // Events SDL_Event event; while (SDL_PollEvent(&event)) { - bool used = false; - - // Keyboard events (for discontinuous keys) - if (event.type == SDL_KEYDOWN) - { - gcn::Window *requestedWindow = NULL; - - if (setupWindow->isVisible() && - keyboard.getNewKeyIndex() > keyboard.KEY_NO_VALUE) - { - keyboard.setNewKey((int) event.key.keysym.sym); - keyboard.callbackNewKey(); - keyboard.setNewKeyIndex(keyboard.KEY_NO_VALUE); - return; - } - // Keys pressed together with Alt/Meta - // Emotions and some internal gui windows - #ifndef __APPLE__ - if (event.key.keysym.mod & KMOD_ALT) - #else - if (event.key.keysym.mod & KMOD_LMETA) - #endif - { - switch (event.key.keysym.sym) - { - case SDLK_p: - // Screenshot (picture, hence the p) - { - SDL_Surface *screenshot = + bool used = false; + + // Keyboard events (for discontinuous keys) + if (event.type == SDL_KEYDOWN) + { + gcn::Window *requestedWindow = NULL; + + if (setupWindow->isVisible() && + keyboard.getNewKeyIndex() > keyboard.KEY_NO_VALUE) + { + keyboard.setNewKey((int) event.key.keysym.sym); + keyboard.callbackNewKey(); + keyboard.setNewKeyIndex(keyboard.KEY_NO_VALUE); + return; + } + // Keys pressed together with Alt/Meta + // Emotions and some internal gui windows + #ifndef __APPLE__ + if (event.key.keysym.mod & KMOD_ALT) + #else + if (event.key.keysym.mod & KMOD_LMETA) + #endif + { + switch (event.key.keysym.sym) + { + case SDLK_p: + // Screenshot (picture, hence the p) + { + SDL_Surface *screenshot = graphics->getScreenshot(); - if (!saveScreenshot(screenshot)) - { - logger-> + if (!saveScreenshot(screenshot)) + { + logger-> log("Error: could not save Screenshot."); - } - SDL_FreeSurface(screenshot); - } - used = true; - break; - - default: - break; - - case SDLK_f: - // Find path to mouse (debug purpose) - viewport->toggleDebugPath(); - used = true; - break; - - case SDLK_t: - // Toggle accepting of incoming trade requests - { - unsigned int deflt = player_relations.getDefault(); - if (deflt & PlayerRelation::TRADE) { - chatWindow-> + } + SDL_FreeSurface(screenshot); + } + used = true; + break; + + default: + break; + + case SDLK_f: + // Find path to mouse (debug purpose) + viewport->toggleDebugPath(); + used = true; + break; + + case SDLK_t: + // Toggle accepting of incoming trade requests + { + unsigned int deflt = player_relations.getDefault(); + if (deflt & PlayerRelation::TRADE) { + chatWindow-> chatLog("Ignoring incoming trade requests", BY_SERVER); - deflt &= ~PlayerRelation::TRADE; - } else { - chatWindow->chatLog("Accepting incoming trade " + deflt &= ~PlayerRelation::TRADE; + } else { + chatWindow->chatLog("Accepting incoming trade " "requests", BY_SERVER); - deflt |= PlayerRelation::TRADE; - } - - player_relations.setDefault(deflt); - } - used = true; - break; - } - - // Emotions - Uint8 emotion; - switch (event.key.keysym.sym) - { - case SDLK_1: emotion = 1; break; - case SDLK_2: emotion = 2; break; - case SDLK_3: emotion = 3; break; - case SDLK_4: emotion = 4; break; - case SDLK_5: emotion = 5; break; - case SDLK_6: emotion = 6; break; - case SDLK_7: emotion = 7; break; - case SDLK_8: emotion = 8; break; - case SDLK_9: emotion = 9; break; - case SDLK_0: emotion = 10; break; - case SDLK_MINUS: emotion = 11; break; - case SDLK_EQUALS: emotion = 12; break; - default: emotion = 0; break; - } - - if (emotion) - { - player_node->emote(emotion); - used = true; - } - } - switch (event.key.keysym.sym) - { - case SDLK_PAGEUP: - if (chatWindow->isVisible()) - { - chatWindow->scroll(-DEFAULT_CHAT_WINDOW_SCROLL); - used = true; - } - break; - - case SDLK_PAGEDOWN: - if (chatWindow->isVisible()) - { - chatWindow->scroll(DEFAULT_CHAT_WINDOW_SCROLL); - used = true; - } - break; - - case SDLK_F1: - // In-game Help - if (helpWindow->isVisible()) - { - helpWindow->setVisible(false); - } - else - { - helpWindow->loadHelp("index"); - helpWindow->requestMoveToTop(); - } - used = true; - break; - - case SDLK_F2: requestedWindow = statusWindow; break; - case SDLK_F3: requestedWindow = inventoryWindow; break; - case SDLK_F4: requestedWindow = equipmentWindow; break; - case SDLK_F5: requestedWindow = skillDialog; break; - case SDLK_F6: requestedWindow = minimap; break; - case SDLK_F7: requestedWindow = chatWindow; break; - case SDLK_F8: requestedWindow = itemShortcutWindow; break; - case SDLK_F9: requestedWindow = setupWindow; break; - case SDLK_F10: requestedWindow = debugWindow; break; - //case SDLK_F11: requestedWindow = newSkillWindow; break; - - case SDLK_RETURN: - // Input chat window - if (chatWindow->isInputFocused() || - deathNotice != NULL || - weightNotice != NULL) - { - break; - } - - // Quit by pressing Enter if the exit confirm is there - if (exitConfirm) - { - done = true; - } - // Close the Browser if opened - else if (helpWindow->isVisible()) - { - helpWindow->setVisible(false); - } - // Close the config window, cancelling changes if opened - else if (setupWindow->isVisible()) - { - setupWindow->action(gcn::ActionEvent(NULL, "cancel")); - } - // Else, open the chat edit box - else - { - chatWindow->requestChatFocus(); - used = true; - } - break; - // Quitting confirmation dialog - case SDLK_ESCAPE: - if (!exitConfirm) { - exitConfirm = new ConfirmDialog( - "Quit", "Are you sure you want to quit?"); - exitConfirm->addActionListener(&exitListener); - exitConfirm->requestMoveToTop(); - } - else - { - exitConfirm->action(gcn::ActionEvent(NULL, "no")); - } - break; - - default: - break; - } - if (keyboard.isEnabled() && !chatWindow->isInputFocused()) - { - const int tKey = keyboard.getKeyIndex(event.key.keysym.sym); - // Checks if any item shortcut is pressed. - for (int i = KeyboardConfig::KEY_SHORTCUT_0; - i <= KeyboardConfig::KEY_SHORTCUT_9; - i++) - { - if (tKey == i && !used) { - itemShortcut->useItem( - i - KeyboardConfig::KEY_SHORTCUT_0); - break; - } - } - switch (tKey) { - case KeyboardConfig::KEY_PICKUP: - { - FloorItem *item = + deflt |= PlayerRelation::TRADE; + } + + player_relations.setDefault(deflt); + } + used = true; + break; + } + + // Emotions + Uint8 emotion; + switch (event.key.keysym.sym) + { + case SDLK_1: emotion = 1; break; + case SDLK_2: emotion = 2; break; + case SDLK_3: emotion = 3; break; + case SDLK_4: emotion = 4; break; + case SDLK_5: emotion = 5; break; + case SDLK_6: emotion = 6; break; + case SDLK_7: emotion = 7; break; + case SDLK_8: emotion = 8; break; + case SDLK_9: emotion = 9; break; + case SDLK_0: emotion = 10; break; + case SDLK_MINUS: emotion = 11; break; + case SDLK_EQUALS: emotion = 12; break; + default: emotion = 0; break; + } + + if (emotion) + { + player_node->emote(emotion); + used = true; + } + } + switch (event.key.keysym.sym) + { + case SDLK_PAGEUP: + if (chatWindow->isVisible()) + { + chatWindow->scroll(-DEFAULT_CHAT_WINDOW_SCROLL); + used = true; + } + break; + + case SDLK_PAGEDOWN: + if (chatWindow->isVisible()) + { + chatWindow->scroll(DEFAULT_CHAT_WINDOW_SCROLL); + used = true; + } + break; + + case SDLK_F1: + // In-game Help + if (helpWindow->isVisible()) + { + helpWindow->setVisible(false); + } + else + { + helpWindow->loadHelp("index"); + helpWindow->requestMoveToTop(); + } + used = true; + break; + + case SDLK_F2: requestedWindow = statusWindow; break; + case SDLK_F3: requestedWindow = inventoryWindow; break; + case SDLK_F4: requestedWindow = equipmentWindow; break; + case SDLK_F5: requestedWindow = skillDialog; break; + case SDLK_F6: requestedWindow = minimap; break; + case SDLK_F7: requestedWindow = chatWindow; break; + case SDLK_F8: requestedWindow = itemShortcutWindow; break; + case SDLK_F9: requestedWindow = setupWindow; break; + case SDLK_F10: requestedWindow = debugWindow; break; + //case SDLK_F11: requestedWindow = newSkillWindow; break; + + case SDLK_RETURN: + // Input chat window + if (chatWindow->isInputFocused() || + deathNotice != NULL || + weightNotice != NULL) + { + break; + } + + // Quit by pressing Enter if the exit confirm is there + if (exitConfirm) + { + done = true; + } + // Close the Browser if opened + else if (helpWindow->isVisible()) + { + helpWindow->setVisible(false); + } + // Close the config window, cancelling changes if opened + else if (setupWindow->isVisible()) + { + setupWindow->action(gcn::ActionEvent(NULL, "cancel")); + } + // Else, open the chat edit box + else + { + chatWindow->requestChatFocus(); + used = true; + } + break; + // Quitting confirmation dialog + case SDLK_ESCAPE: + if (!exitConfirm) { + exitConfirm = new ConfirmDialog( + "Quit", "Are you sure you want to quit?"); + exitConfirm->addActionListener(&exitListener); + exitConfirm->requestMoveToTop(); + } + else + { + exitConfirm->action(gcn::ActionEvent(NULL, "no")); + } + break; + + default: + break; + } + if (keyboard.isEnabled() && !chatWindow->isInputFocused()) + { + const int tKey = keyboard.getKeyIndex(event.key.keysym.sym); + // Checks if any item shortcut is pressed. + for (int i = KeyboardConfig::KEY_SHORTCUT_0; + i <= KeyboardConfig::KEY_SHORTCUT_9; + i++) + { + if (tKey == i && !used) { + itemShortcut->useItem( + i - KeyboardConfig::KEY_SHORTCUT_0); + break; + } + } + switch (tKey) { + case KeyboardConfig::KEY_PICKUP: + { + FloorItem *item = floorItemManager->findByCoordinates( - player_node->mX, player_node->mY); - - // If none below the player, try the tile in front - // of the player - if (!item) { - Uint16 x = player_node->mX; - Uint16 y = player_node->mY; - if (player_node->getDirection() & Being::UP) - y--; - if (player_node->getDirection() & Being::DOWN) - y++; - if (player_node->getDirection() & Being::LEFT) - x--; - if (player_node->getDirection() & Being::RIGHT) - x++; - - item = floorItemManager-> + player_node->mX, player_node->mY); + + // If none below the player, try the tile in front + // of the player + if (!item) { + Uint16 x = player_node->mX; + Uint16 y = player_node->mY; + if (player_node->getDirection() & Being::UP) + y--; + if (player_node->getDirection() & Being::DOWN) + y++; + if (player_node->getDirection() & Being::LEFT) + x--; + if (player_node->getDirection() & Being::RIGHT) + x++; + + item = floorItemManager-> findByCoordinates(x, y); - } - - if (item) - player_node->pickUp(item); - - used = true; - } - break; - case KeyboardConfig::KEY_SIT: - // Player sit action - player_node->toggleSit(); - used = true; - break; - case KeyboardConfig::KEY_HIDE_WINDOWS: - // Hide certain windows - if (!chatWindow->isInputFocused()) - { - statusWindow->setVisible(false); - inventoryWindow->setVisible(false); - skillDialog->setVisible(false); - setupWindow->setVisible(false); - equipmentWindow->setVisible(false); - helpWindow->setVisible(false); - debugWindow->setVisible(false); - } - break; - } - } - - if (requestedWindow) - { - requestedWindow->setVisible(!requestedWindow->isVisible()); - if (requestedWindow->isVisible()) - { - requestedWindow->requestMoveToTop(); - } - used = true; - } - - } - - // Quit event - else if (event.type == SDL_QUIT) - { - done = true; - } - - // Push input to GUI when not used - if (!used) - { - try - { - guiInput->pushInput(event); - } - catch (gcn::Exception e) - { - const char* err = e.getMessage().c_str(); - logger->log("Warning: guichan input exception: %s", err); - } - } + } + + if (item) + player_node->pickUp(item); + + used = true; + } + break; + case KeyboardConfig::KEY_SIT: + // Player sit action + player_node->toggleSit(); + used = true; + break; + case KeyboardConfig::KEY_HIDE_WINDOWS: + // Hide certain windows + if (!chatWindow->isInputFocused()) + { + statusWindow->setVisible(false); + inventoryWindow->setVisible(false); + skillDialog->setVisible(false); + setupWindow->setVisible(false); + equipmentWindow->setVisible(false); + helpWindow->setVisible(false); + debugWindow->setVisible(false); + } + break; + } + } + + if (requestedWindow) + { + requestedWindow->setVisible(!requestedWindow->isVisible()); + if (requestedWindow->isVisible()) + { + requestedWindow->requestMoveToTop(); + } + used = true; + } + + } + + // Quit event + else if (event.type == SDL_QUIT) + { + done = true; + } + + // Push input to GUI when not used + if (!used) + { + try + { + guiInput->pushInput(event); + } + catch (gcn::Exception e) + { + const char* err = e.getMessage().c_str(); + logger->log("Warning: guichan input exception: %s", err); + } + } } // End while // If the user is configuring the keys then don't respond. @@ -739,112 +757,112 @@ void Game::handleInput() } // Moving player around if (player_node->mAction != Being::DEAD && - current_npc == 0 && - !chatWindow->isInputFocused()) + current_npc == 0 && + !chatWindow->isInputFocused()) + { + // Get the state of the keyboard keys + keyboard.refreshActiveKeys(); + + const Uint16 x = player_node->mX; + const Uint16 y = player_node->mY; + unsigned char direction = 0; + + // Translate pressed keys to movement and direction + if (keyboard.isKeyActive(keyboard.KEY_MOVE_UP) || + (joystick && joystick->isUp())) + { + direction |= Being::UP; + } + else if (keyboard.isKeyActive(keyboard.KEY_MOVE_DOWN) || + (joystick && joystick->isDown())) + { + direction |= Being::DOWN; + } + + if (keyboard.isKeyActive(keyboard.KEY_MOVE_LEFT) || + (joystick && joystick->isLeft())) + { + direction |= Being::LEFT; + } + else if (keyboard.isKeyActive(keyboard.KEY_MOVE_RIGHT) || + (joystick && joystick->isRight())) + { + direction |= Being::RIGHT; + } + + player_node->setWalkingDir(direction); + + // Attacking monsters + if (keyboard.isKeyActive(keyboard.KEY_ATTACK) || + (joystick && joystick->buttonPressed(0))) { - // Get the state of the keyboard keys - keyboard.refreshActiveKeys(); - - const Uint16 x = player_node->mX; - const Uint16 y = player_node->mY; - unsigned char direction = 0; - - // Translate pressed keys to movement and direction - if (keyboard.isKeyActive(keyboard.KEY_MOVE_UP) || - (joystick && joystick->isUp())) - { - direction |= Being::UP; - } - else if (keyboard.isKeyActive(keyboard.KEY_MOVE_DOWN) || - (joystick && joystick->isDown())) - { - direction |= Being::DOWN; - } - - if (keyboard.isKeyActive(keyboard.KEY_MOVE_LEFT) || - (joystick && joystick->isLeft())) - { - direction |= Being::LEFT; - } - else if (keyboard.isKeyActive(keyboard.KEY_MOVE_RIGHT) || - (joystick && joystick->isRight())) - { - direction |= Being::RIGHT; - } - - player_node->setWalkingDir(direction); - - // Attacking monsters - if (keyboard.isKeyActive(keyboard.KEY_ATTACK) || - (joystick && joystick->buttonPressed(0))) - { - Being *target = NULL; - bool newTarget = keyboard.isKeyActive(keyboard.KEY_TARGET); - // A set target has highest priority - if (newTarget || !player_node->getTarget()) - { - Uint16 targetX = x, targetY = y; - - if (player_node->getDirection() & Being::UP) - targetY--; - if (player_node->getDirection() & Being::DOWN) - targetY++; - if (player_node->getDirection() & Being::LEFT) - targetX--; - if (player_node->getDirection() & Being::RIGHT) - targetX++; - - // Attack priorioty is: Monster, Player, auto target - target = beingManager->findBeing( - targetX, targetY, Being::MONSTER); - if (!target) - target = beingManager->findBeing( - targetX, targetY, Being::PLAYER); - } - - player_node->attack(target, newTarget); - } - - // Target the nearest player if 'q' is pressed - if ( keyboard.isKeyActive(keyboard.KEY_TARGET_PLAYER) ) - //if (keys[SDLK_q]) - { - Being *target = - beingManager-> + Being *target = NULL; + bool newTarget = keyboard.isKeyActive(keyboard.KEY_TARGET); + // A set target has highest priority + if (newTarget || !player_node->getTarget()) + { + Uint16 targetX = x, targetY = y; + + if (player_node->getDirection() & Being::UP) + targetY--; + if (player_node->getDirection() & Being::DOWN) + targetY++; + if (player_node->getDirection() & Being::LEFT) + targetX--; + if (player_node->getDirection() & Being::RIGHT) + targetX++; + + // Attack priorioty is: Monster, Player, auto target + target = beingManager->findBeing( + targetX, targetY, Being::MONSTER); + if (!target) + target = beingManager->findBeing( + targetX, targetY, Being::PLAYER); + } + + player_node->attack(target, newTarget); + } + + // Target the nearest player if 'q' is pressed + if ( keyboard.isKeyActive(keyboard.KEY_TARGET_PLAYER) ) + //if (keys[SDLK_q]) + { + Being *target = + beingManager-> findNearestLivingBeing(player_node, 20, Being::PLAYER); - if (target) - { - player_node->setTarget(target); - } - } - - // Target the nearest monster if 'a' pressed - if ( keyboard.isKeyActive(keyboard.KEY_TARGET_CLOSEST) ) - //if (keys[SDLK_a]) - { - Being *target = - beingManager->findNearestLivingBeing(x, y, 20, Being::MONSTER); - - if (target) - { - player_node->setTarget(target); - } - } - - if (joystick) - { - if (joystick->buttonPressed(1)) - { - FloorItem *item = floorItemManager->findByCoordinates(x, y); - - if (item) - player_node->pickUp(item); - } - else if (joystick->buttonPressed(2)) - { - player_node->toggleSit(); - } - } + if (target) + { + player_node->setTarget(target); + } + } + + // Target the nearest monster if 'a' pressed + if ( keyboard.isKeyActive(keyboard.KEY_TARGET_CLOSEST) ) + //if (keys[SDLK_a]) + { + Being *target = + beingManager->findNearestLivingBeing(x, y, 20, Being::MONSTER); + + if (target) + { + player_node->setTarget(target); + } + } + + if (joystick) + { + if (joystick->buttonPressed(1)) + { + FloorItem *item = floorItemManager->findByCoordinates(x, y); + + if (item) + player_node->pickUp(item); + } + else if (joystick->buttonPressed(2)) + { + player_node->toggleSit(); + } + } } } diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index f3c0cfb4..778c8cfe 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -45,6 +45,7 @@ BeingHandler::BeingHandler() static const Uint16 _messages[] = { SMSG_BEING_VISIBLE, SMSG_BEING_MOVE, + SMSG_BEING_MOVE2, SMSG_BEING_REMOVE, SMSG_BEING_ACTION, SMSG_BEING_LEVELUP, @@ -164,6 +165,33 @@ void BeingHandler::handleMessage(MessageIn *msg) msg->readInt8(); // unknown / sit break; + case SMSG_BEING_MOVE2: + /* + * A simplified movement packet, used by the + * later versions of eAthena for both mobs and + * players + */ + dstBeing = beingManager->findBeing(msg->readInt32()); + + Uint16 srcX, srcY, dstX, dstY; + msg->readCoordinatePair(srcX, srcY, dstX, dstY); + msg->readInt32(); // Server tick + + /* + * This packet doesn't have enough info to actually + * create a new being, so if the being isn't found, + * we'll just pretend the packet didn't happen + */ + + if (dstBeing) { + dstBeing->setAction(Being::STAND); + dstBeing->mX = srcX; + dstBeing->mY = srcY; + dstBeing->setDestination(dstX, dstY); + } + + break; + case SMSG_BEING_REMOVE: // A being should be removed or has died dstBeing = beingManager->findBeing(msg->readInt32()); diff --git a/src/net/protocol.h b/src/net/protocol.h index f90fcba3..53f245b5 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -26,6 +26,7 @@ // Packets from server to client #define SMSG_LOGIN_SUCCESS 0x0073 /**< Contains starting location */ +#define SMSG_SERVER_PING 0x007f /**< Contains server tick */ #define SMSG_PLAYER_UPDATE_1 0x01d8 #define SMSG_PLAYER_UPDATE_2 0x01d9 #define SMSG_PLAYER_MOVE 0x01da /**< A nearby player moves */ @@ -57,6 +58,8 @@ #define SMSG_ITEM_REMOVE 0x00a1 /**< An item disappers */ #define SMSG_BEING_VISIBLE 0x0078 #define SMSG_BEING_MOVE 0x007b /**< A nearby monster moves */ +#define SMSG_BEING_SPAWN 0x007c /**< A being spawns nearby */ +#define SMSG_BEING_MOVE2 0x0086 /**< New eAthena being moves */ #define SMSG_BEING_REMOVE 0x0080 #define SMSG_BEING_CHANGE_LOOKS 0x00c3 #define SMSG_BEING_CHANGE_LOOKS2 0x01d7 /**< Same as 0x00c3, but 16 bit ID */ @@ -102,6 +105,7 @@ #define SMSG_PARTY_MESSAGE 0x0109 // Packets from client to server +#define CMSG_CLIENT_PING 0x007e /**< Send to server with tick */ #define CMSG_TRADE_RESPONSE 0x00e6 #define CMSG_ITEM_PICKUP 0x009f #define CMSG_MAP_LOADED 0x007d -- cgit v1.2.3-70-g09d2 From c9b01f907d3720ad96b2435d00a47d31e1955f53 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Wed, 23 Jul 2008 17:24:18 +0000 Subject: Added viewable cape/misc1/misc2, Chat button in GUI --- ChangeLog | 6 ++++++ src/being.h | 3 +++ src/gui/menuwindow.cpp | 8 +++++++- src/net/beinghandler.cpp | 31 +++++++++++++++++++++++-------- 4 files changed, 39 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index 90fed5cd..849ecd2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-23 Lloyd Bryant ("Sanga") + + * Added "chat" button to open/close chat window + * Added support for viewable cape/misc1/misc2 (new eAthena + version ONLY + 2008-07-22 Lloyd Bryant ("Sanga") * Added handler for 0x0086 movement packet (new eAthena). diff --git a/src/being.h b/src/being.h index 3ddff097..90bab9ac 100644 --- a/src/being.h +++ b/src/being.h @@ -94,8 +94,11 @@ class Being : public Sprite SHOE_SPRITE, BOTTOMCLOTHES_SPRITE, TOPCLOTHES_SPRITE, + MISC1_SPRITE, + MISC2_SPRITE, HAIR_SPRITE, HAT_SPRITE, + CAPE_SPRITE, GLOVES_SPRITE, WEAPON_SPRITE, SHIELD_SPRITE, diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp index c3af6896..2d07e632 100644 --- a/src/gui/menuwindow.cpp +++ b/src/gui/menuwindow.cpp @@ -36,6 +36,7 @@ extern Window *equipmentWindow; extern Window *skillDialog; extern Window *statusWindow; extern Window *itemShortcutWindow; +extern Window *chatWindow; namespace { struct MenuWindowListener : public gcn::ActionListener @@ -58,6 +59,7 @@ MenuWindow::MenuWindow(): // Buttons const char *buttonNames[] = { + "Chat", "Status", "Equipment", "Inventory", @@ -91,7 +93,11 @@ void MenuWindowListener::action(const gcn::ActionEvent &event) { Window *window = NULL; - if (event.getId() == "Status") + if (event.getId() == "Chat") + { + window = chatWindow; + } + else if (event.getId() == "Status") { window = statusWindow; } diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 778c8cfe..048b7428 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -69,7 +69,8 @@ void BeingHandler::handleMessage(MessageIn *msg) Uint32 id; Uint16 job, speed; Uint16 headTop, headMid, headBottom; - Uint16 shoes, gloves; + Uint16 shoes, gloves, cape, misc1, misc2; + Uint16 weapon, shield; Sint16 param1; Sint8 type; Being *srcBeing, *dstBeing; @@ -82,8 +83,8 @@ void BeingHandler::handleMessage(MessageIn *msg) // Information about a being in range id = msg->readInt32(); speed = msg->readInt16(); - msg->readInt16(); // unknown - msg->readInt16(); // unknown + msg->readInt16(); // opt1 + msg->readInt16(); // opt2 msg->readInt16(); // option job = msg->readInt16(); // class @@ -346,6 +347,15 @@ void BeingHandler::handleMessage(MessageIn *msg) case 10: // LOOK_GLOVES dstBeing->setSprite(Being::GLOVES_SPRITE, id); break; + case 11: // LOOK_CAPE + dstBeing->setSprite(Being::CAPE_SPRITE, id); + break; + case 12: + dstBeing->setSprite(Being::MISC1_SPRITE, id); + break; + case 13: + dstBeing->setSprite(Being::MISC2_SPRITE, id); + break; default: logger->log("SMSG_BEING_CHANGE_LOOKS: unsupported type: " "%d, id: %d", type, id); @@ -367,9 +377,9 @@ void BeingHandler::handleMessage(MessageIn *msg) // An update about a player, potentially including movement. id = msg->readInt32(); speed = msg->readInt16(); - msg->readInt16(); // option 1 - msg->readInt16(); // option 2 - msg->readInt16(); // option + cape = msg->readInt16(); + misc1 = msg->readInt16(); + misc2 = msg->readInt16(); job = msg->readInt16(); dstBeing = beingManager->findBeing(id); @@ -382,8 +392,8 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setWalkSpeed(speed); dstBeing->mJob = job; hairStyle = msg->readInt16(); - dstBeing->setSprite(Being::WEAPON_SPRITE, msg->readInt16()); - dstBeing->setSprite(Being::SHIELD_SPRITE, msg->readInt16()); + weapon = msg->readInt16(); + shield = msg->readInt16(); headBottom = msg->readInt16(); if (msg->getId() == SMSG_PLAYER_MOVE) @@ -403,11 +413,16 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setGender(1 - msg->readInt8()); // gender // Set these after the gender, as the sprites may be gender-specific + dstBeing->setSprite(Being::WEAPON_SPRITE, weapon); + dstBeing->setSprite(Being::SHIELD_SPRITE, shield); dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom); dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); dstBeing->setSprite(Being::HAT_SPRITE, headTop); dstBeing->setSprite(Being::SHOE_SPRITE, shoes); dstBeing->setSprite(Being::GLOVES_SPRITE, gloves); + dstBeing->setSprite(Being::CAPE_SPRITE, cape); + dstBeing->setSprite(Being::MISC1_SPRITE, misc1); + dstBeing->setSprite(Being::MISC2_SPRITE, misc2); dstBeing->setHairStyle(hairStyle, hairColor); if (msg->getId() == SMSG_PLAYER_MOVE) -- cgit v1.2.3-70-g09d2 From 475d46b774e9d9ebecf6ee9403e030414b2f7e3f Mon Sep 17 00:00:00 2001 From: Douglas Boffey Date: Wed, 23 Jul 2008 17:52:16 +0000 Subject: Updated item database, Selim and network.cpp --- src/net/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/net/network.cpp b/src/net/network.cpp index 4db0df54..efb11708 100644 --- a/src/net/network.cpp +++ b/src/net/network.cpp @@ -296,7 +296,7 @@ MessageIn Network::getNextMessage() len = readWord(2); #ifdef DEBUG - logger->log("Received packet 0x%x of length %d", msgId, length); + logger->log("Received packet 0x%x of length %d", msgId, len); #endif MessageIn msg(mInBuffer, len); -- cgit v1.2.3-70-g09d2 From 8726fbf5c15602b39ec31810c3dbff02826116b9 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Wed, 23 Jul 2008 18:13:31 +0000 Subject: Changed tmw.log to tme.log for log file --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index d66350b9..213e2939 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -221,7 +221,7 @@ void init_engine(const Options &options) } // Set log file - logger->setLogFile(homeDir + std::string("/tmw.log")); + logger->setLogFile(homeDir + std::string("/tme.log")); #ifdef PACKAGE_VERSION logger->log("Starting The Mana World Version %s", PACKAGE_VERSION); -- cgit v1.2.3-70-g09d2 From cd0659cb30e2f242f42c7f464c8051bdaa566b9b Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Thu, 24 Jul 2008 03:39:32 +0000 Subject: Added cape/misc1/misc2 code into character selection display --- ChangeLog | 5 +++++ src/net/charserverhandler.cpp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index 849ecd2b..6fe89c17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-23 Lloyd Bryant ("Sanga") + + * Added support for capes/misc1/misc2 into the character + selection display + 2008-07-23 Lloyd Bryant ("Sanga") * Added "chat" button to open/close chat window diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index b421bc2b..d3ad0d92 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -193,8 +193,8 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) tempPlayer->mJobLevel = msg.readInt32(); tempPlayer->setSprite(Being::SHOE_SPRITE, msg.readInt16()); tempPlayer->setSprite(Being::GLOVES_SPRITE, msg.readInt16()); - msg.readInt16(); // Cape - msg.readInt16(); // Misc1 + tempPlayer->setSprite(Being::CAPE_SPRITE, msg.readInt16()); + tempPlayer->setSprite(Being::MISC1_SPRITE, msg.readInt16()); msg.readInt32(); // option msg.readInt32(); // karma msg.readInt32(); // manner @@ -216,7 +216,7 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) tempPlayer->setSprite(Being::TOPCLOTHES_SPRITE, msg.readInt16()); // head option mid int hairColor = msg.readInt16(); tempPlayer->setHairStyle(hairStyle, hairColor); - msg.readInt16(); // unknown + tempPlayer->setSprite(Being::MISC2_SPRITE, msg.readInt16()); tempPlayer->setName(msg.readString(24)); for (int i = 0; i < 6; i++) { tempPlayer->mAttr[i] = msg.readInt8(); -- cgit v1.2.3-70-g09d2 From 83f233b27ea4fdd5e9b16685af5c55eab8b0d295 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Thu, 24 Jul 2008 13:59:50 +0000 Subject: Bugfix for visual glitch when using TMW server --- ChangeLog | 5 +++++ src/net/beinghandler.cpp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index 6fe89c17..907993d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-24 Lloyd Bryant ("Sanga") + + * Tweak in net/beinghandler.cpp to compensate for a visual + bug when using the TMW server. + 2008-07-23 Lloyd Bryant ("Sanga") * Added support for capes/misc1/misc2 into the character diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 048b7428..00053083 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -419,7 +419,9 @@ void BeingHandler::handleMessage(MessageIn *msg) dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid); dstBeing->setSprite(Being::HAT_SPRITE, headTop); dstBeing->setSprite(Being::SHOE_SPRITE, shoes); - dstBeing->setSprite(Being::GLOVES_SPRITE, gloves); + // Compensation for the unpatched TMW server + if (gloves > 10) + dstBeing->setSprite(Being::GLOVES_SPRITE, gloves); dstBeing->setSprite(Being::CAPE_SPRITE, cape); dstBeing->setSprite(Being::MISC1_SPRITE, misc1); dstBeing->setSprite(Being::MISC2_SPRITE, misc2); -- cgit v1.2.3-70-g09d2 From b7bc2f74f4f2253bd67b2d51fa3d2c47d648453e Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Fri, 25 Jul 2008 17:00:48 +0000 Subject: Applied patch by ElvenProgrammer to remember window locations between sessions --- ChangeLog | 5 +++++ src/game.cpp | 13 +++++++++---- src/gui/buy.cpp | 1 + src/gui/itemshortcutwindow.cpp | 2 +- src/gui/sell.cpp | 1 + src/gui/window.cpp | 2 ++ 6 files changed, 19 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/ChangeLog b/ChangeLog index 907993d9..6ca075b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-25 Lloyd Bryant ("Sanga") + + * Added feature to remember window locations from one + session to the next (patch from TMW by ElvenProgrammer) + 2008-07-24 Lloyd Bryant ("Sanga") * Tweak in net/beinghandler.cpp to compensate for a visual diff --git a/src/game.cpp b/src/game.cpp index 070cab52..2522c6e5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -215,10 +215,15 @@ void createGuiWindows(Network *network) //buddyWindow->setPosition(10, minimap->getHeight() + 30); // Set initial window visibility - chatWindow->setVisible(true); - miniStatusWindow->setVisible(true); - menuWindow->setVisible(true); - itemShortcutWindow->setVisible(true); + chatWindow->setVisible((bool) config.getValue( + chatWindow->getWindowName() + "Visible", true)); + miniStatusWindow->setVisible((bool) config.getValue( + miniStatusWindow->getWindowName() + "Visible", + true)); + menuWindow->setVisible((bool) config.getValue( + menuWindow->getWindowName() + "Visible", true)); + itemShortcutWindow->setVisible((bool) config.getValue( + itemShortcutWindow->getWindowName() + "Visible", true)); if (config.getValue("logToChat", 0)) { diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index 24acf2d1..0e48ea29 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -42,6 +42,7 @@ BuyDialog::BuyDialog(Network *network): Window("Buy"), mNetwork(network), mMoney(0), mAmountItems(0), mMaxItems(0) { + setWindowName("Buy"); setResizable(true); setMinWidth(260); setMinHeight(230); diff --git a/src/gui/itemshortcutwindow.cpp b/src/gui/itemshortcutwindow.cpp index 31f3bf4e..394fcbb7 100644 --- a/src/gui/itemshortcutwindow.cpp +++ b/src/gui/itemshortcutwindow.cpp @@ -30,7 +30,7 @@ static const int SCROLL_PADDING = 0; ItemShortcutWindow::ItemShortcutWindow() { - setWindowName("itemShortcut"); + setWindowName("ItemShortcut"); // no title presented, title bar is padding so window can be moved. gcn::Window::setTitleBarHeight(gcn::Window::getPadding()); setShowTitle(false); diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index 5f64fcea..9fed52f3 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -48,6 +48,7 @@ SellDialog::SellDialog(Network *network): mNetwork(network), mMaxItems(0), mAmountItems(0) { + setWindowName("Sell"); setResizable(true); setMinWidth(260); setMinHeight(230); diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 4f94b3fb..55dac5e0 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -137,6 +137,7 @@ Window::~Window() // Saving X, Y and Width and Height for resizables in the config config.setValue(name + "WinX", getX()); config.setValue(name + "WinY", getY()); + config.setValue(name + "Visible", isVisible()); if (mGrip) { @@ -476,6 +477,7 @@ Window::loadWindowState() setPosition((int) config.getValue(name + "WinX", mDefaultX), (int) config.getValue(name + "WinY", mDefaultY)); + setVisible((bool) config.getValue(name + "Visible", false)); if (mGrip) { -- cgit v1.2.3-70-g09d2 From 0287bf686f04b9aecd5e7c719a153a01313e69d9 Mon Sep 17 00:00:00 2001 From: Douglas Boffey Date: Sun, 27 Jul 2008 18:48:35 +0000 Subject: Changed files to tme --- AUTHORS | 19 + CMakeLists.txt | 4 +- INSTALL | 30 +- ManaExperiment.vcproj | 876 +++++++++++ ManaWorld.vcproj | 876 ----------- README | 6 +- The Mana Experiment.dev | 2859 ++++++++++++++++++++++++++++++++++ The Mana World.dev | 2869 ----------------------------------- configure.ac | 6 +- data/Makefile.am | 2 +- data/icons/Makefile.am | 6 +- data/icons/The Mana Experiment.icns | Bin 0 -> 65136 bytes data/icons/The Mana World.icns | Bin 65136 -> 0 bytes data/icons/tme.ico | Bin 0 -> 22382 bytes data/icons/tme.png | Bin 0 -> 18176 bytes data/icons/tme.xpm | 784 ++++++++++ data/icons/tmw.ico | Bin 22382 -> 0 bytes data/icons/tmw.png | Bin 18176 -> 0 bytes data/icons/tmw.xpm | 784 ---------- debian/control | 10 +- debian/rules | 2 +- debian/tme-data.install | 5 + debian/tme.docs | 6 + debian/tme.install | 5 + debian/tme.menu | 4 + debian/tme.sgml | 149 ++ debian/tme.xpm | 776 ++++++++++ debian/tmw-data.install | 5 - debian/tmw.desktop | 15 - debian/tmw.docs | 6 - debian/tmw.install | 5 - debian/tmw.menu | 4 - debian/tmw.sgml | 149 -- debian/tmw.xpm | 776 ---------- docs/FAQ.txt | 27 +- docs/HACKING.txt | 6 +- docs/INSTALL/debian.txt | 30 +- docs/INSTALL/win32.txt | 40 +- docs/Makefile.am | 4 +- docs/SOURCE/tme.doxcfg | 1153 ++++++++++++++ docs/SOURCE/tmedox.sh | 1 + docs/SOURCE/tmw.doxcfg | 1153 -------------- docs/SOURCE/tmwdox.sh | 1 - docs/packages.txt | 34 +- docs/sounddev.txt | 10 +- docs/win32-release.txt | 8 +- src/CMakeLists.txt | 10 +- src/Makefile.am | 18 +- src/main.cpp | 29 +- src/main.h | 4 +- src/resources/resourcemanager.cpp | 6 +- src/tme.rc | 23 + src/tmw.rc | 23 - tme.cbp | 383 +++++ tmw.cbp | 364 ----- 55 files changed, 7184 insertions(+), 7181 deletions(-) create mode 100644 ManaExperiment.vcproj delete mode 100644 ManaWorld.vcproj create mode 100644 The Mana Experiment.dev delete mode 100644 The Mana World.dev create mode 100644 data/icons/The Mana Experiment.icns delete mode 100644 data/icons/The Mana World.icns create mode 100644 data/icons/tme.ico create mode 100644 data/icons/tme.png create mode 100644 data/icons/tme.xpm delete mode 100644 data/icons/tmw.ico delete mode 100644 data/icons/tmw.png delete mode 100644 data/icons/tmw.xpm create mode 100644 debian/tme-data.install create mode 100644 debian/tme.docs create mode 100644 debian/tme.install create mode 100644 debian/tme.menu create mode 100644 debian/tme.sgml create mode 100644 debian/tme.xpm delete mode 100644 debian/tmw-data.install delete mode 100644 debian/tmw.desktop delete mode 100644 debian/tmw.docs delete mode 100644 debian/tmw.install delete mode 100644 debian/tmw.menu delete mode 100644 debian/tmw.sgml delete mode 100644 debian/tmw.xpm create mode 100644 docs/SOURCE/tme.doxcfg create mode 100644 docs/SOURCE/tmedox.sh delete mode 100644 docs/SOURCE/tmw.doxcfg delete mode 100644 docs/SOURCE/tmwdox.sh create mode 100644 src/tme.rc delete mode 100644 src/tmw.rc create mode 100644 tme.cbp delete mode 100644 tmw.cbp (limited to 'src') diff --git a/AUTHORS b/AUTHORS index 19d28884..d3349490 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,22 @@ +--------------------------- +The Mana xperiment Dev Team +--------------------------- + + Blameu aka Kevin Day (blame582@gmail.com) + +== Programmers == + + Sanga + Scraggy + Kraant + +== Artists == + + +== Map Designers == + + Ichigo Black + ----------------------- The Mana World Dev Team ----------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 13399ef9..8181f6b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -PROJECT(TMW) +PROJECT(TME) SET(VERSION 0.0.24.1) @@ -18,4 +18,4 @@ ENDIF (WIN32) ADD_SUBDIRECTORY(data) ADD_SUBDIRECTORY(src) -INSTALL(FILES tmw.desktop DESTINATION share/applications) +INSTALL(FILES tme.desktop DESTINATION share/applications) diff --git a/INSTALL b/INSTALL index 81c2d148..aeb81213 100644 --- a/INSTALL +++ b/INSTALL @@ -1,20 +1,20 @@ -How to compile and run TMW on your GNU/Linux Box +How to compile and run TME on your GNU/Linux Box ================================================ -Homepage: http://themanaworld.org/ -IRC: irc.freenode.net / #themanaworld +Homepage: http://209.168.213.109/ +IRC: irc.freenode.net / #themanaexperiment 1) Requirements -2) Compiling The Mana World +2) Compiling The Mana Experiment 3) Notes 1. Requirements =============== -You are expected to have either checked out TMW from CVS or you have downloaded -a source release. To get The Mana World to compile, you need a compiler (GCC) -and some libraries. The required libraries are: +You are expected to have either checked out TME from CVS or you have downloaded +a source release. To get The Mana Experiment to compile, you need a compiler +(GCC) and some libraries. The required libraries are: * SDL http://www.libsdl.org/ * SDL_mixer http://www.libsdl.org/projects/SDL_mixer/ @@ -26,7 +26,7 @@ and some libraries. The required libraries are: * zlib 1.2.x http://www.gzip.org/zlib/ * libcurl http://curl.haxx.se/libcurl/ -If you checked TMW out from Subversion you will also need these tools to +If you checked TME out from Subversion you will also need these tools to compile: * GNU automake 1.9 http://www.gnu.org/software/automake/ @@ -36,8 +36,8 @@ Installing these dependencies is distributions-specific, and we'll leave it to you to figure this out. -2. Compiling And Installing The Mana World -========================================== +2. Compiling And Installing The Mana Experiment +=============================================== 1) Go to the directory you have extracted the source to. 2) If you checked out from SVN, run "./autogen.sh" to generate configure. @@ -45,12 +45,12 @@ you to figure this out. 4) Run "make" 5) Run "make install" as root -It should have installed The Mana World on your system now, and you can run it -with "tmw". By default all files are installed to /usr/local, you can pass a -different prefix to configure as usual. +It should have installed The Mana Experiment on your system now, and you can +run it with "tme". By default all files are installed to /usr/local, you can +pass a different prefix to configure as usual. - NOTE: It is possible to compile TMW without support for OpenGL rendering. + NOTE: It is possible to compile TME without support for OpenGL rendering. To do this perform step 3 as follows: ./configure --without-opengl @@ -64,4 +64,4 @@ different prefix to configure as usual. If you have any problems, you are welcome to post your questions on our forums, or talk about them in our IRC channel. -- The Mana World Dev Team +- The Mana Experiment Dev Team diff --git a/ManaExperiment.vcproj b/ManaExperiment.vcproj new file mode 100644 index 00000000..6612e1a1 --- /dev/null +++ b/ManaExperiment.vcproj @@ -0,0 +1,876 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ManaWorld.vcproj b/ManaWorld.vcproj deleted file mode 100644 index 478a345c..00000000 --- a/ManaWorld.vcproj +++ /dev/null @@ -1,876 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/README b/README index 98772d58..88da7d97 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -THE MANA WORLD -============== +THE MANA EXPERIMENT +=================== Version: 0.0.24.1 Date: 7/4/2007 @@ -122,7 +122,7 @@ level 10: enables not used If you're having troubles, please first of all read the FAQ. If you can't find a solution to your problem, feel free to check our Bugs/Support section of the forum: -- http://216.139.126.36/forums +- http://209.168.213.109/forums or come visit us on our IRC channel: - #themanaexperiment @ irc.freenode.net diff --git a/The Mana Experiment.dev b/The Mana Experiment.dev new file mode 100644 index 00000000..0a0acf8a --- /dev/null +++ b/The Mana Experiment.dev @@ -0,0 +1,2859 @@ +[Project] +FileName=The Mana Experiment.dev +Name=tme +UnitCount=277 +Type=0 +Ver=1 +ObjFiles= +Includes= +Libs= +PrivateResource=The_Mana_Experiment_private.rc +ResourceIncludes= +MakeIncludes= +Compiler= +CppCompiler=-DUSE_OPENGL_@@_-Wall_@@_ +Linker=-lguichan_@@_-lguichan_sdl_@@_-lguichan_opengl_@@_-lwsock32_@@_-lSDL_image.dll_@@_-lSDL_mixer.dll_@@_-lSDL_net.dll_@@_-lmingw32_@@_-lSDLmain_@@_-lSDL.dll_@@_-lxml2.dll_@@_-lopengl32_@@_-lpng12.dll_@@_-lz.dll_@@_-lphysfs_@@_-lcurl.dll_@@_ +IsCpp=1 +Icon= +ExeOutput= +ObjectOutput=obj +OverrideOutput=1 +OverrideOutputName=tme.exe +HostApplication= +Folders=gui,gui/header,gui/source,header,header/widgets,net,net/header,net/source,resources,utils +CommandLine= +UseCustomMakefile=0 +CustomMakefile= +IncludeVersionInfo=0 +SupportXPThemes=0 +CompilerSet=0 +CompilerSettings=0010001001000001001101 + +[VersionInfo] +Major=0 +Minor=0 +Release=0 +Build=0 +LanguageID=1033 +CharsetID=1252 +CompanyName= +FileVersion= +FileDescription= +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion= +AutoIncBuildNr=0 + +[Unit8] +FileName=src\floor_item.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit13] +FileName=src\graphics.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit17] +FileName=src\main.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit25] +FileName=src\gui\button.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit29] +FileName=src\gui\buysell.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit30] +FileName=src\gui\char_select.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit32] +FileName=src\gui\char_server.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit6] +FileName=src\engine.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit7] +FileName=src\engine.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit3] +FileName=src\being.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit4] +FileName=src\configuration.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit5] +FileName=src\configuration.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit14] +FileName=src\log.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit43] +FileName=src\gui\confirm_dialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit44] +FileName=src\gui\equipmentwindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit46] +FileName=src\gui\gui.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit45] +FileName=src\gui\equipmentwindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit49] +FileName=src\gui\item_amount.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit50] +FileName=src\gui\itemcontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit55] +FileName=src\gui\minimap.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit56] +FileName=src\gui\npc_text.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit60] +FileName=src\gui\passwordfield.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit69] +FileName=src\gui\scrollarea.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit70] +FileName=src\gui\sell.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit71] +FileName=src\gui\sell.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit72] +FileName=src\gui\setup.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit73] +FileName=src\gui\setup.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit74] +FileName=src\gui\shop.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit41] +FileName=src\gui\checkbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit77] +FileName=src\gui\skill.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit78] +FileName=src\gui\slider.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit79] +FileName=src\gui\slider.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit80] +FileName=src\gui\status.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit81] +FileName=src\gui\status.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit82] +FileName=src\gui\textbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit84] +FileName=src\gui\textfield.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit85] +FileName=src\gui\textfield.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit86] +FileName=src\gui\trade.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit89] +FileName=src\gui\window.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit90] +FileName=src\gui\windowcontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit91] +FileName=src\net\network.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit92] +FileName=src\net\network.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit93] +FileName=src\net\protocol.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit94] +FileName=src\net\protocol.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit95] +FileName=src\resources\soundeffect.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit96] +FileName=src\resources\buddylist.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit42] +FileName=src\gui\confirm_dialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit97] +FileName=src\resources\buddylist.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit98] +FileName=src\resources\image.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit99] +FileName=src\resources\image.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit100] +FileName=src\resources\iteminfo.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit101] +FileName=src\resources\mapreader.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit102] +FileName=src\resources\mapreader.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit103] +FileName=src\resources\music.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit104] +FileName=src\resources\music.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit106] +FileName=src\resources\resource.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit109] +FileName=src\resources\soundeffect.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit113] +FileName=src\gui\item_amount.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit111] +FileName=src\gui\help.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit112] +FileName=src\gui\inttextbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit113] +FileName=src\gui\inttextbox.h +CompileCpp=1 +Folder=gui/header +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= +Compile=1 + +[Unit114] +FileName=src\gui\focushandler.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit115] +FileName=src\gui\focushandler.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit116] +FileName=src\gui\popupmenu.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit117] +FileName=src\gui\popupmenu.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit118] +FileName=src\gui\browserbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit119] +FileName=src\gui\browserbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit120] +FileName=src\gui\updatewindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit121] +FileName=src\gui\updatewindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit122] +FileName=src\gui\box.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit124] +FileName=src\item.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit125] +FileName=src\equipment.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit126] +FileName=src\equipment.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit127] +FileName=src\item.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit128] +FileName=src\gui\inventorywindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit1] +FileName=src\sound.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit2] +FileName=src\being.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit9] +FileName=src\floor_item.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit10] +FileName=src\game.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit11] +FileName=src\game.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit12] +FileName=src\graphics.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit15] +FileName=src\log.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit16] +FileName=src\main.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit18] +FileName=src\map.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit19] +FileName=src\map.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit20] +FileName=src\sound.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit21] +FileName=src\gui\windowcontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit23] +FileName=src\gui\buddywindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit24] +FileName=src\gui\button.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit26] +FileName=src\gui\buy.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit27] +FileName=src\gui\buy.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit28] +FileName=src\gui\buysell.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit31] +FileName=src\gui\char_select.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit33] +FileName=src\gui\char_server.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit34] +FileName=src\gui\chargedialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit35] +FileName=src\gui\chargedialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit36] +FileName=src\gui\chat.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit37] +FileName=src\gui\chat.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit38] +FileName=src\gui\chatinput.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit39] +FileName=src\gui\chatinput.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit40] +FileName=src\gui\checkbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit47] +FileName=src\gui\gui.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit48] +FileName=src\gui\item_amount.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit51] +FileName=src\gui\itemcontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit53] +FileName=src\gui\listbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit54] +FileName=src\gui\minimap.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit57] +FileName=src\gui\npc_text.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit61] +FileName=src\gui\passwordfield.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit63] +FileName=src\gui\playerbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit64] +FileName=src\gui\progressbar.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit65] +FileName=src\gui\progressbar.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit66] +FileName=src\gui\radiobutton.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit67] +FileName=src\gui\radiobutton.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit68] +FileName=src\gui\scrollarea.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit75] +FileName=src\gui\shop.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit76] +FileName=src\gui\skill.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit83] +FileName=src\gui\textbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit87] +FileName=src\gui\trade.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit88] +FileName=src\gui\window.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit107] +FileName=src\resources\resourcemanager.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit108] +FileName=src\resources\resourcemanager.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit123] +FileName=src\gui\box.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit129] +FileName=src\gui\inventorywindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit130] +FileName=src\inventory.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit131] +FileName=src\inventory.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit132] +FileName=src\configlistener.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit133] +FileName=src\guichanfwd.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit134] +FileName=src\serverinfo.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit135] +FileName=src\openglgraphics.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit138] +FileName=src\gui\tabbedcontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit139] +FileName=src\net\messageout.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit140] +FileName=src\net\messageout.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit141] +FileName=src\net\messagein.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit142] +FileName=src\net\messagein.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit143] +FileName=src\gui\menuwindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit144] +FileName=src\gui\menuwindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit145] +FileName=src\gui\ministatus.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit146] +FileName=src\gui\ministatus.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit147] +FileName=src\resources\imagewriter.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit148] +FileName=src\resources\imagewriter.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit149] +FileName=src\gui\debugwindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit52] +FileName=src\gui\listbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit150] +FileName=src\gui\debugwindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit151] +FileName=src\gui\connection.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit152] +FileName=src\gui\connection.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit153] +FileName=src\gui\gccontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit154] +FileName=src\gui\gccontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit155] +FileName=src\gui\login.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit156] +FileName=src\gui\login.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit157] +FileName=src\gui\register.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit158] +FileName=src\gui\register.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit166] +FileName=src\gui\npclistdialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit167] +FileName=src\gui\npclistdialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit160] +FileName=src\properties.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit161] +FileName=src\sprite.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit105] +FileName=src\resources\resource.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit110] +FileName=src\gui\help.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit159] +FileName=src\tileset.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit162] +FileName=src\beingmanager.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit163] +FileName=src\beingmanager.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit164] +FileName=src\localplayer.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit165] +FileName=src\localplayer.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit168] +FileName=src\npc.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit169] +FileName=src\npc.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit170] +FileName=src\lockedarray.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit171] +FileName=src\logindata.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit172] +FileName=src\monster.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit173] +FileName=src\monster.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit174] +FileName=src\player.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit176] +FileName=src\net\beinghandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit177] +FileName=src\net\beinghandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit178] +FileName=src\net\buysellhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit136] +FileName=src\openglgraphics.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit137] +FileName=src\gui\tabbedcontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit62] +FileName=src\gui\playerbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit175] +FileName=src\player.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit58] +FileName=src\gui\ok_dialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit59] +FileName=src\gui\ok_dialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit179] +FileName=src\net\buysellhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit180] +FileName=src\net\charserverhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit181] +FileName=src\net\charserverhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit182] +FileName=src\net\chathandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit183] +FileName=src\net\chathandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit184] +FileName=src\net\equipmenthandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit185] +FileName=src\net\equipmenthandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit186] +FileName=src\net\inventoryhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit187] +FileName=src\net\inventoryhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit188] +FileName=src\net\itemhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit189] +FileName=src\net\itemhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit190] +FileName=src\net\loginhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit191] +FileName=src\net\loginhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit192] +FileName=src\net\maploginhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit193] +FileName=src\net\maploginhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit194] +FileName=src\net\messagehandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit195] +FileName=src\net\messagehandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit196] +FileName=src\net\npchandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit197] +FileName=src\net\npchandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit198] +FileName=src\net\playerhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit199] +FileName=src\net\playerhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit200] +FileName=src\net\skillhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit201] +FileName=src\net\skillhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit202] +FileName=src\net\tradehandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit203] +FileName=src\net\tradehandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit204] +FileName=src\joystick.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit205] +FileName=src\flooritemmanager.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit206] +FileName=src\flooritemmanager.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit207] +FileName=src\joystick.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit208] +FileName=src\gui\setup_video.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit209] +FileName=src\gui\setup_audio.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit210] +FileName=src\gui\setup_joystick.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit211] +FileName=src\gui\setup_video.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit212] +FileName=src\gui\setup_audio.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit213] +FileName=src\gui\setup_joystick.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit214] +FileName=src\gui\setuptab.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit215] +FileName=src\utils\dtor.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit216] +FileName=src\utils\tostring.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit217] +FileName=src\tmw.rc +CompileCpp=1 +Folder=resources +Compile=1 +Link=0 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit218] +FileName=src\animatedsprite.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit219] +FileName=src\animatedsprite.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit220] +FileName=src\resources\iteminfo.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit221] +FileName=src\resources\ambientoverlay.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit222] +FileName=src\resources\ambientoverlay.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit223] +FileName=src\gui\shoplistbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit224] +FileName=src\gui\shoplistbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit225] +FileName=src\utils\xml.cpp +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit226] +FileName=src\utils\xml.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit227] +FileName=src\resources\spritedef.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit228] +FileName=src\resources\spritedef.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit229] +FileName=src\resources\monsterdb.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit230] +FileName=src\resources\monsterdb.h +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= +CompileCpp=1 + +[Unit231] +FileName=src\resources\monsterinfo.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit232] +FileName=src\resources\monsterinfo.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit233] +FileName=src\resources\itemdb.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit234] +FileName=src\resources\itemdb.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit235] +FileName=src\gui\viewport.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit236] +FileName=src\gui\viewport.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit237] +FileName=src\winver.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit238] +FileName=src\resources\action.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit239] +FileName=src\resources\action.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit240] +FileName=src\resources\animation.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit241] +FileName=src\resources\animation.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit242] +FileName=src\utils\base64.cpp +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit243] +FileName=src\utils\base64.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit244] +FileName=src\animationparticle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit245] +FileName=src\animationparticle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit246] +FileName=src\imageparticle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit247] +FileName=src\imageparticle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit248] +FileName=src\particle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit249] +FileName=src\particle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit250] +FileName=src\particleemitter.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit251] +FileName=src\particleemitter.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit252] +FileName=src\simpleanimation.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit253] +FileName=src\simpleanimation.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit254] +FileName=src\textparticle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit255] +FileName=src\textparticle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit256] +FileName=src\utils\fastsqrt.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit257] +FileName=src\utils\minmax.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit258] +FileName=src\resources\imageset.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit259] +FileName=src\resources\imageset.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit260] +FileName=src\gui\hbox.cpp +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit261] +FileName=src\gui\hbox.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit262] +FileName=src\gui\linkhandler.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit263] +FileName=src\gui\newskill.cpp +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit264] +FileName=src\gui\newskill.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit265] +FileName=src\gui\selectionlistener.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit266] +FileName=src\gui\vbox.cpp +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit267] +FileName=src\gui\vbox.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit268] +FileName=src\gui\widgets\resizegrip.cpp +CompileCpp=1 +Folder=header/widgets +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit269] +FileName=src\gui\widgets\resizegrip.h +CompileCpp=1 +Folder=header/widgets +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit270] +FileName=src\keyboardconfig.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit271] +FileName=src\keyboardconfig.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit272] +FileName=src\gui\setup_keyboard.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit273] +FileName=src\gui\setup_keyboard.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit274] +FileName=src\resources\imageloader.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit275] +FileName=src\resources\imageloader.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit276] +FileName=src\resources\dye.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit277] +FileName=src\resources\dye.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit278] +FileName=src\keyboardconfig.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit279] +FileName=src\keyboardconfig.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit280] +FileName=src\gui\setup_keyboard.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit281] +FileName=src\gui\setup_keyboard.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + diff --git a/The Mana World.dev b/The Mana World.dev deleted file mode 100644 index 76728f25..00000000 --- a/The Mana World.dev +++ /dev/null @@ -1,2869 +0,0 @@ -[Project] -FileName=The Mana World.dev -Name=tmw -UnitCount=277 -Type=0 -Ver=1 -ObjFiles= -Includes= -Libs= -PrivateResource=The_Mana_World_private.rc -ResourceIncludes= -MakeIncludes= -Compiler= -CppCompiler=-DUSE_OPENGL_@@_-Wall_@@_ -Linker=-lguichan_@@_-lguichan_sdl_@@_-lguichan_opengl_@@_-lwsock32_@@_-lSDL_image.dll_@@_-lSDL_mixer.dll_@@_-lSDL_net.dll_@@_-lmingw32_@@_-lSDLmain_@@_-lSDL.dll_@@_-lxml2.dll_@@_-lopengl32_@@_-lpng12.dll_@@_-lz.dll_@@_-lphysfs_@@_-lcurl.dll_@@_ -IsCpp=1 -Icon= -ExeOutput= -ObjectOutput=obj -OverrideOutput=1 -OverrideOutputName=tmw.exe -HostApplication= -Folders=gui,gui/header,gui/source,header,header/widgets,net,net/header,net/source,resources,utils -CommandLine= -UseCustomMakefile=0 -CustomMakefile= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0010001001000001001101 - -[VersionInfo] -Major=0 -Minor=0 -Release=0 -Build=0 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription= -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - -[Unit8] -FileName=src\floor_item.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=src\graphics.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=src\main.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=src\gui\buddywindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=src\gui\button.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=src\gui\buysell.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=src\gui\char_select.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=src\gui\char_server.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=src\engine.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=src\engine.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=src\being.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=src\configuration.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=src\configuration.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=src\log.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit43] -FileName=src\gui\confirm_dialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit44] -FileName=src\gui\equipmentwindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit46] -FileName=src\gui\gui.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit45] -FileName=src\gui\equipmentwindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit49] -FileName=src\gui\item_amount.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit50] -FileName=src\gui\itemcontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit55] -FileName=src\gui\minimap.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit56] -FileName=src\gui\npc_text.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit60] -FileName=src\gui\passwordfield.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit69] -FileName=src\gui\scrollarea.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit70] -FileName=src\gui\sell.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit71] -FileName=src\gui\sell.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit72] -FileName=src\gui\setup.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit73] -FileName=src\gui\setup.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit74] -FileName=src\gui\shop.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=src\gui\checkbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit77] -FileName=src\gui\skill.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit78] -FileName=src\gui\slider.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit79] -FileName=src\gui\slider.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit80] -FileName=src\gui\status.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit81] -FileName=src\gui\status.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit82] -FileName=src\gui\textbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit84] -FileName=src\gui\textfield.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit85] -FileName=src\gui\textfield.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit86] -FileName=src\gui\trade.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit89] -FileName=src\gui\window.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit90] -FileName=src\gui\windowcontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit91] -FileName=src\net\network.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit92] -FileName=src\net\network.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit93] -FileName=src\net\protocol.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit94] -FileName=src\net\protocol.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit95] -FileName=src\resources\soundeffect.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit96] -FileName=src\resources\buddylist.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=src\gui\confirm_dialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit97] -FileName=src\resources\buddylist.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit98] -FileName=src\resources\image.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit99] -FileName=src\resources\image.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit100] -FileName=src\resources\iteminfo.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit101] -FileName=src\resources\mapreader.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit102] -FileName=src\resources\mapreader.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit103] -FileName=src\resources\music.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit104] -FileName=src\resources\music.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit106] -FileName=src\resources\resource.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit109] -FileName=src\resources\soundeffect.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit113] -FileName=src\gui\item_amount.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit111] -FileName=src\gui\help.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit112] -FileName=src\gui\inttextbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit113] -FileName=src\gui\inttextbox.h -CompileCpp=1 -Folder=gui/header -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -Compile=1 - -[Unit114] -FileName=src\gui\focushandler.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit115] -FileName=src\gui\focushandler.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit116] -FileName=src\gui\popupmenu.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit117] -FileName=src\gui\popupmenu.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit118] -FileName=src\gui\browserbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit119] -FileName=src\gui\browserbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit120] -FileName=src\gui\updatewindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit121] -FileName=src\gui\updatewindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit122] -FileName=src\gui\box.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit124] -FileName=src\item.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit125] -FileName=src\equipment.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit126] -FileName=src\equipment.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit127] -FileName=src\item.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit128] -FileName=src\gui\inventorywindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit1] -FileName=src\sound.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=src\being.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=src\floor_item.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=src\game.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=src\game.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=src\graphics.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=src\log.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=src\main.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=src\map.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=src\map.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=src\sound.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=src\gui\windowcontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=src\gui\buddywindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=src\gui\button.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=src\gui\buy.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=src\gui\buy.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=src\gui\buysell.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit31] -FileName=src\gui\char_select.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit33] -FileName=src\gui\char_server.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=src\gui\chargedialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=src\gui\chargedialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=src\gui\chat.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=src\gui\chat.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=src\gui\chatinput.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=src\gui\chatinput.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=src\gui\checkbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit47] -FileName=src\gui\gui.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit48] -FileName=src\gui\item_amount.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit51] -FileName=src\gui\itemcontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit53] -FileName=src\gui\listbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit54] -FileName=src\gui\minimap.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit57] -FileName=src\gui\npc_text.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit61] -FileName=src\gui\passwordfield.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit63] -FileName=src\gui\playerbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit64] -FileName=src\gui\progressbar.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit65] -FileName=src\gui\progressbar.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit66] -FileName=src\gui\radiobutton.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit67] -FileName=src\gui\radiobutton.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit68] -FileName=src\gui\scrollarea.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit75] -FileName=src\gui\shop.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit76] -FileName=src\gui\skill.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit83] -FileName=src\gui\textbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit87] -FileName=src\gui\trade.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit88] -FileName=src\gui\window.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit107] -FileName=src\resources\resourcemanager.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit108] -FileName=src\resources\resourcemanager.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit123] -FileName=src\gui\box.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit129] -FileName=src\gui\inventorywindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit130] -FileName=src\inventory.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit131] -FileName=src\inventory.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit132] -FileName=src\configlistener.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit133] -FileName=src\guichanfwd.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit134] -FileName=src\serverinfo.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit135] -FileName=src\openglgraphics.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit138] -FileName=src\gui\tabbedcontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit139] -FileName=src\net\messageout.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit140] -FileName=src\net\messageout.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit141] -FileName=src\net\messagein.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit142] -FileName=src\net\messagein.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit143] -FileName=src\gui\menuwindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit144] -FileName=src\gui\menuwindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit145] -FileName=src\gui\ministatus.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit146] -FileName=src\gui\ministatus.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit147] -FileName=src\resources\imagewriter.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit148] -FileName=src\resources\imagewriter.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit149] -FileName=src\gui\debugwindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit52] -FileName=src\gui\listbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit150] -FileName=src\gui\debugwindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit151] -FileName=src\gui\connection.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit152] -FileName=src\gui\connection.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit153] -FileName=src\gui\gccontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit154] -FileName=src\gui\gccontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit155] -FileName=src\gui\login.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit156] -FileName=src\gui\login.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit157] -FileName=src\gui\register.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit158] -FileName=src\gui\register.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit166] -FileName=src\gui\npclistdialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit167] -FileName=src\gui\npclistdialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit160] -FileName=src\properties.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit161] -FileName=src\sprite.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit105] -FileName=src\resources\resource.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit110] -FileName=src\gui\help.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit159] -FileName=src\tileset.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit162] -FileName=src\beingmanager.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit163] -FileName=src\beingmanager.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit164] -FileName=src\localplayer.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit165] -FileName=src\localplayer.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit168] -FileName=src\npc.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit169] -FileName=src\npc.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit170] -FileName=src\lockedarray.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit171] -FileName=src\logindata.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit172] -FileName=src\monster.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit173] -FileName=src\monster.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit174] -FileName=src\player.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit176] -FileName=src\net\beinghandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit177] -FileName=src\net\beinghandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit178] -FileName=src\net\buysellhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit136] -FileName=src\openglgraphics.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit137] -FileName=src\gui\tabbedcontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit62] -FileName=src\gui\playerbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit175] -FileName=src\player.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit58] -FileName=src\gui\ok_dialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit59] -FileName=src\gui\ok_dialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit179] -FileName=src\net\buysellhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit180] -FileName=src\net\charserverhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit181] -FileName=src\net\charserverhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit182] -FileName=src\net\chathandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit183] -FileName=src\net\chathandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit184] -FileName=src\net\equipmenthandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit185] -FileName=src\net\equipmenthandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit186] -FileName=src\net\inventoryhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit187] -FileName=src\net\inventoryhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit188] -FileName=src\net\itemhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit189] -FileName=src\net\itemhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit190] -FileName=src\net\loginhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit191] -FileName=src\net\loginhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit192] -FileName=src\net\maploginhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit193] -FileName=src\net\maploginhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit194] -FileName=src\net\messagehandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit195] -FileName=src\net\messagehandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit196] -FileName=src\net\npchandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit197] -FileName=src\net\npchandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit198] -FileName=src\net\playerhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit199] -FileName=src\net\playerhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit200] -FileName=src\net\skillhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit201] -FileName=src\net\skillhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit202] -FileName=src\net\tradehandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit203] -FileName=src\net\tradehandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit204] -FileName=src\joystick.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit205] -FileName=src\flooritemmanager.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit206] -FileName=src\flooritemmanager.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit207] -FileName=src\joystick.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit208] -FileName=src\gui\setup_video.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit209] -FileName=src\gui\setup_audio.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit210] -FileName=src\gui\setup_joystick.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit211] -FileName=src\gui\setup_video.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit212] -FileName=src\gui\setup_audio.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit213] -FileName=src\gui\setup_joystick.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit214] -FileName=src\gui\setuptab.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit215] -FileName=src\utils\dtor.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit216] -FileName=src\utils\tostring.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit217] -FileName=src\tmw.rc -CompileCpp=1 -Folder=resources -Compile=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit218] -FileName=src\animatedsprite.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit219] -FileName=src\animatedsprite.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit220] -FileName=src\resources\iteminfo.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit221] -FileName=src\resources\ambientoverlay.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit222] -FileName=src\resources\ambientoverlay.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit223] -FileName=src\gui\shoplistbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit224] -FileName=src\gui\shoplistbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit225] -FileName=src\utils\xml.cpp -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit226] -FileName=src\utils\xml.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit227] -FileName=src\resources\spritedef.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit228] -FileName=src\resources\spritedef.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit229] -FileName=src\resources\monsterdb.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit230] -FileName=src\resources\monsterdb.h -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -CompileCpp=1 - -[Unit231] -FileName=src\resources\monsterinfo.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit232] -FileName=src\resources\monsterinfo.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit233] -FileName=src\resources\itemdb.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit234] -FileName=src\resources\itemdb.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit235] -FileName=src\gui\viewport.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit236] -FileName=src\gui\viewport.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit237] -FileName=src\winver.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit238] -FileName=src\resources\action.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit239] -FileName=src\resources\action.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit240] -FileName=src\resources\animation.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit241] -FileName=src\resources\animation.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit242] -FileName=src\utils\base64.cpp -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit243] -FileName=src\utils\base64.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit244] -FileName=src\animationparticle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit245] -FileName=src\animationparticle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit246] -FileName=src\imageparticle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit247] -FileName=src\imageparticle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit248] -FileName=src\particle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit249] -FileName=src\particle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit250] -FileName=src\particleemitter.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit251] -FileName=src\particleemitter.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit252] -FileName=src\simpleanimation.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit253] -FileName=src\simpleanimation.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit254] -FileName=src\textparticle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit255] -FileName=src\textparticle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit256] -FileName=src\utils\fastsqrt.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit257] -FileName=src\utils\minmax.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit258] -FileName=src\resources\imageset.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit259] -FileName=src\resources\imageset.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit260] -FileName=src\gui\hbox.cpp -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit261] -FileName=src\gui\hbox.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit262] -FileName=src\gui\linkhandler.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit263] -FileName=src\gui\newskill.cpp -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit264] -FileName=src\gui\newskill.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit265] -FileName=src\gui\selectionlistener.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit266] -FileName=src\gui\vbox.cpp -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit267] -FileName=src\gui\vbox.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit268] -FileName=src\gui\widgets\resizegrip.cpp -CompileCpp=1 -Folder=header/widgets -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit269] -FileName=src\gui\widgets\resizegrip.h -CompileCpp=1 -Folder=header/widgets -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit270] -FileName=src\keyboardconfig.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit271] -FileName=src\keyboardconfig.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit272] -FileName=src\gui\setup_keyboard.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit273] -FileName=src\gui\setup_keyboard.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit274] -FileName=src\resources\imageloader.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit275] -FileName=src\resources\imageloader.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit276] -FileName=src\resources\dye.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit277] -FileName=src\resources\dye.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit278] -FileName=src\keyboardconfig.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit279] -FileName=src\keyboardconfig.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit280] -FileName=src\gui\setup_keyboard.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit281] -FileName=src\gui\setup_keyboard.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/configure.ac b/configure.ac index b85683ff..dcc1eeeb 100755 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,7 @@ else with_opengl=yes AC_CHECK_LIB([GL], [glBegin], , AC_MSG_ERROR([ *** Unable to find OpenGL library])) - AC_DEFINE(USE_OPENGL, 1, [Defines if tmw should use an OpenGL display]) + AC_DEFINE(USE_OPENGL, 1, [Defines if tme should use an OpenGL display]) fi # Search for sdl-config @@ -92,10 +92,10 @@ if test -n "$LIBSDL_CONFIG"; then AC_SUBST(LIBSDL_CFLAGS) AC_DEFINE_UNQUOTED(HAVE_LIBSDL, 1, - [Defines if your system has the LIBSDL library]) + [Defines if your system has the LIBSDL library]) else AC_DEFINE_UNQUOTED(HAVE_LIBSDL, 0, - [Defines if your system has the LIBSDL library]) + [Defines if your system has the LIBSDL library]) AC_MSG_ERROR([Could not find sdl-config, check http://www.libsdl.org]) fi diff --git a/data/Makefile.am b/data/Makefile.am index 5a28f7c1..86ae612d 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = graphics help icons -tmwdatadir = $(pkgdatadir)/data +tmedatadir = $(pkgdatadir)/data diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 375edef7..5d7adee9 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -1,14 +1,14 @@ iconsdir = $(pkgdatadir)/data/icons -icons_DATA = tmw.png +icons_DATA = tme.png install-data-local: $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps - $(INSTALL) $(srcdir)/tmw.png $(DESTDIR)$(datadir)/pixmaps/tmw.png + $(INSTALL) $(srcdir)/tme.png $(DESTDIR)$(datadir)/pixmaps/tme.png uninstall-local: - rm -f $(DESTDIR)$(datadir)/pixmaps/tmw.png + rm -f $(DESTDIR)$(datadir)/pixmaps/tme.png EXTRA_DIST = \ $(icons_DATA) diff --git a/data/icons/The Mana Experiment.icns b/data/icons/The Mana Experiment.icns new file mode 100644 index 00000000..7230a099 Binary files /dev/null and b/data/icons/The Mana Experiment.icns differ diff --git a/data/icons/The Mana World.icns b/data/icons/The Mana World.icns deleted file mode 100644 index 7230a099..00000000 Binary files a/data/icons/The Mana World.icns and /dev/null differ diff --git a/data/icons/tme.ico b/data/icons/tme.ico new file mode 100644 index 00000000..61d559a3 Binary files /dev/null and b/data/icons/tme.ico differ diff --git a/data/icons/tme.png b/data/icons/tme.png new file mode 100644 index 00000000..93e6c9ae Binary files /dev/null and b/data/icons/tme.png differ diff --git a/data/icons/tme.xpm b/data/icons/tme.xpm new file mode 100644 index 00000000..06ec2865 --- /dev/null +++ b/data/icons/tme.xpm @@ -0,0 +1,784 @@ +/* XPM */ +static char * tmw_xpm[] = { +"32 32 749 2", +" c None", +". c #E4EB6D", +"+ c #EFF271", +"@ c #E7EF65", +"# c #DDED61", +"$ c #D6E955", +"% c #DAED4D", +"& c #F6F5A0", +"* c #EFEF89", +"= c #ECF084", +"- c #EDF077", +"; c #EAF075", +"> c #E0E960", +", c #D9E757", +"' c #D4EA52", +") c #CFE74D", +"! c #BEE140", +"~ c #C2E43E", +"{ c #B6DF33", +"] c #F8F7C2", +"^ c #F9F7AB", +"/ c #F2F099", +"( c #EEEF80", +"_ c #F3F077", +": c #F8F8B1", +"< c #E8EE6F", +"[ c #E1EB69", +"} c #DBEB5E", +"| c #D5E852", +"1 c #CDE445", +"2 c #CEE843", +"3 c #B6DC34", +"4 c #A9DA2F", +"5 c #B3E02F", +"6 c #B6E630", +"7 c #F1F2E2", +"8 c #F9F9D4", +"9 c #F9F8C5", +"0 c #F8F8CE", +"a c #F9F8D6", +"b c #F9F7CB", +"c c #F9F7B1", +"d c #F9F7A7", +"e c #E7EE73", +"f c #E4EC69", +"g c #DEEB60", +"h c #D8E755", +"i c #D5EB55", +"j c #C2E33F", +"k c #BEE33C", +"l c #B5E339", +"m c #A7DF2E", +"n c #9BDA28", +"o c #95DA24", +"p c #8DD724", +"q c #F9F9F5", +"r c #F9F9EA", +"s c #F9F9E1", +"t c #F9F9F4", +"u c #F9F7DF", +"v c #F9F7D1", +"w c #F9F7C9", +"x c #F9F7B6", +"y c #F9F7AE", +"z c #D7E363", +"A c #E1EC6B", +"B c #DDEC60", +"C c #D8EC61", +"D c #CDE552", +"E c #C6E543", +"F c #BCE440", +"G c #BEE73E", +"H c #ABDF30", +"I c #ACE230", +"J c #8FD720", +"K c #80D01C", +"L c #80D51A", +"M c #F9F9F7", +"N c #F9F9EB", +"O c #F9F9F9", +"P c #F9F7E6", +"Q c #F9F7D3", +"R c #F9F7CE", +"S c #F9F7BF", +"T c #F9F8B9", +"U c #E6EF8F", +"V c #E1EB65", +"W c #E0ED63", +"X c #D1E452", +"Y c #D3E84D", +"Z c #C3E340", +"` c #BBE13E", +" . c #B0DD35", +".. c #ABDD2E", +"+. c #A0DB2A", +"@. c #95D923", +"#. c #7ED31C", +"$. c #7ED31A", +"%. c #80DA18", +"&. c #F4F3EF", +"*. c #F9F9F6", +"=. c #F9F8F5", +"-. c #F9F7EE", +";. c #F9F7E2", +">. c #F9F7D5", +",. c #F9F6C2", +"'. c #F8F69C", +"). c #D4E56D", +"!. c #E4ED73", +"~. c #DBEA60", +"{. c #DDE961", +"]. c #C9E54E", +"^. c #BFE242", +"/. c #BEE33E", +"(. c #B1DE34", +"_. c #ABDE33", +":. c #95D826", +"<. c #8DD620", +"[. c #8DDB20", +"}. c #91DD1E", +"|. c #71D116", +"1. c #50B910", +"2. c #F9F8F7", +"3. c #F9F8F4", +"4. c #F9F7EB", +"5. c #F9F7E1", +"6. c #F9F5CF", +"7. c #F9F6C9", +"8. c #F9F6BF", +"9. c #D6E471", +"0. c #E9F075", +"a. c #E3EC6B", +"b. c #D9E96D", +"c. c #CEE558", +"d. c #CBE44E", +"e. c #BEDE3E", +"f. c #ACDA37", +"g. c #BCE639", +"h. c #AEE135", +"i. c #9EDB2A", +"j. c #8FD822", +"k. c #7CD31B", +"l. c #82DA1C", +"m. c #63CE13", +"n. c #61CE12", +"o. c #F9F9F8", +"p. c #F9F7F5", +"q. c #F9F4DD", +"r. c #F9F5D7", +"s. c #F9F5C9", +"t. c #F9F5B6", +"u. c #E3ED8D", +"v. c #DEE865", +"w. c #E3ED6D", +"x. c #DDEB5E", +"y. c #D3E755", +"z. c #CAE349", +"A. c #CFEB4D", +"B. c #C1E33B", +"C. c #BCE743", +"D. c #B0E02D", +"E. c #95DB28", +"F. c #95DB26", +"G. c #C6E627", +"H. c #E8F433", +"I. c #CAED26", +"J. c #60CD0F", +"K. c #58CD0E", +"L. c #F9F7EC", +"M. c #F9F7F1", +"N. c #F9F4E4", +"O. c #F9F3D7", +"P. c #F9F3CA", +"Q. c #F9F5CA", +"R. c #F9F5BB", +"S. c #F9F8B6", +"T. c #F6F89E", +"U. c #DFEB5C", +"V. c #CEE453", +"W. c #D0E753", +"X. c #CDE543", +"Y. c #C7E842", +"Z. c #C1E53C", +"`. c #A7DC30", +" + c #E6F453", +".+ c #E2F448", +"++ c #D8F03C", +"@+ c #D1ED2E", +"#+ c #D0F033", +"$+ c #CAED2C", +"%+ c #ACE51F", +"&+ c #55CF0F", +"*+ c #F5F6EF", +"=+ c #F9F9F2", +"-+ c #F9F9F1", +";+ c #F9F8F0", +">+ c #F9F7E7", +",+ c #F9F5F0", +"'+ c #F9F3E1", +")+ c #F9F5DB", +"!+ c #F9F6DB", +"~+ c #F9F6BE", +"{+ c #F8F59B", +"]+ c #F9F5A2", +"^+ c #F8F68D", +"/+ c #F7F689", +"(+ c #D7EC65", +"_+ c #CEE84E", +":+ c #BBE23F", +"<+ c #B6E238", +"[+ c #A2DC30", +"}+ c #EBF553", +"|+ c #E4F443", +"1+ c #DCF340", +"2+ c #D4F033", +"3+ c #CEEF2D", +"4+ c #C2E926", +"5+ c #BEEB20", +"6+ c #5CD50E", +"7+ c #53CE0D", +"8+ c #F9F7D9", +"9+ c #F9F6F2", +"0+ c #F9F5EB", +"a+ c #F9F3DA", +"b+ c #F9F6DF", +"c+ c #F9F7D0", +"d+ c #F9F7C2", +"e+ c #F9F7BB", +"f+ c #F8F68F", +"g+ c #F7F58D", +"h+ c #F6F58B", +"i+ c #EEF68B", +"j+ c #BFDF43", +"k+ c #B5DE37", +"l+ c #B5E234", +"m+ c #A7DD30", +"n+ c #E7F248", +"o+ c #D6EF40", +"p+ c #DBF239", +"q+ c #D0ED2F", +"r+ c #C3EB2A", +"s+ c #BCEB26", +"t+ c #B5E81E", +"u+ c #52CE0F", +"v+ c #4ECB0B", +"w+ c #F9F9D9", +"x+ c #F9F9D7", +"y+ c #F9F8F8", +"z+ c #F9F7E9", +"A+ c #F9F6E9", +"B+ c #F9F5E0", +"C+ c #F8F2D6", +"D+ c #F9F3CE", +"E+ c #F9F7CA", +"F+ c #F9F8B5", +"G+ c #F6F691", +"H+ c #F9F699", +"I+ c #F5F68F", +"J+ c #F3F579", +"K+ c #E8F575", +"L+ c #C7E646", +"M+ c #B5DF37", +"N+ c #B9E438", +"O+ c #9CD928", +"P+ c #D7F348", +"Q+ c #DBEF3B", +"R+ c #D1EF35", +"S+ c #D7F230", +"T+ c #C1EA25", +"U+ c #B5E91F", +"V+ c #63DC1E", +"W+ c #48CA0C", +"X+ c #F4F4DC", +"Y+ c #F9F9C3", +"Z+ c #F9F9C5", +"`+ c #F9F9C7", +" @ c #F9F9E8", +".@ c #F9F6DD", +"+@ c #F9F6D6", +"@@ c #F9F3C1", +"#@ c #F9F3BF", +"$@ c #F9F5B8", +"%@ c #F8F8A6", +"&@ c #F6F68F", +"*@ c #F4F791", +"=@ c #ABD746", +"-@ c #C5E449", +";@ c #C1E448", +">@ c #BBE23E", +",@ c #BBE237", +"'@ c #A9DC30", +")@ c #99D927", +"!@ c #D3E32C", +"~@ c #E2F340", +"{@ c #D3ED2D", +"]@ c #CAED2B", +"^@ c #CDF028", +"/@ c #C5EB27", +"(@ c #B0E51C", +"_@ c #91DC13", +":@ c #49CA08", +"<@ c #25B305", +"[@ c #F5F6BE", +"}@ c #F5F5A9", +"|@ c #F3F4B0", +"1@ c #F6F6B0", +"2@ c #F7F8B5", +"3@ c #EDF097", +"4@ c #F5F18F", +"5@ c #F9F7B8", +"6@ c #F9F4B0", +"7@ c #F9F3AE", +"8@ c #F9F3A4", +"9@ c #F9F7A4", +"0@ c #F7F7A0", +"a@ c #F5F682", +"b@ c #D3E75E", +"c@ c #CAE646", +"d@ c #CBE846", +"e@ c #EDF05A", +"f@ c #C6E432", +"g@ c #A9E02E", +"h@ c #99DA27", +"i@ c #B9DB20", +"j@ c #E1F33F", +"k@ c #CEEB2E", +"l@ c #C7EB27", +"m@ c #BBEA26", +"n@ c #B9E722", +"o@ c #A6DF19", +"p@ c #ABE815", +"q@ c #48CB09", +"r@ c #3ECA08", +"s@ c #F8F7A7", +"t@ c #F3F4A0", +"u@ c #F4F59C", +"v@ c #F0F49C", +"w@ c #F2F5A4", +"x@ c #F5F6A0", +"y@ c #EFF28F", +"z@ c #F9F8CD", +"A@ c #F9F6A7", +"B@ c #F9F3A0", +"C@ c #F8F399", +"D@ c #F8F493", +"E@ c #F8F693", +"F@ c #F7F58B", +"G@ c #E8EF65", +"H@ c #C7E445", +"I@ c #C7DB30", +"J@ c #E1ED48", +"K@ c #E8F353", +"L@ c #C3E227", +"M@ c #D9EB2E", +"N@ c #E7F549", +"O@ c #D3EE3B", +"P@ c #CBED2D", +"Q@ c #CDEF27", +"R@ c #BFEC23", +"S@ c #B6E81E", +"T@ c #A9E518", +"U@ c #B1EB1B", +"V@ c #35BE06", +"W@ c #38C306", +"X@ c #F9F9A7", +"Y@ c #F2F38F", +"Z@ c #F2F495", +"`@ c #F3F38D", +" # c #F9F9E9", +".# c #F7F8C5", +"+# c #F8F7D1", +"@# c #F8F6A2", +"## c #F9F7A9", +"$# c #F8F59C", +"%# c #F8F291", +"&# c #F8F58F", +"*# c #F6F789", +"=# c #F2F477", +"-# c #F0F571", +";# c #EAEE52", +"># c #DCEA45", +",# c #EBEF43", +"'# c #E4F04D", +")# c #DEEF45", +"!# c #E1F246", +"~# c #E4F448", +"{# c #DBF039", +"]# c #D9F235", +"^# c #C9ED2B", +"/# c #CAEF2C", +"(# c #CEF22B", +"_# c #B6E91E", +":# c #B1EB21", +"<# c #A9E815", +"[# c #48CF09", +"}# c #40CD06", +"|# c #EDEF6B", +"1# c #EBF07C", +"2# c #E7EB71", +"3# c #E8E865", +"4# c #F8F79E", +"5# c #F8F7A4", +"6# c #F9F69E", +"7# c #F8F48F", +"8# c #F6F280", +"9# c #F6F482", +"0# c #F3F473", +"a# c #EFF169", +"b# c #EDF467", +"c# c #EAF35C", +"d# c #EAF258", +"e# c #E4F052", +"f# c #E4F046", +"g# c #E0F03F", +"h# c #D5EE3B", +"i# c #DFF23E", +"j# c #D7F137", +"k# c #CEED2E", +"l# c #C9EF28", +"m# c #CAF025", +"n# c #B9EA1E", +"o# c #B3E91D", +"p# c #B1EB1A", +"q# c #A6E817", +"r# c #39C506", +"s# c #35C505", +"t# c #B3BC3E", +"u# c #E9F07C", +"v# c #DEE867", +"w# c #F9F79E", +"x# c #F8F793", +"y# c #F8F78F", +"z# c #F7F684", +"A# c #F5F27E", +"B# c #F4F26D", +"C# c #F4F36F", +"D# c #EDF061", +"E# c #EEF363", +"F# c #EDF35C", +"G# c #EEF45C", +"H# c #EAF357", +"I# c #E8F34B", +"J# c #DCEE43", +"K# c #E1F03F", +"L# c #D6ED37", +"M# c #D5EE33", +"N# c #D5F134", +"O# c #D9F232", +"P# c #CEF22D", +"Q# c #C7F22A", +"R# c #9BDB18", +"S# c #A7E518", +"T# c #AEEB1B", +"U# c #95E514", +"V# c #37C306", +"W# c #3CC705", +"X# c #E0EC60", +"Y# c #D1E455", +"Z# c #F7F78F", +"`# c #F7F891", +" $ c #F8F78B", +".$ c #F5F782", +"+$ c #F8F791", +"@$ c #EFF06B", +"#$ c #F3F36D", +"$$ c #EFF36D", +"%$ c #F1F56F", +"&$ c #EDF260", +"*$ c #EDF461", +"=$ c #E7F150", +"-$ c #E9F355", +";$ c #E8F349", +">$ c #E8F442", +",$ c #DDF13E", +"'$ c #DAF038", +")$ c #CEEB26", +"!$ c #D0EE2C", +"~$ c #B9E82A", +"{$ c #C1ED26", +"]$ c #A0E41C", +"^$ c #ABE71B", +"/$ c #99E315", +"($ c #99E415", +"_$ c #33B306", +":$ c #2BBB05", +"<$ c #D9EB5E", +"[$ c #CDE44E", +"}$ c #F6F579", +"|$ c #F4F577", +"1$ c #F3F571", +"2$ c #F4F57C", +"3$ c #F3F363", +"4$ c #F2F475", +"5$ c #F0F567", +"6$ c #A2D93F", +"7$ c #C3E43F", +"8$ c #B6D92E", +"9$ c #A7CD1F", +"0$ c #E4F042", +"a$ c #E4F248", +"b$ c #E5F348", +"c$ c #D7EC39", +"d$ c #DBF33C", +"e$ c #DDF23E", +"f$ c #D1EF2D", +"g$ c #C1E825", +"h$ c #BFEB26", +"i$ c #AEE61B", +"j$ c #A7E318", +"k$ c #B0E818", +"l$ c #9EE615", +"m$ c #6DD30D", +"n$ c #27A603", +"o$ c #2CBE05", +"p$ c #E2ED50", +"q$ c #CBE348", +"r$ c #F6F780", +"s$ c #F5F577", +"t$ c #F3F56F", +"u$ c #EFF469", +"v$ c #F3F471", +"w$ c #F3F46F", +"x$ c #EFF461", +"y$ c #E7F053", +"z$ c #C6E83F", +"A$ c #A4D733", +"B$ c #ABDD2F", +"C$ c #B0DF2E", +"D$ c #A7DD2B", +"E$ c #E4F240", +"F$ c #E8F555", +"G$ c #DDF33C", +"H$ c #E1F53E", +"I$ c #D4F032", +"J$ c #CEF02E", +"K$ c #CAEF2D", +"L$ c #C2EF28", +"M$ c #B5E91B", +"N$ c #93DD13", +"O$ c #93E215", +"P$ c #93E213", +"Q$ c #80DB0D", +"R$ c #45CA05", +"S$ c #2FC204", +"T$ c #CEE743", +"U$ c #C1E23E", +"V$ c #F0F365", +"W$ c #F5F473", +"X$ c #F2F269", +"Y$ c #E9EF57", +"Z$ c #EFF363", +"`$ c #E8F052", +" % c #EBF358", +".% c #B8E439", +"+% c #BCE839", +"@% c #A4DC2A", +"#% c #ABE22D", +"$% c #95D822", +"%% c #E1F240", +"&% c #D6ED32", +"*% c #CFEC2C", +"=% c #D4F02F", +"-% c #CAEE2B", +";% c #C3EB27", +">% c #C6EE25", +",% c #C3EE21", +"'% c #B8ED21", +")% c #AEEA16", +"!% c #79D90F", +"~% c #2EB106", +"{% c #26B808", +"]% c #2CBF05", +"^% c #C9E73B", +"/% c #C5E63C", +"(% c #F0F56B", +"_% c #EEF258", +":% c #F0F265", +"<% c #EFF155", +"[% c #EDF358", +"}% c #EBF550", +"|% c #EBF54D", +"1% c #C9E83B", +"2% c #A4DB28", +"3% c #9EDC2B", +"4% c #8FD622", +"5% c #82D01E", +"6% c #7EC512", +"7% c #C9E827", +"8% c #D0EE2E", +"9% c #C7ED2C", +"0% c #C7EE27", +"a% c #C1EE2A", +"b% c #C2EF24", +"c% c #BEED22", +"d% c #A9E718", +"e% c #3EC307", +"f% c #39C306", +"g% c #38C606", +"h% c #23B603", +"i% c #ACDB2F", +"j% c #B0DF34", +"k% c #EDF35A", +"l% c #EDF553", +"m% c #E2F045", +"n% c #E6F350", +"o% c #E6F448", +"p% c #9CD01E", +"q% c #8BC916", +"r% c #B8DC1B", +"s% c #7CBC0F", +"t% c #95D618", +"u% c #7ED319", +"v% c #BFE118", +"w% c #C6ED2A", +"x% c #C1EA21", +"y% c #C1ED22", +"z% c #B8EA1D", +"A% c #B6EB1D", +"B% c #BCEF1F", +"C% c #53CA07", +"D% c #3FC708", +"E% c #2EBC05", +"F% c #2FBE04", +"G% c #2DBF04", +"H% c #A2CF1F", +"I% c #B1E12F", +"J% c #B5E32E", +"K% c #E8F243", +"L% c #D7EB45", +"M% c #E8F245", +"N% c #DDEF40", +"O% c #E2F342", +"P% c #DFF33E", +"Q% c #E4F542", +"R% c #DAF138", +"S% c #D8F230", +"T% c #CBEB28", +"U% c #D1F02E", +"V% c #C6EC24", +"W% c #CAEF25", +"X% c #BCEB21", +"Y% c #B6EB1E", +"Z% c #ABE91B", +"`% c #A2E616", +" & c #3CC508", +".& c #3EC906", +"+& c #37C305", +"@& c #27B903", +"#& c #209B02", +"$& c #A9DF27", +"%& c #A4DD27", +"&& c #91D623", +"*& c #E3F13C", +"=& c #E4F340", +"-& c #E4F33F", +";& c #E4F43E", +">& c #E2F439", +",& c #D6F033", +"'& c #D5F034", +")& c #CEEF2E", +"!& c #CBED26", +"~& c #CFEF27", +"{& c #D5F22E", +"]& c #B5E620", +"^& c #B9EA1F", +"/& c #84E620", +"(& c #3EB508", +"_& c #58CE0D", +":& c #39CA11", +"<& c #3EC607", +"[& c #3BCA08", +"}& c #28BB04", +"|& c #28BC03", +"1& c #8FD620", +"2& c #97D823", +"3& c #A6E22B", +"4& c #69CB1D", +"5& c #86D61F", +"6& c #E5F740", +"7& c #DCF338", +"8& c #CAEC2D", +"9& c #CDED2B", +"0& c #D1F02C", +"a& c #CDEE27", +"b& c #C1EB22", +"c& c #CFF228", +"d& c #BCE922", +"e& c #3CBB09", +"f& c #50CD0C", +"g& c #4BCD0B", +"h& c #3CC207", +"i& c #42CD09", +"j& c #2EBB04", +"k& c #28B905", +"l& c #28B903", +"m& c #61B113", +"n& c #7ED41A", +"o& c #89D71B", +"p& c #8DDB1A", +"q& c #7CD518", +"r& c #8FDA1B", +"s& c #71D314", +"t& c #7CDA18", +"u& c #BEF232", +"v& c #8BD715", +"w& c #63C207", +"x& c #55C108", +"y& c #5AD111", +"z& c #4BC90B", +"A& c #3EC108", +"B& c #46C908", +"C& c #40CB08", +"D& c #34C205", +"E& c #32C505", +"F& c #22A003", +"G& c #79D818", +"H& c #75D314", +"I& c #67D012", +"J& c #69D313", +"K& c #71D613", +"L& c #67D413", +"M& c #4BC20C", +"N& c #4DCB0E", +"O& c #5AD510", +"P& c #50CA0B", +"Q& c #4BC909", +"R& c #3CC708", +"S& c #42C906", +"T& c #35C206", +"U& c #33C306", +"V& c #30C504", +"W& c #49C30E", +"X& c #71D913", +"Y& c #84E318", +"Z& c #5ECF0E", +"`& c #58D00D", +" * c #5ED40D", +".* c #48C70A", +"+* c #57D40B", +"@* c #37BE06", +"#* c #39C707", +"$* c #37C505", +"%* c #34C705", +"&* c #49BE0B", +"** c #4BD00C", +"=* c #46C609", +"-* c #46D00A", +";* c #33BE06", +">* c #20A904", +" . + @ # $ % ", +" & * = - ; > , ' ) ! ~ { ", +" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", +" 7 8 9 0 a b c d e f g h i j k l m n o p ", +" q r s t u v w x y z A B C D E F G H I J K L ", +" M M N O P u Q R S T U V W X Y Z ` ...+.@.#.$.%. ", +" &.O *.O =.-.;.>.R ,.'.).!.~.{.].^./.(._.:.<.[.}.|.1. ", +" O O O 2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n. ", +" o.O *.p.p.3.-.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K. ", +" O o.q L.p.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+ ", +" *+=+-+;+>+p.,+'+)+!+~+8.{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+ ", +" r N N 8+p.9+0+a+b+c+d+e+d f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+ ", +" w+x+w+y+z+A+B+C+D+E+S F+G+H+I+J+K+L+M+N+O+P+Q+R+S+$+T+U+V+W+ ", +"X+Y+Z+`+ @.@+@6.@@#@$@^ %@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@", +"[@}@|@1@2@3@4@5@6@7@8@9@0@a@b@) c@d@e@f@g@h@i@j@k@l@m@n@o@p@q@r@", +"s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@>@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@", +"X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#:#<#[#}#", +"|#1#2#3#4###5#'.6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#", +"t#u#v#w#s@x#y#z#a@A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#", +" X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$I#;$>$,$'$)$!$~${$]$^$/$($_$:$ ", +" <$[$}$|$*#1$2$3$4$5$6$7$8$9$0$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$ ", +" p$q$r$s$t$u$v$w$x$y$z$A$B$C$D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$S$ ", +" T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,%'%)%!%~%{%]% ", +" ^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c%d%($e%f%g%h% ", +" i%j%k%l%a$m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C%D%E%F%G% ", +" H%I%J%K%L%M%N%O%P%Q%G$R%S%T%U%V%W%X%Y%Z%`% &.&+&@&#& ", +" $&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:&<&[&}&|& ", +" 1&2&3&4&5&6&7&8&9&0&a&b&c&d&e&f&g&h&i&j&k&l& ", +" m&n&o&p&q&r&s&t&u&v&w&x&y&z&A&B&C&D&E&F& ", +" G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V& ", +" W&X&Y&Z&`& *.*+*@*#*$*%* ", +" &***=*-*;*>* "}; diff --git a/data/icons/tmw.ico b/data/icons/tmw.ico deleted file mode 100644 index 61d559a3..00000000 Binary files a/data/icons/tmw.ico and /dev/null differ diff --git a/data/icons/tmw.png b/data/icons/tmw.png deleted file mode 100644 index 93e6c9ae..00000000 Binary files a/data/icons/tmw.png and /dev/null differ diff --git a/data/icons/tmw.xpm b/data/icons/tmw.xpm deleted file mode 100644 index 06ec2865..00000000 --- a/data/icons/tmw.xpm +++ /dev/null @@ -1,784 +0,0 @@ -/* XPM */ -static char * tmw_xpm[] = { -"32 32 749 2", -" c None", -". c #E4EB6D", -"+ c #EFF271", -"@ c #E7EF65", -"# c #DDED61", -"$ c #D6E955", -"% c #DAED4D", -"& c #F6F5A0", -"* c #EFEF89", -"= c #ECF084", -"- c #EDF077", -"; c #EAF075", -"> c #E0E960", -", c #D9E757", -"' c #D4EA52", -") c #CFE74D", -"! c #BEE140", -"~ c #C2E43E", -"{ c #B6DF33", -"] c #F8F7C2", -"^ c #F9F7AB", -"/ c #F2F099", -"( c #EEEF80", -"_ c #F3F077", -": c #F8F8B1", -"< c #E8EE6F", -"[ c #E1EB69", -"} c #DBEB5E", -"| c #D5E852", -"1 c #CDE445", -"2 c #CEE843", -"3 c #B6DC34", -"4 c #A9DA2F", -"5 c #B3E02F", -"6 c #B6E630", -"7 c #F1F2E2", -"8 c #F9F9D4", -"9 c #F9F8C5", -"0 c #F8F8CE", -"a c #F9F8D6", -"b c #F9F7CB", -"c c #F9F7B1", -"d c #F9F7A7", -"e c #E7EE73", -"f c #E4EC69", -"g c #DEEB60", -"h c #D8E755", -"i c #D5EB55", -"j c #C2E33F", -"k c #BEE33C", -"l c #B5E339", -"m c #A7DF2E", -"n c #9BDA28", -"o c #95DA24", -"p c #8DD724", -"q c #F9F9F5", -"r c #F9F9EA", -"s c #F9F9E1", -"t c #F9F9F4", -"u c #F9F7DF", -"v c #F9F7D1", -"w c #F9F7C9", -"x c #F9F7B6", -"y c #F9F7AE", -"z c #D7E363", -"A c #E1EC6B", -"B c #DDEC60", -"C c #D8EC61", -"D c #CDE552", -"E c #C6E543", -"F c #BCE440", -"G c #BEE73E", -"H c #ABDF30", -"I c #ACE230", -"J c #8FD720", -"K c #80D01C", -"L c #80D51A", -"M c #F9F9F7", -"N c #F9F9EB", -"O c #F9F9F9", -"P c #F9F7E6", -"Q c #F9F7D3", -"R c #F9F7CE", -"S c #F9F7BF", -"T c #F9F8B9", -"U c #E6EF8F", -"V c #E1EB65", -"W c #E0ED63", -"X c #D1E452", -"Y c #D3E84D", -"Z c #C3E340", -"` c #BBE13E", -" . c #B0DD35", -".. c #ABDD2E", -"+. c #A0DB2A", -"@. c #95D923", -"#. c #7ED31C", -"$. c #7ED31A", -"%. c #80DA18", -"&. c #F4F3EF", -"*. c #F9F9F6", -"=. c #F9F8F5", -"-. c #F9F7EE", -";. c #F9F7E2", -">. c #F9F7D5", -",. c #F9F6C2", -"'. c #F8F69C", -"). c #D4E56D", -"!. c #E4ED73", -"~. c #DBEA60", -"{. c #DDE961", -"]. c #C9E54E", -"^. c #BFE242", -"/. c #BEE33E", -"(. c #B1DE34", -"_. c #ABDE33", -":. c #95D826", -"<. c #8DD620", -"[. c #8DDB20", -"}. c #91DD1E", -"|. c #71D116", -"1. c #50B910", -"2. c #F9F8F7", -"3. c #F9F8F4", -"4. c #F9F7EB", -"5. c #F9F7E1", -"6. c #F9F5CF", -"7. c #F9F6C9", -"8. c #F9F6BF", -"9. c #D6E471", -"0. c #E9F075", -"a. c #E3EC6B", -"b. c #D9E96D", -"c. c #CEE558", -"d. c #CBE44E", -"e. c #BEDE3E", -"f. c #ACDA37", -"g. c #BCE639", -"h. c #AEE135", -"i. c #9EDB2A", -"j. c #8FD822", -"k. c #7CD31B", -"l. c #82DA1C", -"m. c #63CE13", -"n. c #61CE12", -"o. c #F9F9F8", -"p. c #F9F7F5", -"q. c #F9F4DD", -"r. c #F9F5D7", -"s. c #F9F5C9", -"t. c #F9F5B6", -"u. c #E3ED8D", -"v. c #DEE865", -"w. c #E3ED6D", -"x. c #DDEB5E", -"y. c #D3E755", -"z. c #CAE349", -"A. c #CFEB4D", -"B. c #C1E33B", -"C. c #BCE743", -"D. c #B0E02D", -"E. c #95DB28", -"F. c #95DB26", -"G. c #C6E627", -"H. c #E8F433", -"I. c #CAED26", -"J. c #60CD0F", -"K. c #58CD0E", -"L. c #F9F7EC", -"M. c #F9F7F1", -"N. c #F9F4E4", -"O. c #F9F3D7", -"P. c #F9F3CA", -"Q. c #F9F5CA", -"R. c #F9F5BB", -"S. c #F9F8B6", -"T. c #F6F89E", -"U. c #DFEB5C", -"V. c #CEE453", -"W. c #D0E753", -"X. c #CDE543", -"Y. c #C7E842", -"Z. c #C1E53C", -"`. c #A7DC30", -" + c #E6F453", -".+ c #E2F448", -"++ c #D8F03C", -"@+ c #D1ED2E", -"#+ c #D0F033", -"$+ c #CAED2C", -"%+ c #ACE51F", -"&+ c #55CF0F", -"*+ c #F5F6EF", -"=+ c #F9F9F2", -"-+ c #F9F9F1", -";+ c #F9F8F0", -">+ c #F9F7E7", -",+ c #F9F5F0", -"'+ c #F9F3E1", -")+ c #F9F5DB", -"!+ c #F9F6DB", -"~+ c #F9F6BE", -"{+ c #F8F59B", -"]+ c #F9F5A2", -"^+ c #F8F68D", -"/+ c #F7F689", -"(+ c #D7EC65", -"_+ c #CEE84E", -":+ c #BBE23F", -"<+ c #B6E238", -"[+ c #A2DC30", -"}+ c #EBF553", -"|+ c #E4F443", -"1+ c #DCF340", -"2+ c #D4F033", -"3+ c #CEEF2D", -"4+ c #C2E926", -"5+ c #BEEB20", -"6+ c #5CD50E", -"7+ c #53CE0D", -"8+ c #F9F7D9", -"9+ c #F9F6F2", -"0+ c #F9F5EB", -"a+ c #F9F3DA", -"b+ c #F9F6DF", -"c+ c #F9F7D0", -"d+ c #F9F7C2", -"e+ c #F9F7BB", -"f+ c #F8F68F", -"g+ c #F7F58D", -"h+ c #F6F58B", -"i+ c #EEF68B", -"j+ c #BFDF43", -"k+ c #B5DE37", -"l+ c #B5E234", -"m+ c #A7DD30", -"n+ c #E7F248", -"o+ c #D6EF40", -"p+ c #DBF239", -"q+ c #D0ED2F", -"r+ c #C3EB2A", -"s+ c #BCEB26", -"t+ c #B5E81E", -"u+ c #52CE0F", -"v+ c #4ECB0B", -"w+ c #F9F9D9", -"x+ c #F9F9D7", -"y+ c #F9F8F8", -"z+ c #F9F7E9", -"A+ c #F9F6E9", -"B+ c #F9F5E0", -"C+ c #F8F2D6", -"D+ c #F9F3CE", -"E+ c #F9F7CA", -"F+ c #F9F8B5", -"G+ c #F6F691", -"H+ c #F9F699", -"I+ c #F5F68F", -"J+ c #F3F579", -"K+ c #E8F575", -"L+ c #C7E646", -"M+ c #B5DF37", -"N+ c #B9E438", -"O+ c #9CD928", -"P+ c #D7F348", -"Q+ c #DBEF3B", -"R+ c #D1EF35", -"S+ c #D7F230", -"T+ c #C1EA25", -"U+ c #B5E91F", -"V+ c #63DC1E", -"W+ c #48CA0C", -"X+ c #F4F4DC", -"Y+ c #F9F9C3", -"Z+ c #F9F9C5", -"`+ c #F9F9C7", -" @ c #F9F9E8", -".@ c #F9F6DD", -"+@ c #F9F6D6", -"@@ c #F9F3C1", -"#@ c #F9F3BF", -"$@ c #F9F5B8", -"%@ c #F8F8A6", -"&@ c #F6F68F", -"*@ c #F4F791", -"=@ c #ABD746", -"-@ c #C5E449", -";@ c #C1E448", -">@ c #BBE23E", -",@ c #BBE237", -"'@ c #A9DC30", -")@ c #99D927", -"!@ c #D3E32C", -"~@ c #E2F340", -"{@ c #D3ED2D", -"]@ c #CAED2B", -"^@ c #CDF028", -"/@ c #C5EB27", -"(@ c #B0E51C", -"_@ c #91DC13", -":@ c #49CA08", -"<@ c #25B305", -"[@ c #F5F6BE", -"}@ c #F5F5A9", -"|@ c #F3F4B0", -"1@ c #F6F6B0", -"2@ c #F7F8B5", -"3@ c #EDF097", -"4@ c #F5F18F", -"5@ c #F9F7B8", -"6@ c #F9F4B0", -"7@ c #F9F3AE", -"8@ c #F9F3A4", -"9@ c #F9F7A4", -"0@ c #F7F7A0", -"a@ c #F5F682", -"b@ c #D3E75E", -"c@ c #CAE646", -"d@ c #CBE846", -"e@ c #EDF05A", -"f@ c #C6E432", -"g@ c #A9E02E", -"h@ c #99DA27", -"i@ c #B9DB20", -"j@ c #E1F33F", -"k@ c #CEEB2E", -"l@ c #C7EB27", -"m@ c #BBEA26", -"n@ c #B9E722", -"o@ c #A6DF19", -"p@ c #ABE815", -"q@ c #48CB09", -"r@ c #3ECA08", -"s@ c #F8F7A7", -"t@ c #F3F4A0", -"u@ c #F4F59C", -"v@ c #F0F49C", -"w@ c #F2F5A4", -"x@ c #F5F6A0", -"y@ c #EFF28F", -"z@ c #F9F8CD", -"A@ c #F9F6A7", -"B@ c #F9F3A0", -"C@ c #F8F399", -"D@ c #F8F493", -"E@ c #F8F693", -"F@ c #F7F58B", -"G@ c #E8EF65", -"H@ c #C7E445", -"I@ c #C7DB30", -"J@ c #E1ED48", -"K@ c #E8F353", -"L@ c #C3E227", -"M@ c #D9EB2E", -"N@ c #E7F549", -"O@ c #D3EE3B", -"P@ c #CBED2D", -"Q@ c #CDEF27", -"R@ c #BFEC23", -"S@ c #B6E81E", -"T@ c #A9E518", -"U@ c #B1EB1B", -"V@ c #35BE06", -"W@ c #38C306", -"X@ c #F9F9A7", -"Y@ c #F2F38F", -"Z@ c #F2F495", -"`@ c #F3F38D", -" # c #F9F9E9", -".# c #F7F8C5", -"+# c #F8F7D1", -"@# c #F8F6A2", -"## c #F9F7A9", -"$# c #F8F59C", -"%# c #F8F291", -"&# c #F8F58F", -"*# c #F6F789", -"=# c #F2F477", -"-# c #F0F571", -";# c #EAEE52", -"># c #DCEA45", -",# c #EBEF43", -"'# c #E4F04D", -")# c #DEEF45", -"!# c #E1F246", -"~# c #E4F448", -"{# c #DBF039", -"]# c #D9F235", -"^# c #C9ED2B", -"/# c #CAEF2C", -"(# c #CEF22B", -"_# c #B6E91E", -":# c #B1EB21", -"<# c #A9E815", -"[# c #48CF09", -"}# c #40CD06", -"|# c #EDEF6B", -"1# c #EBF07C", -"2# c #E7EB71", -"3# c #E8E865", -"4# c #F8F79E", -"5# c #F8F7A4", -"6# c #F9F69E", -"7# c #F8F48F", -"8# c #F6F280", -"9# c #F6F482", -"0# c #F3F473", -"a# c #EFF169", -"b# c #EDF467", -"c# c #EAF35C", -"d# c #EAF258", -"e# c #E4F052", -"f# c #E4F046", -"g# c #E0F03F", -"h# c #D5EE3B", -"i# c #DFF23E", -"j# c #D7F137", -"k# c #CEED2E", -"l# c #C9EF28", -"m# c #CAF025", -"n# c #B9EA1E", -"o# c #B3E91D", -"p# c #B1EB1A", -"q# c #A6E817", -"r# c #39C506", -"s# c #35C505", -"t# c #B3BC3E", -"u# c #E9F07C", -"v# c #DEE867", -"w# c #F9F79E", -"x# c #F8F793", -"y# c #F8F78F", -"z# c #F7F684", -"A# c #F5F27E", -"B# c #F4F26D", -"C# c #F4F36F", -"D# c #EDF061", -"E# c #EEF363", -"F# c #EDF35C", -"G# c #EEF45C", -"H# c #EAF357", -"I# c #E8F34B", -"J# c #DCEE43", -"K# c #E1F03F", -"L# c #D6ED37", -"M# c #D5EE33", -"N# c #D5F134", -"O# c #D9F232", -"P# c #CEF22D", -"Q# c #C7F22A", -"R# c #9BDB18", -"S# c #A7E518", -"T# c #AEEB1B", -"U# c #95E514", -"V# c #37C306", -"W# c #3CC705", -"X# c #E0EC60", -"Y# c #D1E455", -"Z# c #F7F78F", -"`# c #F7F891", -" $ c #F8F78B", -".$ c #F5F782", -"+$ c #F8F791", -"@$ c #EFF06B", -"#$ c #F3F36D", -"$$ c #EFF36D", -"%$ c #F1F56F", -"&$ c #EDF260", -"*$ c #EDF461", -"=$ c #E7F150", -"-$ c #E9F355", -";$ c #E8F349", -">$ c #E8F442", -",$ c #DDF13E", -"'$ c #DAF038", -")$ c #CEEB26", -"!$ c #D0EE2C", -"~$ c #B9E82A", -"{$ c #C1ED26", -"]$ c #A0E41C", -"^$ c #ABE71B", -"/$ c #99E315", -"($ c #99E415", -"_$ c #33B306", -":$ c #2BBB05", -"<$ c #D9EB5E", -"[$ c #CDE44E", -"}$ c #F6F579", -"|$ c #F4F577", -"1$ c #F3F571", -"2$ c #F4F57C", -"3$ c #F3F363", -"4$ c #F2F475", -"5$ c #F0F567", -"6$ c #A2D93F", -"7$ c #C3E43F", -"8$ c #B6D92E", -"9$ c #A7CD1F", -"0$ c #E4F042", -"a$ c #E4F248", -"b$ c #E5F348", -"c$ c #D7EC39", -"d$ c #DBF33C", -"e$ c #DDF23E", -"f$ c #D1EF2D", -"g$ c #C1E825", -"h$ c #BFEB26", -"i$ c #AEE61B", -"j$ c #A7E318", -"k$ c #B0E818", -"l$ c #9EE615", -"m$ c #6DD30D", -"n$ c #27A603", -"o$ c #2CBE05", -"p$ c #E2ED50", -"q$ c #CBE348", -"r$ c #F6F780", -"s$ c #F5F577", -"t$ c #F3F56F", -"u$ c #EFF469", -"v$ c #F3F471", -"w$ c #F3F46F", -"x$ c #EFF461", -"y$ c #E7F053", -"z$ c #C6E83F", -"A$ c #A4D733", -"B$ c #ABDD2F", -"C$ c #B0DF2E", -"D$ c #A7DD2B", -"E$ c #E4F240", -"F$ c #E8F555", -"G$ c #DDF33C", -"H$ c #E1F53E", -"I$ c #D4F032", -"J$ c #CEF02E", -"K$ c #CAEF2D", -"L$ c #C2EF28", -"M$ c #B5E91B", -"N$ c #93DD13", -"O$ c #93E215", -"P$ c #93E213", -"Q$ c #80DB0D", -"R$ c #45CA05", -"S$ c #2FC204", -"T$ c #CEE743", -"U$ c #C1E23E", -"V$ c #F0F365", -"W$ c #F5F473", -"X$ c #F2F269", -"Y$ c #E9EF57", -"Z$ c #EFF363", -"`$ c #E8F052", -" % c #EBF358", -".% c #B8E439", -"+% c #BCE839", -"@% c #A4DC2A", -"#% c #ABE22D", -"$% c #95D822", -"%% c #E1F240", -"&% c #D6ED32", -"*% c #CFEC2C", -"=% c #D4F02F", -"-% c #CAEE2B", -";% c #C3EB27", -">% c #C6EE25", -",% c #C3EE21", -"'% c #B8ED21", -")% c #AEEA16", -"!% c #79D90F", -"~% c #2EB106", -"{% c #26B808", -"]% c #2CBF05", -"^% c #C9E73B", -"/% c #C5E63C", -"(% c #F0F56B", -"_% c #EEF258", -":% c #F0F265", -"<% c #EFF155", -"[% c #EDF358", -"}% c #EBF550", -"|% c #EBF54D", -"1% c #C9E83B", -"2% c #A4DB28", -"3% c #9EDC2B", -"4% c #8FD622", -"5% c #82D01E", -"6% c #7EC512", -"7% c #C9E827", -"8% c #D0EE2E", -"9% c #C7ED2C", -"0% c #C7EE27", -"a% c #C1EE2A", -"b% c #C2EF24", -"c% c #BEED22", -"d% c #A9E718", -"e% c #3EC307", -"f% c #39C306", -"g% c #38C606", -"h% c #23B603", -"i% c #ACDB2F", -"j% c #B0DF34", -"k% c #EDF35A", -"l% c #EDF553", -"m% c #E2F045", -"n% c #E6F350", -"o% c #E6F448", -"p% c #9CD01E", -"q% c #8BC916", -"r% c #B8DC1B", -"s% c #7CBC0F", -"t% c #95D618", -"u% c #7ED319", -"v% c #BFE118", -"w% c #C6ED2A", -"x% c #C1EA21", -"y% c #C1ED22", -"z% c #B8EA1D", -"A% c #B6EB1D", -"B% c #BCEF1F", -"C% c #53CA07", -"D% c #3FC708", -"E% c #2EBC05", -"F% c #2FBE04", -"G% c #2DBF04", -"H% c #A2CF1F", -"I% c #B1E12F", -"J% c #B5E32E", -"K% c #E8F243", -"L% c #D7EB45", -"M% c #E8F245", -"N% c #DDEF40", -"O% c #E2F342", -"P% c #DFF33E", -"Q% c #E4F542", -"R% c #DAF138", -"S% c #D8F230", -"T% c #CBEB28", -"U% c #D1F02E", -"V% c #C6EC24", -"W% c #CAEF25", -"X% c #BCEB21", -"Y% c #B6EB1E", -"Z% c #ABE91B", -"`% c #A2E616", -" & c #3CC508", -".& c #3EC906", -"+& c #37C305", -"@& c #27B903", -"#& c #209B02", -"$& c #A9DF27", -"%& c #A4DD27", -"&& c #91D623", -"*& c #E3F13C", -"=& c #E4F340", -"-& c #E4F33F", -";& c #E4F43E", -">& c #E2F439", -",& c #D6F033", -"'& c #D5F034", -")& c #CEEF2E", -"!& c #CBED26", -"~& c #CFEF27", -"{& c #D5F22E", -"]& c #B5E620", -"^& c #B9EA1F", -"/& c #84E620", -"(& c #3EB508", -"_& c #58CE0D", -":& c #39CA11", -"<& c #3EC607", -"[& c #3BCA08", -"}& c #28BB04", -"|& c #28BC03", -"1& c #8FD620", -"2& c #97D823", -"3& c #A6E22B", -"4& c #69CB1D", -"5& c #86D61F", -"6& c #E5F740", -"7& c #DCF338", -"8& c #CAEC2D", -"9& c #CDED2B", -"0& c #D1F02C", -"a& c #CDEE27", -"b& c #C1EB22", -"c& c #CFF228", -"d& c #BCE922", -"e& c #3CBB09", -"f& c #50CD0C", -"g& c #4BCD0B", -"h& c #3CC207", -"i& c #42CD09", -"j& c #2EBB04", -"k& c #28B905", -"l& c #28B903", -"m& c #61B113", -"n& c #7ED41A", -"o& c #89D71B", -"p& c #8DDB1A", -"q& c #7CD518", -"r& c #8FDA1B", -"s& c #71D314", -"t& c #7CDA18", -"u& c #BEF232", -"v& c #8BD715", -"w& c #63C207", -"x& c #55C108", -"y& c #5AD111", -"z& c #4BC90B", -"A& c #3EC108", -"B& c #46C908", -"C& c #40CB08", -"D& c #34C205", -"E& c #32C505", -"F& c #22A003", -"G& c #79D818", -"H& c #75D314", -"I& c #67D012", -"J& c #69D313", -"K& c #71D613", -"L& c #67D413", -"M& c #4BC20C", -"N& c #4DCB0E", -"O& c #5AD510", -"P& c #50CA0B", -"Q& c #4BC909", -"R& c #3CC708", -"S& c #42C906", -"T& c #35C206", -"U& c #33C306", -"V& c #30C504", -"W& c #49C30E", -"X& c #71D913", -"Y& c #84E318", -"Z& c #5ECF0E", -"`& c #58D00D", -" * c #5ED40D", -".* c #48C70A", -"+* c #57D40B", -"@* c #37BE06", -"#* c #39C707", -"$* c #37C505", -"%* c #34C705", -"&* c #49BE0B", -"** c #4BD00C", -"=* c #46C609", -"-* c #46D00A", -";* c #33BE06", -">* c #20A904", -" . + @ # $ % ", -" & * = - ; > , ' ) ! ~ { ", -" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", -" 7 8 9 0 a b c d e f g h i j k l m n o p ", -" q r s t u v w x y z A B C D E F G H I J K L ", -" M M N O P u Q R S T U V W X Y Z ` ...+.@.#.$.%. ", -" &.O *.O =.-.;.>.R ,.'.).!.~.{.].^./.(._.:.<.[.}.|.1. ", -" O O O 2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n. ", -" o.O *.p.p.3.-.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K. ", -" O o.q L.p.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+ ", -" *+=+-+;+>+p.,+'+)+!+~+8.{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+ ", -" r N N 8+p.9+0+a+b+c+d+e+d f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+ ", -" w+x+w+y+z+A+B+C+D+E+S F+G+H+I+J+K+L+M+N+O+P+Q+R+S+$+T+U+V+W+ ", -"X+Y+Z+`+ @.@+@6.@@#@$@^ %@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@", -"[@}@|@1@2@3@4@5@6@7@8@9@0@a@b@) c@d@e@f@g@h@i@j@k@l@m@n@o@p@q@r@", -"s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@>@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@", -"X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#:#<#[#}#", -"|#1#2#3#4###5#'.6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#", -"t#u#v#w#s@x#y#z#a@A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#", -" X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$I#;$>$,$'$)$!$~${$]$^$/$($_$:$ ", -" <$[$}$|$*#1$2$3$4$5$6$7$8$9$0$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$ ", -" p$q$r$s$t$u$v$w$x$y$z$A$B$C$D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$S$ ", -" T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,%'%)%!%~%{%]% ", -" ^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c%d%($e%f%g%h% ", -" i%j%k%l%a$m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C%D%E%F%G% ", -" H%I%J%K%L%M%N%O%P%Q%G$R%S%T%U%V%W%X%Y%Z%`% &.&+&@&#& ", -" $&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:&<&[&}&|& ", -" 1&2&3&4&5&6&7&8&9&0&a&b&c&d&e&f&g&h&i&j&k&l& ", -" m&n&o&p&q&r&s&t&u&v&w&x&y&z&A&B&C&D&E&F& ", -" G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V& ", -" W&X&Y&Z&`& *.*+*@*#*$*%* ", -" &***=*-*;*>* "}; diff --git a/debian/control b/debian/control index 4372aaea..2a77f351 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,16 @@ Source: tmw Section: games Priority: optional -Homepage: http://www.themanaworld.org/ +Homepage: http://209.168.213.109 Maintainer: Patrick Matthäi Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), dpatch, autotools-dev, libcurl4-gnutls-dev, libgl1-mesa-dev, libguichan2-dev (>= 0.7.1), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libphysfs-dev, libpng12-dev, libxml2-dev, zlib1g-dev Standards-Version: 3.7.3 -Package: tmw +Package: tme Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, tmw-data (= ${source:Version}) -Recommends: tmw-music -Description: The Mana World is a great Online Rolegame +Depends: ${shlibs:Depends}, ${misc:Depends}, tme-data (= ${source:Version}) +Recommends: tme-music +Description: The Mana Experiment is a great Online Rolegame based upon the Seiken Densetsu serie. It has its own universe, and its own character management system, which will give you the opportunity to play in a 2D heroic-fantasy world forever. diff --git a/debian/rules b/debian/rules index 614ee701..68dd9400 100755 --- a/debian/rules +++ b/debian/rules @@ -56,7 +56,7 @@ binary-arch: build install dh_install -a dh_desktop -a dh_installmenu -a - dh_strip -a --dbg-package=tmw-dbg + dh_strip -a --dbg-package=tme-dbg dh_compress -a dh_fixperms -a dh_installdeb -a diff --git a/debian/tme-data.install b/debian/tme-data.install new file mode 100644 index 00000000..a836ce3d --- /dev/null +++ b/debian/tme-data.install @@ -0,0 +1,5 @@ +data/graphics/gui/*.png usr/share/games/tme/data/graphics/gui +data/graphics/images/*.png usr/share/games/tme/data/graphics/images +data/graphics/images/ambient/*.png usr/share/games/tme/data/graphics/images/ambient +data/graphics/tiles/*.png usr/share/games/tme/data/graphics/tiles +data/help/*.txt usr/share/games/tme/data/help diff --git a/debian/tme.docs b/debian/tme.docs new file mode 100644 index 00000000..d622a527 --- /dev/null +++ b/debian/tme.docs @@ -0,0 +1,6 @@ +AUTHORS +NEWS +README +ChangeLog +docs/progression.txt +docs/FAQ.txt diff --git a/debian/tme.install b/debian/tme.install new file mode 100644 index 00000000..6c9ced58 --- /dev/null +++ b/debian/tme.install @@ -0,0 +1,5 @@ +debian/tme.desktop usr/share/applications +debian/tme.xpm usr/share/pixmaps +data/icons/tme.png usr/share/icons +docs/tme.6 usr/share/man/man6 +src/tme usr/games diff --git a/debian/tme.menu b/debian/tme.menu new file mode 100644 index 00000000..4af5ad0a --- /dev/null +++ b/debian/tme.menu @@ -0,0 +1,4 @@ +?package(tmw):needs="X11" section="Games/Adventure"\ + title="The Mana World"\ + description="The Mana World is an Online Fantasy adventure game."\ + command="/usr/games/tmw" icon="/usr/share/pixmaps/tmw.xpm" diff --git a/debian/tme.sgml b/debian/tme.sgml new file mode 100644 index 00000000..0ed18199 --- /dev/null +++ b/debian/tme.sgml @@ -0,0 +1,149 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FERREIRA"> + Yohann"> + + avril 13, 2005"> + + 6"> + bertram@cegetel.net"> + + TMW"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + tmw is the abreviation of The Mana World : A Fantasy Online Game + + + + &dhpackage; + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; ingame + commands. + &dhpackage; is a Great Online Game based upon the Seiken Densetsu Serie. +It has its own universe, and and its own character management system, which will +give you the opportunity to play in a 2D heroic-fantasy world forever. + + + + COMMON KEYS + + Arrow Keys, Key Pad Keys (Diagonals Supported). +Move your character around. + +Left Ctrl : +Make your character attack. + +G : +Get Items on the ground or in a chest. + +Alt + 1...9 : +Shows an Emoticon above your character. + +Alt + I : +Shows / Hide Inventory Window. + +Alt + K : +Shows / Hide Skills Window. + +Alt + E : +Shows / Hide Equipment Window. + +Alt + C : +Shows Configuration Window. + + + + + SEE ALSO + + libguichan (2). + + The program is documented fully by The Mana World Team available via the + website http://www.manaworld.org/ + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/debian/tme.xpm b/debian/tme.xpm new file mode 100644 index 00000000..e7c2222a --- /dev/null +++ b/debian/tme.xpm @@ -0,0 +1,776 @@ +/* XPM */ +static char * tme_xpm[] = { +"32 32 741 2", +" c None", +". c #E8ED72", +"+ c #E7ED6A", +"@ c #E1EB62", +"# c #D4E758", +"$ c #D2E750", +"% c #CDE748", +"& c #F5F4A1", +"* c #F3F294", +"= c #EBEE81", +"- c #EAEE77", +"; c #E6ED6F", +"> c #E1EB68", +", c #D9E859", +"' c #D3E851", +") c #CCE549", +"! c #C7E643", +"~ c #BEE239", +"{ c #B3DF32", +"] c #F8F8C4", +"^ c #F9F7B3", +"/ c #F4F3A2", +"( c #F4F397", +"_ c #F5F39A", +": c #F2F399", +"< c #E2EA6D", +"[ c #DFEA66", +"} c #DAE95C", +"| c #D3E753", +"1 c #CAE54B", +"2 c #C7E545", +"3 c #BFE23C", +"4 c #B7E034", +"5 c #B1E130", +"6 c #A5DC28", +"7 c #F9F9DA", +"8 c #F9F8CA", +"9 c #F8F7C9", +"0 c #F8F7CD", +"a c #F9F7C7", +"b c #F9F7B8", +"c c #F7F5A8", +"d c #E6EC73", +"e c #E0EA68", +"f c #DBE95D", +"g c #D8E956", +"h c #D2E850", +"i c #C4E343", +"j c #BEE23D", +"k c #B2E036", +"l c #A9DE2E", +"m c #A0DC29", +"n c #91D823", +"o c #F9F9F5", +"p c #F9F9EA", +"q c #F9F9E2", +"r c #F9F8E9", +"s c #F9F8E1", +"t c #F9F7D3", +"u c #F9F7BC", +"v c #F9F7AF", +"w c #E8EE80", +"x c #E2EC6F", +"y c #DBEA61", +"z c #D3E755", +"A c #CAE44C", +"B c #C6E446", +"C c #BDE441", +"D c #B8E337", +"E c #AADE30", +"F c #9DDA2A", +"G c #91D722", +"H c #87D61F", +"I c #7FD61B", +"J c #F9F9F8", +"K c #F9F9F7", +"L c #F9F9F0", +"M c #F9F8EC", +"N c #F9F7E1", +"O c #F9F7D7", +"P c #F9F7C9", +"Q c #F9F7B4", +"R c #EBF092", +"S c #E1EB69", +"T c #DBE95F", +"U c #D3E654", +"V c #CCE44A", +"W c #C9E647", +"X c #BDE13D", +"Y c #B1DE35", +"Z c #A8DD30", +"` c #9BDA29", +" . c #94D823", +".. c #8CD921", +"+. c #82D71C", +"@. c #7CD716", +"#. c #F9F9F9", +"$. c #F9F8F5", +"%. c #F9F7EE", +"&. c #F9F7E4", +"*. c #F9F7D5", +"=. c #F9F7CB", +"-. c #F9F7BF", +";. c #F4F39E", +">. c #E1EA76", +",. c #E0EA69", +"'. c #D9E85D", +"). c #D7E859", +"!. c #CCE64E", +"~. c #C1E343", +"{. c #BBE23C", +"]. c #B0DF34", +"^. c #A9DD2F", +"/. c #9AD928", +"(. c #90D822", +"_. c #8AD81F", +":. c #81D81B", +"<. c #76D517", +"[. c #F9F7F6", +"}. c #F9F7F4", +"|. c #F9F5D3", +"1. c #F9F6C7", +"2. c #F9F6B9", +"3. c #E6EC86", +"4. c #E6ED72", +"5. c #E3ED6C", +"6. c #D6E75E", +"7. c #D1E655", +"8. c #C7E34A", +"9. c #C1E141", +"0. c #B2DD39", +"a. c #B3E135", +"b. c #A6DE30", +"c. c #9BDB29", +"d. c #97DA24", +"e. c #87D71E", +"f. c #82D71B", +"g. c #87DA1F", +"h. c #63CF12", +"i. c #F8F8F8", +"j. c #F9F7F5", +"k. c #F9F5E3", +"l. c #F9F5D4", +"m. c #F9F6B8", +"n. c #EDF198", +"o. c #E1EB6F", +"p. c #E1EC68", +"q. c #D8E95C", +"r. c #D3E752", +"s. c #C9E44A", +"t. c #C7E746", +"u. c #BEE43D", +"v. c #B0E138", +"w. c #A8E02D", +"x. c #A3DF29", +"y. c #B4E226", +"z. c #CDEB2C", +"A. c #B9E925", +"B. c #6DD213", +"C. c #56C90F", +"D. c #F9F8F4", +"E. c #F9F7EB", +"F. c #F9F7F2", +"G. c #F9F5EA", +"H. c #F9F3DE", +"I. c #F9F4CF", +"J. c #F9F5C5", +"K. c #F9F5B8", +"L. c #F8F7B2", +"M. c #F1F495", +"N. c #E3EC6B", +"O. c #D8E859", +"P. c #CEE650", +"Q. c #C8E449", +"R. c #C2E441", +"S. c #BAE139", +"T. c #E7F24F", +"U. c #E3F347", +"V. c #DCF13E", +"W. c #D9F137", +"X. c #CDEE30", +"Y. c #C3EB27", +"Z. c #85D919", +"`. c #4FC90E", +" + c #F7F7F2", +".+ c #F9F9F2", +"++ c #F9F8ED", +"@+ c #F9F5EE", +"#+ c #F9F4E4", +"$+ c #F9F5DC", +"%+ c #F9F6D1", +"&+ c #F9F6C2", +"*+ c #F9F6B7", +"=+ c #F9F6A6", +"-+ c #F8F599", +";+ c #F7F591", +">+ c #F4F584", +",+ c #D7EB61", +"'+ c #C5E447", +")+ c #BAE13E", +"!+ c #B8E23A", +"~+ c #B8E132", +"{+ c #E6F349", +"]+ c #E1F343", +"^+ c #DAF13B", +"/+ c #D2EF33", +"(+ c #CBEE2E", +"_+ c #C1EA25", +":+ c #A9E61F", +"<+ c #55CE10", +"[+ c #4FC60D", +"}+ c #F8F8E9", +"|+ c #F9F9E8", +"1+ c #F9F9E7", +"2+ c #F9F8E4", +"3+ c #F9F7F0", +"4+ c #F9F6EF", +"5+ c #F9F5E7", +"6+ c #F9F3DB", +"7+ c #F9F5D6", +"8+ c #F9F7CE", +"9+ c #F9F7BE", +"0+ c #F9F7B7", +"a+ c #F9F7A5", +"b+ c #F7F691", +"c+ c #F6F588", +"d+ c #F5F580", +"e+ c #DBEE6B", +"f+ c #BAE13D", +"g+ c #B5E137", +"h+ c #A5DB2E", +"i+ c #E0F041", +"j+ c #DBF140", +"k+ c #DAF138", +"l+ c #D1EE32", +"m+ c #C6EB2B", +"n+ c #C0EC27", +"o+ c #BAEB22", +"p+ c #65D517", +"q+ c #4FCC0B", +"r+ c #F9F9D7", +"s+ c #F9F9D6", +"t+ c #F9F8EA", +"u+ c #F9F7E8", +"v+ c #F9F5E5", +"w+ c #F9F5DD", +"x+ c #F9F2D2", +"y+ c #F9F3CA", +"z+ c #F9F6C3", +"A+ c #F9F7BA", +"B+ c #F9F8B2", +"C+ c #F8F89E", +"D+ c #F8F58E", +"E+ c #F5F583", +"F+ c #EFF479", +"G+ c #C5E557", +"H+ c #C5E543", +"I+ c #B9E13B", +"J+ c #9FDA2A", +"K+ c #CEEC3B", +"L+ c #D9EF38", +"M+ c #D4EE32", +"N+ c #D1EF30", +"O+ c #C8ED2A", +"P+ c #C2EB26", +"Q+ c #B5E81E", +"R+ c #80DC1C", +"S+ c #46C80B", +"T+ c #F0F1C0", +"U+ c #F9F8C7", +"V+ c #F9F9C6", +"W+ c #F9F8D5", +"X+ c #F9F7DF", +"Y+ c #F9F6D6", +"Z+ c #F9F5D0", +"`+ c #F9F3C4", +" @ c #F9F3BC", +".@ c #F9F5B5", +"+@ c #F9F7B0", +"@@ c #F9F8A4", +"#@ c #F7F796", +"$@ c #EFF386", +"%@ c #D3E865", +"&@ c #C7E450", +"*@ c #C0E242", +"=@ c #BEE33F", +"-@ c #B5E036", +";@ c #A7DB2F", +">@ c #A0DC2B", +",@ c #C4E32F", +"'@ c #DCF139", +")@ c #D2ED2E", +"!@ c #CAEC2A", +"~@ c #CBEF2B", +"{@ c #BEEA22", +"]@ c #B2E81E", +"^@ c #8FDD17", +"/@ c #3DC209", +"(@ c #33BC07", +"_@ c #F5F5B4", +":@ c #F6F6AE", +"<@ c #F6F6B1", +"[@ c #F7F7B3", +"}@ c #F2F3AB", +"|@ c #F3F198", +"1@ c #F8F5BA", +"2@ c #F9F4B6", +"3@ c #F9F3AF", +"4@ c #F9F4A4", +"5@ c #F8F7A2", +"6@ c #F7F799", +"7@ c #F6F68A", +"8@ c #DDEC69", +"9@ c #CEE74F", +"0@ c #C0E03C", +"a@ c #D5EA4C", +"b@ c #BEE23A", +"c@ c #A9DF2F", +"d@ c #9EDD2A", +"e@ c #BEE22A", +"f@ c #DCF23A", +"g@ c #D4F033", +"h@ c #CBED2A", +"i@ c #C5ED29", +"j@ c #BDEB22", +"k@ c #B4E81E", +"l@ c #A5E618", +"m@ c #41C209", +"n@ c #3ABF07", +"o@ c #DCDC8A", +"p@ c #F3F49B", +"q@ c #F3F49D", +"r@ c #F2F49D", +"s@ c #F4F59F", +"t@ c #F4F59D", +"u@ c #F1F498", +"v@ c #F8F7BF", +"w@ c #F9F6AF", +"x@ c #F8F39A", +"y@ c #F8F594", +"z@ c #F5F57D", +"A@ c #DDEC66", +"B@ c #C2E144", +"C@ c #BDE13F", +"D@ c #BFD82E", +"E@ c #E6EF4E", +"F@ c #E1F04A", +"G@ c #C2E433", +"H@ c #CDEA34", +"I@ c #DDF03F", +"J@ c #D4EF36", +"K@ c #CFEF30", +"L@ c #CBEE2A", +"M@ c #C2EC26", +"N@ c #B7E91F", +"O@ c #ADE71C", +"P@ c #A0E517", +"Q@ c #3FC008", +"R@ c #33BD06", +"S@ c #DDD97B", +"T@ c #F2F392", +"U@ c #F0F28F", +"V@ c #F1F38C", +"W@ c #F6F7BE", +"X@ c #F5F6B7", +"Y@ c #F5F5B2", +"Z@ c #F9F6A7", +"`@ c #F9F6A3", +" # c #F8F59C", +".# c #F8F38D", +"+# c #F7F58C", +"@# c #F5F687", +"## c #F3F576", +"$# c #F0F575", +"%# c #DDEC57", +"&# c #D8EA49", +"*# c #DDE946", +"=# c #E8F14F", +"-# c #E3F148", +";# c #E2F346", +"># c #E1F345", +",# c #D8F039", +"'# c #D1EF31", +")# c #CAED2C", +"!# c #C4EC27", +"~# c #C1ED24", +"{# c #B6EA1F", +"]# c #AFEA1C", +"^# c #A4E717", +"/# c #3EBF08", +"(# c #37C206", +"_# c #E8EB6C", +":# c #E6ED76", +"<# c #E4EC73", +"[# c #ECEF86", +"}# c #F8F7A7", +"|# c #F9F7A7", +"1# c #F8F7A3", +"2# c #F8F69D", +"3# c #F8F69A", +"4# c #F7F48A", +"5# c #F6F27B", +"6# c #F6F482", +"7# c #F3F57B", +"8# c #F1F574", +"9# c #F0F46C", +"0# c #EBF25E", +"a# c #EBF259", +"b# c #E7F152", +"c# c #E1EF44", +"d# c #DFEF40", +"e# c #D7EE3B", +"f# c #DAF039", +"g# c #D7F137", +"h# c #D1F032", +"i# c #CCEF2C", +"j# c #C6EE26", +"k# c #B7EA1F", +"l# c #AAE81A", +"m# c #97E415", +"n# c #37BE07", +"o# c #2CAF05", +"p# c #D5DC5B", +"q# c #E4ED6F", +"r# c #E9F082", +"s# c #F8F7A1", +"t# c #F8F79D", +"u# c #F7F696", +"v# c #F6F68B", +"w# c #F5F37B", +"x# c #F5F378", +"y# c #F3F372", +"z# c #F1F36C", +"A# c #EEF468", +"B# c #ECF35D", +"C# c #EAF256", +"D# c #E7F151", +"E# c #E4F148", +"F# c #E0F043", +"G# c #E1F143", +"H# c #D9EF39", +"I# c #D2ED31", +"J# c #CEF030", +"K# c #C9EF2A", +"L# c #C0ED25", +"M# c #ADE61C", +"N# c #A7E619", +"O# c #A5E818", +"P# c #80D913", +"Q# c #34BE06", +"R# c #35BF05", +"S# c #E0EC61", +"T# c #E4ED72", +"U# c #F7F792", +"V# c #F7F791", +"W# c #F8F78F", +"X# c #F6F687", +"Y# c #F6F688", +"Z# c #F3F377", +"`# c #F4F474", +" $ c #F1F472", +".$ c #EEF46D", +"+$ c #DEEB59", +"@$ c #E7F059", +"#$ c #E9F356", +"$$ c #E9F255", +"%$ c #E7F24D", +"&$ c #E6F245", +"*$ c #E4F243", +"=$ c #DFF240", +"-$ c #D7EF36", +";$ c #CCEB2B", +">$ c #CDEE2C", +",$ c #C5ED2A", +"'$ c #BDEB25", +")$ c #ADE71E", +"!$ c #A6E51A", +"~$ c #9AE316", +"{$ c #93E214", +"]$ c #5CC30B", +"^$ c #34BD05", +"/$ c #DDEC59", +"($ c #D6E858", +"_$ c #F5F57C", +":$ c #F5F680", +"<$ c #F5F67E", +"[$ c #F5F67C", +"}$ c #F4F574", +"|$ c #F1F26A", +"1$ c #F2F46F", +"2$ c #EFF468", +"3$ c #BCE24A", +"4$ c #BBDF38", +"5$ c #B9DB30", +"6$ c #C3DF33", +"7$ c #DDED42", +"8$ c #E5F249", +"9$ c #DEF03D", +"0$ c #D5EF35", +"a$ c #CEEE2E", +"b$ c #C1E925", +"c$ c #B9E923", +"d$ c #B1E71E", +"e$ c #ABE619", +"f$ c #A8E517", +"g$ c #94E113", +"h$ c #83DE11", +"i$ c #35AD06", +"j$ c #2FBB04", +"k$ c #CEE249", +"l$ c #CFE54B", +"m$ c #E8F16F", +"n$ c #F5F578", +"o$ c #F4F674", +"p$ c #F1F46D", +"q$ c #F2F268", +"r$ c #F1F366", +"s$ c #EFF462", +"t$ c #DEEF5B", +"u$ c #B3E039", +"v$ c #B4E037", +"w$ c #AEDE31", +"x$ c #A6DB2B", +"y$ c #BBE331", +"z$ c #E3F243", +"A$ c #DFF141", +"B$ c #D9F038", +"C$ c #D9F136", +"D$ c #CDEF2E", +"E$ c #C7EE2A", +"F$ c #BDEB24", +"G$ c #B7EA1D", +"H$ c #A0E316", +"I$ c #96E214", +"J$ c #93E212", +"K$ c #6DD10D", +"L$ c #2CAD04", +"M$ c #2AB303", +"N$ c #CDE746", +"O$ c #CDE74B", +"P$ c #F0F56D", +"Q$ c #F2F46A", +"R$ c #F0F264", +"S$ c #ECF15A", +"T$ c #EFF361", +"U$ c #EDF45A", +"V$ c #EBF45C", +"W$ c #B9E239", +"X$ c #B6E335", +"Y$ c #ADE02E", +"Z$ c #A9E02B", +"`$ c #A4DE28", +" % c #DFF243", +".% c #D7EF35", +"+% c #D5EF31", +"@% c #D4F031", +"#% c #CDEF2C", +"$% c #C7ED28", +"%% c #C6EE27", +"&% c #C1EE23", +"*% c #B6EC1F", +"=% c #A7E818", +"-% c #67CC0E", +";% c #47C208", +">% c #34B906", +",% c #2DBD04", +"'% c #C1E23C", +")% c #C3E53E", +"!% c #D7EB4F", +"~% c #EEF257", +"{% c #ECF057", +"]% c #EAF051", +"^% c #EBF255", +"/% c #EBF452", +"(% c #E9F450", +"_% c #B8E137", +":% c #A3DB2A", +"<% c #A5DF2B", +"[% c #98DA26", +"}% c #8CD621", +"|% c #90D41D", +"1% c #BFE326", +"2% c #D0EE2D", +"3% c #CEEF2E", +"4% c #C8EE28", +"5% c #C1ED26", +"6% c #BCEC22", +"7% c #B9ED20", +"8% c #9FE419", +"9% c #70CD0F", +"0% c #35B906", +"a% c #34C005", +"b% c #30C005", +"c% c #26B503", +"d% c #B7E036", +"e% c #B7E239", +"f% c #E2EF4B", +"g% c #EBF451", +"h% c #E5F14B", +"i% c #E4F04B", +"j% c #E7F451", +"k% c #E6F44B", +"l% c #B6DD2C", +"m% c #ABDC25", +"n% c #B4DF23", +"o% c #A3D61D", +"p% c #96D91D", +"q% c #86D218", +"r% c #B3DE21", +"s% c #CAED2B", +"t% c #C6EC25", +"u% c #BEEB22", +"v% c #BDEC20", +"w% c #B3EA1D", +"x% c #9AE017", +"y% c #46BC07", +"z% c #40C107", +"A% c #35C206", +"B% c #2EBE05", +"C% c #2BBD04", +"D% c #B2E130", +"E% c #B5E334", +"F% c #DFF042", +"G% c #E4F147", +"H% c #E5F348", +"I% c #E2F246", +"J% c #E4F445", +"K% c #DFF33F", +"L% c #E0F33D", +"M% c #DCF238", +"N% c #D8F034", +"O% c #D2EF2E", +"P% c #CBEB29", +"Q% c #D1EF2D", +"R% c #C7ED26", +"S% c #C5EE26", +"T% c #B7EA20", +"U% c #B5EA1D", +"V% c #AEEA1B", +"W% c #85D813", +"X% c #3FC208", +"Y% c #3AC507", +"Z% c #33C005", +"`% c #2BBB04", +" & c #26A903", +".& c #A9E029", +"+& c #A5DF29", +"@& c #A5DE29", +"#& c #D8EE3D", +"$& c #E4F341", +"%& c #E2F340", +"&& c #E0F33C", +"*& c #DDF239", +"=& c #D9F236", +"-& c #D6F133", +";& c #D3F131", +">& c #CEEE2A", +",& c #CEEF28", +"'& c #CBEF29", +")& c #BFEB22", +"!& c #B2EB23", +"~& c #81DD1D", +"{& c #6DCF11", +"]& c #68D10F", +"^& c #4CCB0E", +"/& c #39C407", +"(& c #33C106", +"_& c #2ABB04", +":& c #27B803", +"<& c #97DA23", +"[& c #98DC24", +"}& c #95DC23", +"|& c #93DB25", +"1& c #99DF2A", +"2& c #C6EC31", +"3& c #C6EB2E", +"4& c #ADE026", +"5& c #C1E928", +"6& c #CCEE29", +"7& c #C9ED26", +"8& c #B9EA21", +"9& c #8FD718", +"0& c #4FC30C", +"a& c #4DCB0B", +"b& c #49CB0A", +"c& c #3DC508", +"d& c #3DC808", +"e& c #34C306", +"f& c #2DBC04", +"g& c #2CBF04", +"h& c #88D81D", +"i& c #87D81A", +"j& c #86D81A", +"k& c #7ED518", +"l& c #75D015", +"m& c #71D113", +"n& c #84DB1A", +"o& c #9DE524", +"p& c #7CD316", +"q& c #62CA0E", +"r& c #5AC80B", +"s& c #55C90B", +"t& c #46CA0A", +"u& c #41C708", +"v& c #3DC907", +"w& c #36C406", +"x& c #30C205", +"y& c #27AA04", +"z& c #75D016", +"A& c #79D516", +"B& c #73D515", +"C& c #6AD113", +"D& c #6CD413", +"E& c #65D211", +"F& c #5BCD0F", +"G& c #56CD0E", +"H& c #58D10E", +"I& c #50CC0C", +"J& c #48C809", +"K& c #40C708", +"L& c #3FC607", +"M& c #40C907", +"N& c #38C706", +"O& c #32C105", +"P& c #57BE0F", +"Q& c #61D111", +"R& c #66D411", +"S& c #62D20F", +"T& c #57CD0D", +"U& c #57D00C", +"V& c #4DCC0C", +"W& c #4BCD0A", +"X& c #40C608", +"Y& c #3DC807", +"Z& c #30B505", +"`& c #4BBC0B", +" * c #4CC20A", +".* c #48BF0A", +"+* c #45C109", +"@* c #38B507", +"#* c #31B506", +" . + @ # $ % ", +" & * = - ; > , ' ) ! ~ { ", +" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", +" 7 8 9 0 a b c d e f g h i j k l m n ", +" o p q r s t a u v w x y z A B C D E F G H I ", +" J K L o M N O P u Q R S T U V W X Y Z ` ...+.@. ", +" #.K J $.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<. ", +" #.#.J [.}.%.&.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h. ", +" i.#.K [.j.}.%.k.l.1.m.n.o.p.q.r.s.t.u.v.E w.x.y.z.A.B.C. ", +" #.K D.E.}.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.D T.U.V.W.X.Y.Z.`. ", +" +.+.+++&.F.@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+ ", +" }+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+9.f+g+h+i+j+k+l+m+n+o+p+q+ ", +" r+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+].J+K+L+M+N+O+P+Q+R+S+ ", +"T+U+V+V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@", +"_@:@<@[@[@}@|@1@2@3@4@5@6@7@8@9@W 0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@", +"o@p@q@r@s@t@u@v@w@4@x@y@b+z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@", +"S@T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#", +"_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#O@l#m#n#o#", +"p#q#r#5@s#t#u#b+v#w#x#y#z#A#B#C#D#E#F#G#H#I#'#J#K#L#M#N#O#P#Q#R#", +" S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$;$>$,$'$)$!$~${$]$^$ ", +" /$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$G#9$k+0$a$b$c$d$e$f$g$h$i$j$ ", +" k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z$A$B$C$'#D$E$F$G$H$I$J$K$L$M$ ", +" N$O$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,% ", +" '%)%!%~%{%]%^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c% ", +" d%e%f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C% ", +" D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W%X%Y%Z%`% & ", +" .&+&@&#&$&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:& ", +" <&[&}&|&1&2&3&4&5&6&7&{@8&9&0&a&b&c&d&e&f&g& ", +" h&i&j&k&l&m&n&o&p&q&r&s&a&t&u&v&w&x&y& ", +" z&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O& ", +" P&Q&R&S&T&U&V&W&X&Y&v&Z& ", +" `& *.*+*@*#* "}; diff --git a/debian/tmw-data.install b/debian/tmw-data.install deleted file mode 100644 index c9f6cb7b..00000000 --- a/debian/tmw-data.install +++ /dev/null @@ -1,5 +0,0 @@ -data/graphics/gui/*.png usr/share/games/tmw/data/graphics/gui -data/graphics/images/*.png usr/share/games/tmw/data/graphics/images -data/graphics/images/ambient/*.png usr/share/games/tmw/data/graphics/images/ambient -data/graphics/tiles/*.png usr/share/games/tmw/data/graphics/tiles -data/help/*.txt usr/share/games/tmw/data/help diff --git a/debian/tmw.desktop b/debian/tmw.desktop deleted file mode 100644 index f094f668..00000000 --- a/debian/tmw.desktop +++ /dev/null @@ -1,15 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=The Mana World -Name[fr]=Le Monde de Mana -Comment=An online fantasy role playing game -Comment[fr]=Un jeu en ligne dans un univers fantastique -Comment[de]=ein Online Fantasy Spiel -Comment[it]=Un gioco fantasy online -Comment[nl]=Een online role playing game -Exec=tmw -StartupNotify=false -Terminal=false -Type=Game -Icon=tmw.png -Categories=Game diff --git a/debian/tmw.docs b/debian/tmw.docs deleted file mode 100644 index d622a527..00000000 --- a/debian/tmw.docs +++ /dev/null @@ -1,6 +0,0 @@ -AUTHORS -NEWS -README -ChangeLog -docs/progression.txt -docs/FAQ.txt diff --git a/debian/tmw.install b/debian/tmw.install deleted file mode 100644 index 037ccf54..00000000 --- a/debian/tmw.install +++ /dev/null @@ -1,5 +0,0 @@ -debian/tmw.desktop usr/share/applications -debian/tmw.xpm usr/share/pixmaps -data/icons/tmw.png usr/share/icons -docs/tmw.6 usr/share/man/man6 -src/tmw usr/games diff --git a/debian/tmw.menu b/debian/tmw.menu deleted file mode 100644 index 4af5ad0a..00000000 --- a/debian/tmw.menu +++ /dev/null @@ -1,4 +0,0 @@ -?package(tmw):needs="X11" section="Games/Adventure"\ - title="The Mana World"\ - description="The Mana World is an Online Fantasy adventure game."\ - command="/usr/games/tmw" icon="/usr/share/pixmaps/tmw.xpm" diff --git a/debian/tmw.sgml b/debian/tmw.sgml deleted file mode 100644 index 0ed18199..00000000 --- a/debian/tmw.sgml +++ /dev/null @@ -1,149 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - - FERREIRA"> - Yohann"> - - avril 13, 2005"> - - 6"> - bertram@cegetel.net"> - - TMW"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - tmw is the abreviation of The Mana World : A Fantasy Online Game - - - - &dhpackage; - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; ingame - commands. - &dhpackage; is a Great Online Game based upon the Seiken Densetsu Serie. -It has its own universe, and and its own character management system, which will -give you the opportunity to play in a 2D heroic-fantasy world forever. - - - - COMMON KEYS - - Arrow Keys, Key Pad Keys (Diagonals Supported). -Move your character around. - -Left Ctrl : -Make your character attack. - -G : -Get Items on the ground or in a chest. - -Alt + 1...9 : -Shows an Emoticon above your character. - -Alt + I : -Shows / Hide Inventory Window. - -Alt + K : -Shows / Hide Skills Window. - -Alt + E : -Shows / Hide Equipment Window. - -Alt + C : -Shows Configuration Window. - - - - - SEE ALSO - - libguichan (2). - - The program is documented fully by The Mana World Team available via the - website http://www.manaworld.org/ - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - - - diff --git a/debian/tmw.xpm b/debian/tmw.xpm deleted file mode 100644 index 46ce5c87..00000000 --- a/debian/tmw.xpm +++ /dev/null @@ -1,776 +0,0 @@ -/* XPM */ -static char * tmw_xpm[] = { -"32 32 741 2", -" c None", -". c #E8ED72", -"+ c #E7ED6A", -"@ c #E1EB62", -"# c #D4E758", -"$ c #D2E750", -"% c #CDE748", -"& c #F5F4A1", -"* c #F3F294", -"= c #EBEE81", -"- c #EAEE77", -"; c #E6ED6F", -"> c #E1EB68", -", c #D9E859", -"' c #D3E851", -") c #CCE549", -"! c #C7E643", -"~ c #BEE239", -"{ c #B3DF32", -"] c #F8F8C4", -"^ c #F9F7B3", -"/ c #F4F3A2", -"( c #F4F397", -"_ c #F5F39A", -": c #F2F399", -"< c #E2EA6D", -"[ c #DFEA66", -"} c #DAE95C", -"| c #D3E753", -"1 c #CAE54B", -"2 c #C7E545", -"3 c #BFE23C", -"4 c #B7E034", -"5 c #B1E130", -"6 c #A5DC28", -"7 c #F9F9DA", -"8 c #F9F8CA", -"9 c #F8F7C9", -"0 c #F8F7CD", -"a c #F9F7C7", -"b c #F9F7B8", -"c c #F7F5A8", -"d c #E6EC73", -"e c #E0EA68", -"f c #DBE95D", -"g c #D8E956", -"h c #D2E850", -"i c #C4E343", -"j c #BEE23D", -"k c #B2E036", -"l c #A9DE2E", -"m c #A0DC29", -"n c #91D823", -"o c #F9F9F5", -"p c #F9F9EA", -"q c #F9F9E2", -"r c #F9F8E9", -"s c #F9F8E1", -"t c #F9F7D3", -"u c #F9F7BC", -"v c #F9F7AF", -"w c #E8EE80", -"x c #E2EC6F", -"y c #DBEA61", -"z c #D3E755", -"A c #CAE44C", -"B c #C6E446", -"C c #BDE441", -"D c #B8E337", -"E c #AADE30", -"F c #9DDA2A", -"G c #91D722", -"H c #87D61F", -"I c #7FD61B", -"J c #F9F9F8", -"K c #F9F9F7", -"L c #F9F9F0", -"M c #F9F8EC", -"N c #F9F7E1", -"O c #F9F7D7", -"P c #F9F7C9", -"Q c #F9F7B4", -"R c #EBF092", -"S c #E1EB69", -"T c #DBE95F", -"U c #D3E654", -"V c #CCE44A", -"W c #C9E647", -"X c #BDE13D", -"Y c #B1DE35", -"Z c #A8DD30", -"` c #9BDA29", -" . c #94D823", -".. c #8CD921", -"+. c #82D71C", -"@. c #7CD716", -"#. c #F9F9F9", -"$. c #F9F8F5", -"%. c #F9F7EE", -"&. c #F9F7E4", -"*. c #F9F7D5", -"=. c #F9F7CB", -"-. c #F9F7BF", -";. c #F4F39E", -">. c #E1EA76", -",. c #E0EA69", -"'. c #D9E85D", -"). c #D7E859", -"!. c #CCE64E", -"~. c #C1E343", -"{. c #BBE23C", -"]. c #B0DF34", -"^. c #A9DD2F", -"/. c #9AD928", -"(. c #90D822", -"_. c #8AD81F", -":. c #81D81B", -"<. c #76D517", -"[. c #F9F7F6", -"}. c #F9F7F4", -"|. c #F9F5D3", -"1. c #F9F6C7", -"2. c #F9F6B9", -"3. c #E6EC86", -"4. c #E6ED72", -"5. c #E3ED6C", -"6. c #D6E75E", -"7. c #D1E655", -"8. c #C7E34A", -"9. c #C1E141", -"0. c #B2DD39", -"a. c #B3E135", -"b. c #A6DE30", -"c. c #9BDB29", -"d. c #97DA24", -"e. c #87D71E", -"f. c #82D71B", -"g. c #87DA1F", -"h. c #63CF12", -"i. c #F8F8F8", -"j. c #F9F7F5", -"k. c #F9F5E3", -"l. c #F9F5D4", -"m. c #F9F6B8", -"n. c #EDF198", -"o. c #E1EB6F", -"p. c #E1EC68", -"q. c #D8E95C", -"r. c #D3E752", -"s. c #C9E44A", -"t. c #C7E746", -"u. c #BEE43D", -"v. c #B0E138", -"w. c #A8E02D", -"x. c #A3DF29", -"y. c #B4E226", -"z. c #CDEB2C", -"A. c #B9E925", -"B. c #6DD213", -"C. c #56C90F", -"D. c #F9F8F4", -"E. c #F9F7EB", -"F. c #F9F7F2", -"G. c #F9F5EA", -"H. c #F9F3DE", -"I. c #F9F4CF", -"J. c #F9F5C5", -"K. c #F9F5B8", -"L. c #F8F7B2", -"M. c #F1F495", -"N. c #E3EC6B", -"O. c #D8E859", -"P. c #CEE650", -"Q. c #C8E449", -"R. c #C2E441", -"S. c #BAE139", -"T. c #E7F24F", -"U. c #E3F347", -"V. c #DCF13E", -"W. c #D9F137", -"X. c #CDEE30", -"Y. c #C3EB27", -"Z. c #85D919", -"`. c #4FC90E", -" + c #F7F7F2", -".+ c #F9F9F2", -"++ c #F9F8ED", -"@+ c #F9F5EE", -"#+ c #F9F4E4", -"$+ c #F9F5DC", -"%+ c #F9F6D1", -"&+ c #F9F6C2", -"*+ c #F9F6B7", -"=+ c #F9F6A6", -"-+ c #F8F599", -";+ c #F7F591", -">+ c #F4F584", -",+ c #D7EB61", -"'+ c #C5E447", -")+ c #BAE13E", -"!+ c #B8E23A", -"~+ c #B8E132", -"{+ c #E6F349", -"]+ c #E1F343", -"^+ c #DAF13B", -"/+ c #D2EF33", -"(+ c #CBEE2E", -"_+ c #C1EA25", -":+ c #A9E61F", -"<+ c #55CE10", -"[+ c #4FC60D", -"}+ c #F8F8E9", -"|+ c #F9F9E8", -"1+ c #F9F9E7", -"2+ c #F9F8E4", -"3+ c #F9F7F0", -"4+ c #F9F6EF", -"5+ c #F9F5E7", -"6+ c #F9F3DB", -"7+ c #F9F5D6", -"8+ c #F9F7CE", -"9+ c #F9F7BE", -"0+ c #F9F7B7", -"a+ c #F9F7A5", -"b+ c #F7F691", -"c+ c #F6F588", -"d+ c #F5F580", -"e+ c #DBEE6B", -"f+ c #BAE13D", -"g+ c #B5E137", -"h+ c #A5DB2E", -"i+ c #E0F041", -"j+ c #DBF140", -"k+ c #DAF138", -"l+ c #D1EE32", -"m+ c #C6EB2B", -"n+ c #C0EC27", -"o+ c #BAEB22", -"p+ c #65D517", -"q+ c #4FCC0B", -"r+ c #F9F9D7", -"s+ c #F9F9D6", -"t+ c #F9F8EA", -"u+ c #F9F7E8", -"v+ c #F9F5E5", -"w+ c #F9F5DD", -"x+ c #F9F2D2", -"y+ c #F9F3CA", -"z+ c #F9F6C3", -"A+ c #F9F7BA", -"B+ c #F9F8B2", -"C+ c #F8F89E", -"D+ c #F8F58E", -"E+ c #F5F583", -"F+ c #EFF479", -"G+ c #C5E557", -"H+ c #C5E543", -"I+ c #B9E13B", -"J+ c #9FDA2A", -"K+ c #CEEC3B", -"L+ c #D9EF38", -"M+ c #D4EE32", -"N+ c #D1EF30", -"O+ c #C8ED2A", -"P+ c #C2EB26", -"Q+ c #B5E81E", -"R+ c #80DC1C", -"S+ c #46C80B", -"T+ c #F0F1C0", -"U+ c #F9F8C7", -"V+ c #F9F9C6", -"W+ c #F9F8D5", -"X+ c #F9F7DF", -"Y+ c #F9F6D6", -"Z+ c #F9F5D0", -"`+ c #F9F3C4", -" @ c #F9F3BC", -".@ c #F9F5B5", -"+@ c #F9F7B0", -"@@ c #F9F8A4", -"#@ c #F7F796", -"$@ c #EFF386", -"%@ c #D3E865", -"&@ c #C7E450", -"*@ c #C0E242", -"=@ c #BEE33F", -"-@ c #B5E036", -";@ c #A7DB2F", -">@ c #A0DC2B", -",@ c #C4E32F", -"'@ c #DCF139", -")@ c #D2ED2E", -"!@ c #CAEC2A", -"~@ c #CBEF2B", -"{@ c #BEEA22", -"]@ c #B2E81E", -"^@ c #8FDD17", -"/@ c #3DC209", -"(@ c #33BC07", -"_@ c #F5F5B4", -":@ c #F6F6AE", -"<@ c #F6F6B1", -"[@ c #F7F7B3", -"}@ c #F2F3AB", -"|@ c #F3F198", -"1@ c #F8F5BA", -"2@ c #F9F4B6", -"3@ c #F9F3AF", -"4@ c #F9F4A4", -"5@ c #F8F7A2", -"6@ c #F7F799", -"7@ c #F6F68A", -"8@ c #DDEC69", -"9@ c #CEE74F", -"0@ c #C0E03C", -"a@ c #D5EA4C", -"b@ c #BEE23A", -"c@ c #A9DF2F", -"d@ c #9EDD2A", -"e@ c #BEE22A", -"f@ c #DCF23A", -"g@ c #D4F033", -"h@ c #CBED2A", -"i@ c #C5ED29", -"j@ c #BDEB22", -"k@ c #B4E81E", -"l@ c #A5E618", -"m@ c #41C209", -"n@ c #3ABF07", -"o@ c #DCDC8A", -"p@ c #F3F49B", -"q@ c #F3F49D", -"r@ c #F2F49D", -"s@ c #F4F59F", -"t@ c #F4F59D", -"u@ c #F1F498", -"v@ c #F8F7BF", -"w@ c #F9F6AF", -"x@ c #F8F39A", -"y@ c #F8F594", -"z@ c #F5F57D", -"A@ c #DDEC66", -"B@ c #C2E144", -"C@ c #BDE13F", -"D@ c #BFD82E", -"E@ c #E6EF4E", -"F@ c #E1F04A", -"G@ c #C2E433", -"H@ c #CDEA34", -"I@ c #DDF03F", -"J@ c #D4EF36", -"K@ c #CFEF30", -"L@ c #CBEE2A", -"M@ c #C2EC26", -"N@ c #B7E91F", -"O@ c #ADE71C", -"P@ c #A0E517", -"Q@ c #3FC008", -"R@ c #33BD06", -"S@ c #DDD97B", -"T@ c #F2F392", -"U@ c #F0F28F", -"V@ c #F1F38C", -"W@ c #F6F7BE", -"X@ c #F5F6B7", -"Y@ c #F5F5B2", -"Z@ c #F9F6A7", -"`@ c #F9F6A3", -" # c #F8F59C", -".# c #F8F38D", -"+# c #F7F58C", -"@# c #F5F687", -"## c #F3F576", -"$# c #F0F575", -"%# c #DDEC57", -"&# c #D8EA49", -"*# c #DDE946", -"=# c #E8F14F", -"-# c #E3F148", -";# c #E2F346", -"># c #E1F345", -",# c #D8F039", -"'# c #D1EF31", -")# c #CAED2C", -"!# c #C4EC27", -"~# c #C1ED24", -"{# c #B6EA1F", -"]# c #AFEA1C", -"^# c #A4E717", -"/# c #3EBF08", -"(# c #37C206", -"_# c #E8EB6C", -":# c #E6ED76", -"<# c #E4EC73", -"[# c #ECEF86", -"}# c #F8F7A7", -"|# c #F9F7A7", -"1# c #F8F7A3", -"2# c #F8F69D", -"3# c #F8F69A", -"4# c #F7F48A", -"5# c #F6F27B", -"6# c #F6F482", -"7# c #F3F57B", -"8# c #F1F574", -"9# c #F0F46C", -"0# c #EBF25E", -"a# c #EBF259", -"b# c #E7F152", -"c# c #E1EF44", -"d# c #DFEF40", -"e# c #D7EE3B", -"f# c #DAF039", -"g# c #D7F137", -"h# c #D1F032", -"i# c #CCEF2C", -"j# c #C6EE26", -"k# c #B7EA1F", -"l# c #AAE81A", -"m# c #97E415", -"n# c #37BE07", -"o# c #2CAF05", -"p# c #D5DC5B", -"q# c #E4ED6F", -"r# c #E9F082", -"s# c #F8F7A1", -"t# c #F8F79D", -"u# c #F7F696", -"v# c #F6F68B", -"w# c #F5F37B", -"x# c #F5F378", -"y# c #F3F372", -"z# c #F1F36C", -"A# c #EEF468", -"B# c #ECF35D", -"C# c #EAF256", -"D# c #E7F151", -"E# c #E4F148", -"F# c #E0F043", -"G# c #E1F143", -"H# c #D9EF39", -"I# c #D2ED31", -"J# c #CEF030", -"K# c #C9EF2A", -"L# c #C0ED25", -"M# c #ADE61C", -"N# c #A7E619", -"O# c #A5E818", -"P# c #80D913", -"Q# c #34BE06", -"R# c #35BF05", -"S# c #E0EC61", -"T# c #E4ED72", -"U# c #F7F792", -"V# c #F7F791", -"W# c #F8F78F", -"X# c #F6F687", -"Y# c #F6F688", -"Z# c #F3F377", -"`# c #F4F474", -" $ c #F1F472", -".$ c #EEF46D", -"+$ c #DEEB59", -"@$ c #E7F059", -"#$ c #E9F356", -"$$ c #E9F255", -"%$ c #E7F24D", -"&$ c #E6F245", -"*$ c #E4F243", -"=$ c #DFF240", -"-$ c #D7EF36", -";$ c #CCEB2B", -">$ c #CDEE2C", -",$ c #C5ED2A", -"'$ c #BDEB25", -")$ c #ADE71E", -"!$ c #A6E51A", -"~$ c #9AE316", -"{$ c #93E214", -"]$ c #5CC30B", -"^$ c #34BD05", -"/$ c #DDEC59", -"($ c #D6E858", -"_$ c #F5F57C", -":$ c #F5F680", -"<$ c #F5F67E", -"[$ c #F5F67C", -"}$ c #F4F574", -"|$ c #F1F26A", -"1$ c #F2F46F", -"2$ c #EFF468", -"3$ c #BCE24A", -"4$ c #BBDF38", -"5$ c #B9DB30", -"6$ c #C3DF33", -"7$ c #DDED42", -"8$ c #E5F249", -"9$ c #DEF03D", -"0$ c #D5EF35", -"a$ c #CEEE2E", -"b$ c #C1E925", -"c$ c #B9E923", -"d$ c #B1E71E", -"e$ c #ABE619", -"f$ c #A8E517", -"g$ c #94E113", -"h$ c #83DE11", -"i$ c #35AD06", -"j$ c #2FBB04", -"k$ c #CEE249", -"l$ c #CFE54B", -"m$ c #E8F16F", -"n$ c #F5F578", -"o$ c #F4F674", -"p$ c #F1F46D", -"q$ c #F2F268", -"r$ c #F1F366", -"s$ c #EFF462", -"t$ c #DEEF5B", -"u$ c #B3E039", -"v$ c #B4E037", -"w$ c #AEDE31", -"x$ c #A6DB2B", -"y$ c #BBE331", -"z$ c #E3F243", -"A$ c #DFF141", -"B$ c #D9F038", -"C$ c #D9F136", -"D$ c #CDEF2E", -"E$ c #C7EE2A", -"F$ c #BDEB24", -"G$ c #B7EA1D", -"H$ c #A0E316", -"I$ c #96E214", -"J$ c #93E212", -"K$ c #6DD10D", -"L$ c #2CAD04", -"M$ c #2AB303", -"N$ c #CDE746", -"O$ c #CDE74B", -"P$ c #F0F56D", -"Q$ c #F2F46A", -"R$ c #F0F264", -"S$ c #ECF15A", -"T$ c #EFF361", -"U$ c #EDF45A", -"V$ c #EBF45C", -"W$ c #B9E239", -"X$ c #B6E335", -"Y$ c #ADE02E", -"Z$ c #A9E02B", -"`$ c #A4DE28", -" % c #DFF243", -".% c #D7EF35", -"+% c #D5EF31", -"@% c #D4F031", -"#% c #CDEF2C", -"$% c #C7ED28", -"%% c #C6EE27", -"&% c #C1EE23", -"*% c #B6EC1F", -"=% c #A7E818", -"-% c #67CC0E", -";% c #47C208", -">% c #34B906", -",% c #2DBD04", -"'% c #C1E23C", -")% c #C3E53E", -"!% c #D7EB4F", -"~% c #EEF257", -"{% c #ECF057", -"]% c #EAF051", -"^% c #EBF255", -"/% c #EBF452", -"(% c #E9F450", -"_% c #B8E137", -":% c #A3DB2A", -"<% c #A5DF2B", -"[% c #98DA26", -"}% c #8CD621", -"|% c #90D41D", -"1% c #BFE326", -"2% c #D0EE2D", -"3% c #CEEF2E", -"4% c #C8EE28", -"5% c #C1ED26", -"6% c #BCEC22", -"7% c #B9ED20", -"8% c #9FE419", -"9% c #70CD0F", -"0% c #35B906", -"a% c #34C005", -"b% c #30C005", -"c% c #26B503", -"d% c #B7E036", -"e% c #B7E239", -"f% c #E2EF4B", -"g% c #EBF451", -"h% c #E5F14B", -"i% c #E4F04B", -"j% c #E7F451", -"k% c #E6F44B", -"l% c #B6DD2C", -"m% c #ABDC25", -"n% c #B4DF23", -"o% c #A3D61D", -"p% c #96D91D", -"q% c #86D218", -"r% c #B3DE21", -"s% c #CAED2B", -"t% c #C6EC25", -"u% c #BEEB22", -"v% c #BDEC20", -"w% c #B3EA1D", -"x% c #9AE017", -"y% c #46BC07", -"z% c #40C107", -"A% c #35C206", -"B% c #2EBE05", -"C% c #2BBD04", -"D% c #B2E130", -"E% c #B5E334", -"F% c #DFF042", -"G% c #E4F147", -"H% c #E5F348", -"I% c #E2F246", -"J% c #E4F445", -"K% c #DFF33F", -"L% c #E0F33D", -"M% c #DCF238", -"N% c #D8F034", -"O% c #D2EF2E", -"P% c #CBEB29", -"Q% c #D1EF2D", -"R% c #C7ED26", -"S% c #C5EE26", -"T% c #B7EA20", -"U% c #B5EA1D", -"V% c #AEEA1B", -"W% c #85D813", -"X% c #3FC208", -"Y% c #3AC507", -"Z% c #33C005", -"`% c #2BBB04", -" & c #26A903", -".& c #A9E029", -"+& c #A5DF29", -"@& c #A5DE29", -"#& c #D8EE3D", -"$& c #E4F341", -"%& c #E2F340", -"&& c #E0F33C", -"*& c #DDF239", -"=& c #D9F236", -"-& c #D6F133", -";& c #D3F131", -">& c #CEEE2A", -",& c #CEEF28", -"'& c #CBEF29", -")& c #BFEB22", -"!& c #B2EB23", -"~& c #81DD1D", -"{& c #6DCF11", -"]& c #68D10F", -"^& c #4CCB0E", -"/& c #39C407", -"(& c #33C106", -"_& c #2ABB04", -":& c #27B803", -"<& c #97DA23", -"[& c #98DC24", -"}& c #95DC23", -"|& c #93DB25", -"1& c #99DF2A", -"2& c #C6EC31", -"3& c #C6EB2E", -"4& c #ADE026", -"5& c #C1E928", -"6& c #CCEE29", -"7& c #C9ED26", -"8& c #B9EA21", -"9& c #8FD718", -"0& c #4FC30C", -"a& c #4DCB0B", -"b& c #49CB0A", -"c& c #3DC508", -"d& c #3DC808", -"e& c #34C306", -"f& c #2DBC04", -"g& c #2CBF04", -"h& c #88D81D", -"i& c #87D81A", -"j& c #86D81A", -"k& c #7ED518", -"l& c #75D015", -"m& c #71D113", -"n& c #84DB1A", -"o& c #9DE524", -"p& c #7CD316", -"q& c #62CA0E", -"r& c #5AC80B", -"s& c #55C90B", -"t& c #46CA0A", -"u& c #41C708", -"v& c #3DC907", -"w& c #36C406", -"x& c #30C205", -"y& c #27AA04", -"z& c #75D016", -"A& c #79D516", -"B& c #73D515", -"C& c #6AD113", -"D& c #6CD413", -"E& c #65D211", -"F& c #5BCD0F", -"G& c #56CD0E", -"H& c #58D10E", -"I& c #50CC0C", -"J& c #48C809", -"K& c #40C708", -"L& c #3FC607", -"M& c #40C907", -"N& c #38C706", -"O& c #32C105", -"P& c #57BE0F", -"Q& c #61D111", -"R& c #66D411", -"S& c #62D20F", -"T& c #57CD0D", -"U& c #57D00C", -"V& c #4DCC0C", -"W& c #4BCD0A", -"X& c #40C608", -"Y& c #3DC807", -"Z& c #30B505", -"`& c #4BBC0B", -" * c #4CC20A", -".* c #48BF0A", -"+* c #45C109", -"@* c #38B507", -"#* c #31B506", -" . + @ # $ % ", -" & * = - ; > , ' ) ! ~ { ", -" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", -" 7 8 9 0 a b c d e f g h i j k l m n ", -" o p q r s t a u v w x y z A B C D E F G H I ", -" J K L o M N O P u Q R S T U V W X Y Z ` ...+.@. ", -" #.K J $.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<. ", -" #.#.J [.}.%.&.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h. ", -" i.#.K [.j.}.%.k.l.1.m.n.o.p.q.r.s.t.u.v.E w.x.y.z.A.B.C. ", -" #.K D.E.}.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.D T.U.V.W.X.Y.Z.`. ", -" +.+.+++&.F.@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+ ", -" }+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+9.f+g+h+i+j+k+l+m+n+o+p+q+ ", -" r+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+].J+K+L+M+N+O+P+Q+R+S+ ", -"T+U+V+V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@", -"_@:@<@[@[@}@|@1@2@3@4@5@6@7@8@9@W 0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@", -"o@p@q@r@s@t@u@v@w@4@x@y@b+z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@", -"S@T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#", -"_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#O@l#m#n#o#", -"p#q#r#5@s#t#u#b+v#w#x#y#z#A#B#C#D#E#F#G#H#I#'#J#K#L#M#N#O#P#Q#R#", -" S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$;$>$,$'$)$!$~${$]$^$ ", -" /$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$G#9$k+0$a$b$c$d$e$f$g$h$i$j$ ", -" k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z$A$B$C$'#D$E$F$G$H$I$J$K$L$M$ ", -" N$O$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,% ", -" '%)%!%~%{%]%^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c% ", -" d%e%f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C% ", -" D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W%X%Y%Z%`% & ", -" .&+&@&#&$&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:& ", -" <&[&}&|&1&2&3&4&5&6&7&{@8&9&0&a&b&c&d&e&f&g& ", -" h&i&j&k&l&m&n&o&p&q&r&s&a&t&u&v&w&x&y& ", -" z&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O& ", -" P&Q&R&S&T&U&V&W&X&Y&v&Z& ", -" `& *.*+*@*#* "}; diff --git a/docs/FAQ.txt b/docs/FAQ.txt index 6055513c..db3eb491 100644 --- a/docs/FAQ.txt +++ b/docs/FAQ.txt @@ -7,10 +7,10 @@ Q: How to get help? A: The fastest way is to come on our IRC channel. There you can find a lot of nice people that will help you until you solve your problem. Server: - irc.freenode.net Channel: #themanaworld. + irc.freenode.net Channel: #themanaexperiment. If you don't like IRC just come to our forums: - http://forums.themanaworld.org. Ok, do you think forums are evil? Don't - worry, send me an e-mail at elvenprogrammer@gmail.com and you're done. + http://tme.onlinegamecore.com/forums. Ok, do you think forums are evil? + Don't worry, send me an e-mail at elvenprogrammer@gmail.com and you're done. That's not enough? No, I won't give you my phone number! ;P GAME @@ -36,15 +36,6 @@ A: Did you read README? Are you really sure? If not go read it and you'll find README/ingame help is not up to date/wrong, please report it to the developers. -Q: I just typed / in the chat window and then I saw "Your account has - been banished until ..." and TMW closed. Now when I try to log in nothing - happens? - -A: That's because / are not implemented at the moment of writing. - Please avoid using such commands (i.e. /help) until they're added. - Anyway the ban is temp, just wait some minutes and you should be able to - connect again. - Q: I can't recover HP anymore. A: Check your inventory, if you've got lots of stuff probably you're @@ -77,14 +68,10 @@ A: There are a lot of ways: - If you're a programmer, an artist or just willing to help in any way, you can become part of the development team. Send an e-mail to elvenprogrammer@gmail.com explaining what you want to do, or join our irc - channel: #themanaworld @ irc.freenode.net. - - - You can donate money. Follow the link on the project page: - http://sourceforge.net/projects/themanaworld. + channel: #themanaexperiment @ irc.freenode.net. - - You can be a beta tester. Just play with The Mana World and report every - error to the tracker. Read for more infos on the project page: - http://themanaworld.org. + - You can be a beta tester. Just play with The Mana Experiment and report + every error on the forum. - - Play with The Mana World: more players, more fun! Simple as that! ;-) + - Play with The Mana Experiment: more players, more fun! Simple as that! ;-) diff --git a/docs/HACKING.txt b/docs/HACKING.txt index f2ae8b2b..fdec32a6 100644 --- a/docs/HACKING.txt +++ b/docs/HACKING.txt @@ -1,6 +1,6 @@ ----------------------------- -The Mana World Hacking Guide ----------------------------- +--------------------------------- +The Mana Experiment Hacking Guide +--------------------------------- With multiple coders working on the same source files, there needs to be a standard specifying how code is written down. Not doing so can cause quite some diff --git a/docs/INSTALL/debian.txt b/docs/INSTALL/debian.txt index 9a74d91b..59e2376e 100644 --- a/docs/INSTALL/debian.txt +++ b/docs/INSTALL/debian.txt @@ -1,24 +1,24 @@ -How to install TMW on my GNU/Debian Box +How to install TME on my GNU/Debian Box ================================================== Author: FERREIRA Yohann (Bertram) Email: Bertram@cegetel.net -The Mana World project +The Mana Experiment project ====================== -Homepage: http://themanaworld.org/ -IRC: irc.freenode.net / #themanaworld +Homepage: http://209.168.213.109/ +IRC: irc.freenode.net / #themanaexperiment -1) Installing The Mana World and dependencies +1) Installing The Mana Experiment and dependencies 2) Creating a Debian Package using DebHelper Tools 3) Notes -1. Installing The Mana World and Dependencies +1. Installing The Mana Experiment and Dependencies ============================================= -The Mana World Debian Package can be installed under the Debian Testing and -Unstable (Sarge/Sid). In order to have Mana World working, you'll need +The Mana Experiment Debian Package can be installed under the Debian Testing and +Unstable (Sarge/Sid). In order to have Mana Experiment working, you'll need packages for SDL, SDL_mixer, SDL_image, libxml2, libphysfs and libguichan0. To install the dependencies, you can do type (as root): @@ -41,9 +41,9 @@ And the debhelper tools: Download tmw from Subversion using the command (You'll need Subversion installed on your system): - svn https://svn.sourceforge.net/svnroot/themanaworld/tmw/trunk tmw + svn svn://209.168.213.109 tme -Rename the tmw folder into tmw-XXX and open a console in it. +Rename the tme folder into tme-XXX and open a console in it. You can now type: fakeroot dpkg-buildpackage @@ -53,16 +53,16 @@ file. Install it: - dpkg -i tmw_XXXXXX_i386.deb + dpkg -i tme_XXXXXX_i386.deb (If you've got a previous one already installed with the same version number, don't forget to remove it with :) - apt-get remove tmw + apt-get remove tme (Don't worry, you configuration files are not removed...) -And now the final step: type 'tmw' as a normal user in a shell and you're in! +And now the final step: type 'tme' as a normal user in a shell and you're in! KDE/GNOME menu entries are created in Arcade Games upon installation. @@ -79,9 +79,9 @@ Simply add in your /etc/apt/sources.list file: Then, as root, do: apt-get update - apt-get install tmw + apt-get install tme and you're done! -N.B.: The tmw-music, libguichan0, and libguichan0-dev packages are also +N.B.: The tme-music, libguichan0, and libguichan0-dev packages are also provided in this repository. diff --git a/docs/INSTALL/win32.txt b/docs/INSTALL/win32.txt index 1a1e527f..88f47034 100644 --- a/docs/INSTALL/win32.txt +++ b/docs/INSTALL/win32.txt @@ -1,10 +1,10 @@ -How setup Dev-C++ to compile TMW on a Win32 Box +How setup Dev-C++ to compile TME on a Win32 Box =============================================== -The Mana World project -====================== -Homepage: themanaworld.sourceforge.net -IRC: irc.freenode.net / #themanaworld +The Mana Experiment project +=========================== +Homepage: http://209.168.213.109 +IRC: irc.freenode.net / #themanaexperiment 0. Index @@ -12,7 +12,7 @@ IRC: irc.freenode.net / #themanaworld 1. Requirements 2. Installing Dev-C++ 3. Installing the required libraries -4. Compiling The Mana World +4. Compiling The Mana Experiment 1. Requirements @@ -23,7 +23,7 @@ free IDE for Win32 built around GCC. Remember, Win32 was not meant for GCC and stuff so you will probably run into trouble unless you really know what you're doing, so best stick with Dev-C++. -Besides a C++ compiler, TMW depends on the following libraries: +Besides a C++ compiler, TME depends on the following libraries: 1) SDL 2) SDL_mixer @@ -95,36 +95,36 @@ Install them all through the Dev-C++ package manager. iconv-1.9.1.win32.zip From each file, copy the headers to your include directory, the libs to - the lib direcotry and the dlls (in bin direcotry) to your tmw directory. + the lib direcotry and the dlls (in bin direcotry) to your tme directory. **) For PhysFS copy the headers to your include directory, the libs to - the lib directory and the dlls (in bin direcotry) to your tmw directory. + the lib directory and the dlls (in bin direcotry) to your tme directory. ***) Download developer files and put headers and libs in to include and lib - directories of Dev-Cpp. Download binaries and place the dll inside tmw + directories of Dev-Cpp. Download binaries and place the dll inside tme folder. ****) Get latest win32 - mingw package and install as usual. -You should now be fully equipped for compiling the latest TMW development +You should now be fully equipped for compiling the latest TME development code! -4. Compiling The Mana World -=========================== +4. Compiling The Mana Experiment +================================ -Check out The Mana World from Subversion using either the command line svn +Check out The Mana Experiment from Subversion using either the command line svn tool or TortoiseSVN, pick what you like to use most and install that. Next, check out the following directory from our repository: - https://svn.sourceforge.net/svnroot/themanaworld/tmw/trunk + svn://209.168.213.109/client/trunk -Open "The Mana World.dev" in Dev-C++. From there on you should be able to -start compilition with Excute -> Compile. A file called tmw.exe should appear +Open "The Mana Experiment.dev" in Dev-C++. From there on you should be able to +start compilition with Excute -> Compile. A file called tme.exe should appear in the same directory as where you opened the .dev from. Before you can actually run the executable be sure to copy over the following -DLLs from your Dev-Cpp/dll directory to the directory containing tmw.exe (or +DLLs from your Dev-Cpp/dll directory to the directory containing tme.exe (or alternatively into your c:\windows\system\ for a more universal solution): SDL.dll @@ -143,7 +143,7 @@ And also make sure you have: zlib1.dll Additionally don't forget to copy any updated .dll (when libs are updated, -the dll are usually updated too) to the folder containing tmw.exe (or to the +the dll are usually updated too) to the folder containing tme.exe (or to the c:\windows\system\). -Have fun hacking The Mana World! +Have fun hacking The Mana Experiment! diff --git a/docs/Makefile.am b/docs/Makefile.am index 43c0f6cc..4ea96959 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -4,8 +4,8 @@ EXTRA_DIST = $(man6_MANS) \ packages.txt \ FAQ.txt \ HACKING.txt \ - SOURCE/tmwdox.sh \ - SOURCE/tmw.doxcfg \ + SOURCE/tmedox.sh \ + SOURCE/tme.doxcfg \ items.txt \ progression.txt \ INSTALL/debian.txt \ diff --git a/docs/SOURCE/tme.doxcfg b/docs/SOURCE/tme.doxcfg new file mode 100644 index 00000000..f3f90af9 --- /dev/null +++ b/docs/SOURCE/tme.doxcfg @@ -0,0 +1,1153 @@ +# Doxyfile 1.3.8 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = The Mana Experiment + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ../docs/SOURCE/ + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of source +# files, where putting all generated files in the same directory would otherwise +# cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, +# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, +# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, +# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, +# Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is used +# as the annotated text. Otherwise, the brief description is used as-is. If left +# blank, the following values are used ("$name" is automatically replaced with the +# name of the entity): "The $name class" "The $name widget" "The $name file" +# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited +# members of a class in the documentation of that class as if those members were +# ordinary class members. Constructors, destructors and assignment operators of +# the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explicit @brief command for a brief description. + +JAVADOC_AUTOBRIEF = YES + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = YES + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = YES + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = YES + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = YES + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp +# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories +# that are symbolic links (a Unix filesystem feature) are excluded from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = tme.chm + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse the +# parser if not removed. + +SKIP_FUNCTION_MACROS = NO + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. Note that this +# option is superseded by the HAVE_DOT option below. This is only a fallback. It is +# recommended to install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = YES + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes that +# lay further from the root node will be omitted. Note that setting this option to +# 1 or 2 may greatly reduce the computation time needed for large code bases. Also +# note that a graph may be further truncated if the graph's image dimensions are +# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). +# If 0 is used for the depth value (the default), the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = YES diff --git a/docs/SOURCE/tmedox.sh b/docs/SOURCE/tmedox.sh new file mode 100644 index 00000000..7ab9ea74 --- /dev/null +++ b/docs/SOURCE/tmedox.sh @@ -0,0 +1 @@ +cd ../../src/ && doxygen ../docs/SOURCE/tme.doxcfg diff --git a/docs/SOURCE/tmw.doxcfg b/docs/SOURCE/tmw.doxcfg deleted file mode 100644 index fe5039fb..00000000 --- a/docs/SOURCE/tmw.doxcfg +++ /dev/null @@ -1,1153 +0,0 @@ -# Doxyfile 1.3.8 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = The Mana World - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = ../docs/SOURCE/ - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of source -# files, where putting all generated files in the same directory would otherwise -# cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, -# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, -# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, -# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, -# Swedish, and Ukrainian. - -OUTPUT_LANGUAGE = English - -# This tag can be used to specify the encoding used in the generated output. -# The encoding is not always determined by the language that is chosen, -# but also whether or not the output is meant for Windows or non-Windows users. -# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES -# forces the Windows encoding (this is the default for the Windows binary), -# whereas setting the tag to NO uses a Unix-style encoding (the default for -# all platforms other than Windows). - -USE_WINDOWS_ENCODING = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is used -# as the annotated text. Otherwise, the brief description is used as-is. If left -# blank, the following values are used ("$name" is automatically replaced with the -# name of the entity): "The $name class" "The $name widget" "The $name file" -# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = YES - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explicit @brief command for a brief description. - -JAVADOC_AUTOBRIEF = YES - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = YES - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 4 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = YES - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = YES - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = YES - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. If FILTER_PATTERNS is specified, this tag will be -# ignored. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: -# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER -# is applied to all files. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = NO - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = tmw.chm - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = NO - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = NO - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = YES - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 1024 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes that -# lay further from the root node will be omitted. Note that setting this option to -# 1 or 2 may greatly reduce the computation time needed for large code bases. Also -# note that a graph may be further truncated if the graph's image dimensions are -# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). -# If 0 is used for the depth value (the default), the graph is not depth-constrained. - -MAX_DOT_GRAPH_DEPTH = 0 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = YES diff --git a/docs/SOURCE/tmwdox.sh b/docs/SOURCE/tmwdox.sh deleted file mode 100644 index 541f8bee..00000000 --- a/docs/SOURCE/tmwdox.sh +++ /dev/null @@ -1 +0,0 @@ -cd ../../src/ && doxygen ../docs/SOURCE/tmw.doxcfg diff --git a/docs/packages.txt b/docs/packages.txt index 40ade7f9..46c35f51 100644 --- a/docs/packages.txt +++ b/docs/packages.txt @@ -1,6 +1,6 @@ ------------------------------ -THE MANA WORLD PACKAGE SYSTEM ------------------------------ +---------------------------------- +THE MANA EXPERIMENT PACKAGE SYSTEM +---------------------------------- 1. INTRODUCTION 2. LOCATION OF DATA @@ -13,36 +13,38 @@ THE MANA WORLD PACKAGE SYSTEM 1. INTRODUCTION -The Mana World is expected to grow continuously with updates to the game world -occurring relatively frequently. More often so than for example new releases -of the game client. To make sure players don't have to update their data -manually all the time, by for example downloading the latest from the website, -the TMW client should be able to automatically obtain new data packages from -the server. +The Mana Experiment is expected to grow continuously with updates to the game +world occurring relatively frequently. More often so than for example new +releases of the game client. To make sure players don't have to update their +data manually all the time, by for example downloading the latest from the +website, the TME client should be able to automatically obtain new data +packages from the server. Note: To reduce the load on the server (which isn't expected to have huge free uploading resources), the idea is that the server will only send a torrent file to the client and that the file is subsequently downloaded from - several locations that have volunteered to spread TMW data files. Ultimately + several locations that have volunteered to spread TME data files. Ultimately a simple option on the client will even allow players to contribute their excess bandwidth to help other players get the updates faster. 2. LOCATION OF DATA -There are two locations where TMW can look for game data. The install data +There are two locations where TME can look for game data. The install data directory and the data directory in the user's home directory. The latter one doesn't have to be used for Windows users, but is required for dynamic updates for UNIX users, who generally won't have write permissions to the install data directory. So for UNIX the two locations are: - /usr/local/share/manaworld/data/* + /usr/local/share/tme/data/* - ~/.manaworld/data/* + ~/.tme/updates/* + + ~/.tme/customdata While for Windows all the data will be located at: - C:\Program Files\The Mana World\data\* + C:\Program Files\The Mana Experiment\data\* In the UNIX case it doesn't matter in which order the data directories are examined. @@ -83,7 +85,7 @@ package is irrelevant. An example of the contents is given by: 5. INITIALIZING PACKAGE MANAGEMENT -When TMW starts it will scan its data directories for both packages (archives) +When TME starts it will scan its data directories for both packages (archives) and directories. When a directory is found with the same name as a package, the directory is the preferred location to load data from as it is assumed to be more up to date. @@ -127,7 +129,7 @@ The resource management technique is critical to the overall success of the package management system as a whole. Resources are loaded at runtime as they are needed, and unloaded as they become unused. In order to ensure the autonomous functioning of this process reference counting is the agreed upon -technique for managing loaded resources in TMW. +technique for managing loaded resources in TME. For those unfamiliar with the practice of reference counting, it involves every resource object having a variable containing the number of references to diff --git a/docs/sounddev.txt b/docs/sounddev.txt index 149150ba..ed2ae71e 100644 --- a/docs/sounddev.txt +++ b/docs/sounddev.txt @@ -1,6 +1,6 @@ --------------------------------- -THE MANA WORLD SOUND DEVELOPMENT --------------------------------- +------------------------------------- +THE MANA EXPERIMENT SOUND DEVELOPMENT +------------------------------------- 1. INTRODUCTION 2. SPECS @@ -9,7 +9,7 @@ THE MANA WORLD SOUND DEVELOPMENT 1. INTRODUCTION -In The Mana World we plan to have both background music and sound effects +In The Mana Experiment we plan to have both background music and sound effects linked to beings actions. 2. SPECS @@ -35,4 +35,4 @@ all. 4. SUGGESTIONS -As placeholders we could use Wesnoth SFX/BGM to test the sound engine. \ No newline at end of file +As placeholders we could use Wesnoth SFX/BGM to test the sound engine. diff --git a/docs/win32-release.txt b/docs/win32-release.txt index a8696897..1c0577df 100644 --- a/docs/win32-release.txt +++ b/docs/win32-release.txt @@ -1,6 +1,6 @@ --------------------------------------- -THE MANA WORLD WIN32 RELEASE CHECKLIST --------------------------------------- +------------------------------------------- +THE MANA EXPERIMENT WIN32 RELEASE CHECKLIST +------------------------------------------- Every Win32 releaser should follow this checklist when creating a new package. @@ -11,7 +11,7 @@ Every Win32 releaser should follow this checklist when creating a new package. * Eventually Legal Copyright - Update README and ChangeLog if not already - Compile OpenGL version (Using -DUSE_OPENGL option) and rename the executable - from tmw.exe to tmw_opengl.exe + from tme.exe to tme_opengl.exe - Compile normal version (Do not use special flags as __DEBUG or USE_OPENGL) - Check if the dlls were compressed (SDL.dll, SDL_Image.dll, SDL_Mixer.dll) - Check config.xml for default values: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0c2ef4cd..d7dcbc7a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,7 +8,7 @@ FIND_PACKAGE(PhysFS REQUIRED) FIND_PACKAGE(PNG REQUIRED) SET(FLAGS "-DPACKAGE_VERSION=\\\"${VERSION}\\\"") -SET(FLAGS "${FLAGS} -DTMW_DATADIR=\\\"${PKG_DATADIR}/\\\"") +SET(FLAGS "${FLAGS} -DTME_DATADIR=\\\"${PKG_DATADIR}/\\\"") SET(GUICHAN_COMPONENTS "SDL") IF (WITH_OPENGL) @@ -339,9 +339,9 @@ SET(SRCS vector.h ) -ADD_EXECUTABLE(tmw ${SRCS}) +ADD_EXECUTABLE(tme ${SRCS}) -TARGET_LINK_LIBRARIES(tmw +TARGET_LINK_LIBRARIES(tme ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${SDLMIXER_LIBRARY} @@ -354,6 +354,6 @@ TARGET_LINK_LIBRARIES(tmw ${OPENGL_LIBRARIES} ) -INSTALL(TARGETS tmw RUNTIME DESTINATION ${PKG_BINDIR}) +INSTALL(TARGETS tme RUNTIME DESTINATION ${PKG_BINDIR}) -SET_TARGET_PROPERTIES(tmw PROPERTIES COMPILE_FLAGS "${FLAGS}") +SET_TARGET_PROPERTIES(tme PROPERTIES COMPILE_FLAGS "${FLAGS}") diff --git a/src/Makefile.am b/src/Makefile.am index f1352f9e..e750e214 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,8 +3,8 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ gui/widgets/dropdown.h \ gui/widgets/resizegrip.cpp \ gui/widgets/resizegrip.h \ - gui/box.h \ gui/box.cpp \ + gui/box.h \ gui/browserbox.cpp \ gui/browserbox.h \ gui/button.cpp \ @@ -17,10 +17,10 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ gui/buysell.h \ gui/chargedialog.cpp \ gui/chargedialog.h \ - gui/char_server.cpp \ - gui/char_server.h \ gui/char_select.cpp \ gui/char_select.h \ + gui/char_server.cpp \ + gui/char_server.h \ gui/chat.cpp \ gui/chat.h \ gui/chatinput.cpp \ @@ -41,8 +41,8 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ gui/gccontainer.h \ gui/gui.cpp \ gui/gui.h \ - gui/hbox.h \ gui/hbox.cpp \ + gui/hbox.h \ gui/help.cpp \ gui/help.h \ gui/inttextbox.h \ @@ -117,10 +117,10 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ gui/status.h \ gui/tabbedcontainer.cpp \ gui/tabbedcontainer.h \ - gui/table.h \ gui/table.cpp \ - gui/table_model.h \ + gui/table.h \ gui/table_model.cpp \ + gui/table_model.h \ gui/textbox.cpp \ gui/textbox.h \ gui/textfield.cpp \ @@ -181,6 +181,8 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ resources/ambientoverlay.h \ resources/animation.cpp \ resources/animation.h \ + resources/buddylist.cpp \ + resources/buddylist.h \ resources/dye.cpp \ resources/dye.h \ resources/image.cpp \ @@ -213,8 +215,6 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ resources/soundeffect.cpp \ resources/spritedef.h \ resources/spritedef.cpp \ - resources/buddylist.h \ - resources/buddylist.cpp \ utils/base64.cpp \ utils/base64.h \ utils/dtor.h \ @@ -311,7 +311,7 @@ tme_SOURCES = gui/widgets/dropdown.cpp \ # set the include path found by configure INCLUDES = \ $(all_includes) \ - -DTMW_DATADIR=\""$(pkgdatadir)/"\" + -DTME_DATADIR=\""$(pkgdatadir)/"\" # the library search path. tme_LDFLAGS = $(all_libraries) $(LIBSDL_RPATH) `pkg-config --libs libxml-2.0` diff --git a/src/main.cpp b/src/main.cpp index 213e2939..cc30ec0a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -205,7 +205,7 @@ void init_engine(const Options &options) #elif defined __APPLE__ // Use Application Directory instead of .tme homeDir = std::string(PHYSFS_getUserDir()) + - "/Library/Application Support/The Mana World"; + "/Library/Application Support/The Mana Experiment"; if ((mkdir(homeDir.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) != 0) && (errno != EEXIST)) #else @@ -224,9 +224,9 @@ void init_engine(const Options &options) logger->setLogFile(homeDir + std::string("/tme.log")); #ifdef PACKAGE_VERSION - logger->log("Starting The Mana World Version %s", PACKAGE_VERSION); + logger->log("Starting The Mana Experiment Version %s", PACKAGE_VERSION); #else - logger->log("Starting The Mana World - Version not defined"); + logger->log("Starting The Mana Experiment - Version not defined"); #endif // Initialize SDL @@ -268,7 +268,7 @@ void init_engine(const Options &options) strncat(path, "/data", PATH_MAX - 1); resman->addToSearchPath(path, true); #else - resman->addToSearchPath(TMW_DATADIR "data", true); + resman->addToSearchPath(TME_DATADIR "data", true); #endif // Fill configuration with defaults @@ -294,24 +294,24 @@ void init_engine(const Options &options) // Checking if the configuration file exists... otherwise creates it with // default options ! - FILE *tmwFile = 0; + FILE *tmeFile = 0; std::string configPath = options.configPath; if (configPath.empty()) configPath = homeDir + "/config.xml"; - tmwFile = fopen(configPath.c_str(), "r"); + tmeFile = fopen(configPath.c_str(), "r"); // If we can't read it, it doesn't exist ! - if (tmwFile == NULL) { + if (tmeFile == NULL) { // We reopen the file in write mode and we create it - tmwFile = fopen(configPath.c_str(), "wt"); + tmeFile = fopen(configPath.c_str(), "wt"); } - if (tmwFile == NULL) { + if (tmeFile == NULL) { std::cout << "Can't create " << configPath << ". " "Using Defaults." << std::endl; } else { - fclose(tmwFile); + fclose(tmeFile); config.init(configPath); } @@ -325,7 +325,7 @@ void init_engine(const Options &options) SetClassLong(pInfo.window, GCL_HICON, (LONG) icon); } #else - SDL_Surface *icon = IMG_Load(TMW_DATADIR "data/icons/tmw.png"); + SDL_Surface *icon = IMG_Load(TME_DATADIR "data/icons/tme.png"); if (icon) { SDL_SetAlpha(icon, SDL_SRCALPHA, SDL_ALPHA_OPAQUE); @@ -422,7 +422,7 @@ void exit_engine() void printHelp() { std::cout - << "tmw" << std::endl << std::endl + << "tme" << std::endl << std::endl << "Options: " << std::endl << " -h --help : Display this help" << std::endl << " -v --version : Display the version" << std::endl @@ -439,9 +439,10 @@ void printHelp() void printVersion() { #ifdef PACKAGE_VERSION - std::cout << "The Mana World version " << PACKAGE_VERSION << std::endl; + std::cout << "The Mana Experiment version " << PACKAGE_VERSION << + std::endl; #else - std::cout << "The Mana World version " << + std::cout << "The Mana Experiment version " << "(local build?, PACKAGE_VERSION is not defined)" << std::endl; #endif } diff --git a/src/main.h b/src/main.h index af59ea26..1f9aa9d0 100644 --- a/src/main.h +++ b/src/main.h @@ -32,8 +32,8 @@ #include "winver.h" #endif -#ifndef TMW_DATADIR -#define TMW_DATADIR "" +#ifndef TME_DATADIR +#define TME_DATADIR "" #endif /* diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 6b45c9d7..ae255144 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -210,7 +210,7 @@ ResourceManager::getPath(const std::string &file) // get the real path to the file const char* tmp = PHYSFS_getRealDir(file.c_str()); std::string path; - + // if the file is not in the search path, then its NULL if (tmp) { @@ -219,9 +219,9 @@ ResourceManager::getPath(const std::string &file) else { // if not found in search path return the default path - path = std::string(TMW_DATADIR) + std::string("data") + "/" + file; + path = std::string(TME_DATADIR) + std::string("data") + "/" + file; } - + return path; } diff --git a/src/tme.rc b/src/tme.rc new file mode 100644 index 00000000..495d0675 --- /dev/null +++ b/src/tme.rc @@ -0,0 +1,23 @@ +#include // include for version info constants + +#include "winver.h" + +A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "data/icons/tme.ico" + +1 VERSIONINFO +FILEVERSION VER_MAJOR,VER_MINOR,VER_RELEASE,VER_BUILD +PRODUCTVERSION VER_MAJOR,VER_MINOR,VER_RELEASE,VER_BUILD +FILETYPE VFT_APP { + BLOCK "StringFileInfo" { + BLOCK "040904E4" { + VALUE "CompanyName", "The Mana Experiment Development Team" + VALUE "FileVersion", PACKAGE_VERSION + VALUE "FileDescription", "The Mana Experiment" + VALUE "LegalCopyright", "2008 (C)" + VALUE "OriginalFilename", "tme.exe" + VALUE "ProductName", "The Mana Experiment MMORPG" + VALUE "ProductVersion", PACKAGE_VERSION + } + } +} + diff --git a/src/tmw.rc b/src/tmw.rc deleted file mode 100644 index 673b2387..00000000 --- a/src/tmw.rc +++ /dev/null @@ -1,23 +0,0 @@ -#include // include for version info constants - -#include "winver.h" - -A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "data/icons/tmw.ico" - -1 VERSIONINFO -FILEVERSION VER_MAJOR,VER_MINOR,VER_RELEASE,VER_BUILD -PRODUCTVERSION VER_MAJOR,VER_MINOR,VER_RELEASE,VER_BUILD -FILETYPE VFT_APP { - BLOCK "StringFileInfo" { - BLOCK "040904E4" { - VALUE "CompanyName", "The Mana World Development Team" - VALUE "FileVersion", PACKAGE_VERSION - VALUE "FileDescription", "The Mana World" - VALUE "LegalCopyright", "2004-2006 (C)" - VALUE "OriginalFilename", "tmw.exe" - VALUE "ProductName", "The Mana World MMORPG" - VALUE "ProductVersion", PACKAGE_VERSION - } - } -} - diff --git a/tme.cbp b/tme.cbp new file mode 100644 index 00000000..e51141a2 --- /dev/null +++ b/tme.cbp @@ -0,0 +1,383 @@ + + + + + + diff --git a/tmw.cbp b/tmw.cbp deleted file mode 100644 index ba49b449..00000000 --- a/tmw.cbp +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - -- cgit v1.2.3-70-g09d2 From 2852d5695820e4ff8598ec4cf391f7049907d527 Mon Sep 17 00:00:00 2001 From: Kraant Date: Wed, 30 Jul 2008 09:11:08 +0000 Subject: Adding patch the stops a segfault from occuring in beinghandler when a targeted player runs off screen. -- Daniel Thomas --- src/net/beinghandler.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 00053083..c76d0515 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -200,6 +200,11 @@ void BeingHandler::handleMessage(MessageIn *msg) if (!dstBeing) break; + if (dstBeing == player_node->getTarget()) + { + player_node->stopAttack(); + } + if (msg->readInt8() == 1) { dstBeing->setAction(Being::DEAD); @@ -209,10 +214,6 @@ void BeingHandler::handleMessage(MessageIn *msg) beingManager->destroyBeing(dstBeing); } - if (dstBeing == player_node->getTarget()) - { - player_node->stopAttack(); - } break; case SMSG_BEING_ACTION: -- cgit v1.2.3-70-g09d2 From fcf54cb8827e84b608ef49dd98697ccfbf25319f Mon Sep 17 00:00:00 2001 From: Kraant Date: Sun, 3 Aug 2008 14:25:20 +0000 Subject: Changed the default server in the dropdown menu in the login screen to the new server --- src/gui/login.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 526a8e8f..1420575d 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -51,7 +51,7 @@ LoginDialog::LoginDialog(LoginData *loginData): gcn::Label *serverLabel = new gcn::Label("Server:"); gcn::Label *portLabel = new gcn::Label("Port:"); mServerList = new DropDownList("MostRecent00", - "216.139.126.36", + "209.168.213.109", "6901", MAX_SERVER_LIST_SIZE); mServerListBox = new gcn::ListBox(mServerList); -- cgit v1.2.3-70-g09d2 From d7dd3eb44cc9a339851715fcd13435e1cce3e4d7 Mon Sep 17 00:00:00 2001 From: Douglas Boffey Date: Mon, 4 Aug 2008 17:38:36 +0000 Subject: Aligned text boxes in video setup dialog --- src/gui/setup_video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index bc38f1f9..1b619b9a 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -192,7 +192,7 @@ Setup_Video::Setup_Video(): mScrollRadiusSlider->setDimension(gcn::Rectangle(10, 120, 75, 10)); gcn::Label *scrollRadiusLabel = new gcn::Label("Scroll radius"); scrollRadiusLabel->setPosition(90, 120); - mScrollRadiusField->setPosition(180, 120); + mScrollRadiusField->setPosition(mFpsField->getX(), 120); mScrollRadiusField->setWidth(30); mScrollRadiusField->setText(toString(mOriginalScrollRadius)); mScrollRadiusSlider->setValue(mOriginalScrollRadius); @@ -200,7 +200,7 @@ Setup_Video::Setup_Video(): mScrollLazinessSlider->setDimension(gcn::Rectangle(10, 140, 75, 10)); gcn::Label *scrollLazinessLabel = new gcn::Label("Scroll laziness"); scrollLazinessLabel->setPosition(90, 140); - mScrollLazinessField->setPosition(180, 140); + mScrollLazinessField->setPosition(mFpsField->getX(), 140); mScrollLazinessField->setWidth(30); mScrollLazinessField->setText(toString(mOriginalScrollLaziness)); mScrollLazinessSlider->setValue(mOriginalScrollLaziness); -- cgit v1.2.3-70-g09d2 From 128afe364bf797d02424b6e7191bb4bd4c1df21d Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Wed, 6 Aug 2008 14:12:34 +0000 Subject: totally killed the stop walking packet handler --- src/net/beinghandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index c76d0515..a8591fce 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -467,24 +467,24 @@ void BeingHandler::handleMessage(MessageIn *msg) case SMSG_PLAYER_STOP: // Instruction from server to stop walking at x, y. + /* + * Deactivated - it drives people on the TMW server nuts + * id = msg->readInt32(); dstBeing = beingManager->findBeing(id); if (dstBeing) { dstBeing->mX = msg->readInt16(); dstBeing->mY = msg->readInt16(); - /* - * I'm deactivating this - players are reporting that - * this makes things *worse*, not better. if (dstBeing->mAction == Being::WALK) { dstBeing->mFrame = 0; dstBeing->setAction(Being::STAND); } - */ + } else { logger->log("0x0088: Non-existent being %d", id); } - + */ break; case SMSG_PLAYER_MOVE_TO_ATTACK: -- cgit v1.2.3-70-g09d2 From d63aff470f914d711b92af12ceb7944e8a6e24f4 Mon Sep 17 00:00:00 2001 From: Kraant Date: Thu, 7 Aug 2008 21:36:18 +0000 Subject: Rebranding TME to Aethyra --- AUTHORS | 2 +- Aethyra.dev | 2859 +++++++++++++++++++++++++++++++++++ Aethyra.vcproj | 876 +++++++++++ CMakeLists.txt | 6 +- INSTALL | 22 +- Makefile.am | 2 +- ManaExperiment.vcproj | 876 ----------- README | 2 +- The Mana Experiment.dev | 2859 ----------------------------------- aethyra.cbp | 383 +++++ aethyra.desktop | 16 + aethyra.png | Bin 0 -> 18176 bytes configure.ac | 4 +- data/Makefile.am | 2 +- data/icons/Aethyra.icns | Bin 0 -> 65136 bytes data/icons/Makefile.am | 6 +- data/icons/The Mana Experiment.icns | Bin 65136 -> 0 bytes data/icons/aethyra.ico | Bin 0 -> 22382 bytes data/icons/aethyra.png | Bin 0 -> 18176 bytes data/icons/aethyra.xpm | 784 ++++++++++ data/icons/tme.ico | Bin 22382 -> 0 bytes data/icons/tme.png | Bin 18176 -> 0 bytes data/icons/tme.xpm | 784 ---------- debian/aethyra-data.install | 5 + debian/aethyra.docs | 6 + debian/aethyra.install | 5 + debian/aethyra.menu | 4 + debian/aethyra.sgml | 149 ++ debian/aethyra.xpm | 776 ++++++++++ debian/control | 32 +- debian/rules | 2 +- debian/tme-data.install | 5 - debian/tme.docs | 6 - debian/tme.install | 5 - debian/tme.menu | 4 - debian/tme.sgml | 149 -- debian/tme.xpm | 776 ---------- docs/FAQ.txt | 20 +- docs/HACKING.txt | 2 +- docs/INSTALL/debian.txt | 50 +- docs/INSTALL/win32.txt | 34 +- docs/Makefile.am | 6 +- docs/SOURCE/aethyra.doxcfg | 1153 ++++++++++++++ docs/SOURCE/aethyradox.sh | 1 + docs/SOURCE/tme.doxcfg | 1153 -------------- docs/SOURCE/tmedox.sh | 1 - docs/aethyra.6 | 97 ++ docs/packages.txt | 27 +- docs/sounddev.txt | 4 +- docs/tme.6 | 97 -- docs/win32-release.txt | 9 +- src/CMakeLists.txt | 10 +- src/Makefile.am | 14 +- src/aethyra.rc | 23 + src/game.cpp | 4 +- src/main.cpp | 38 +- src/main.h | 4 +- src/resources/resourcemanager.cpp | 2 +- src/text.h | 4 +- src/textmanager.h | 4 +- src/tme.rc | 23 - tme.cbp | 383 ----- tme.desktop | 16 - 63 files changed, 7308 insertions(+), 7278 deletions(-) create mode 100644 Aethyra.dev create mode 100644 Aethyra.vcproj delete mode 100644 ManaExperiment.vcproj delete mode 100644 The Mana Experiment.dev create mode 100644 aethyra.cbp create mode 100644 aethyra.desktop create mode 100644 aethyra.png create mode 100644 data/icons/Aethyra.icns delete mode 100644 data/icons/The Mana Experiment.icns create mode 100644 data/icons/aethyra.ico create mode 100644 data/icons/aethyra.png create mode 100644 data/icons/aethyra.xpm delete mode 100644 data/icons/tme.ico delete mode 100644 data/icons/tme.png delete mode 100644 data/icons/tme.xpm create mode 100644 debian/aethyra-data.install create mode 100644 debian/aethyra.docs create mode 100644 debian/aethyra.install create mode 100644 debian/aethyra.menu create mode 100644 debian/aethyra.sgml create mode 100644 debian/aethyra.xpm delete mode 100644 debian/tme-data.install delete mode 100644 debian/tme.docs delete mode 100644 debian/tme.install delete mode 100644 debian/tme.menu delete mode 100644 debian/tme.sgml delete mode 100644 debian/tme.xpm create mode 100644 docs/SOURCE/aethyra.doxcfg create mode 100644 docs/SOURCE/aethyradox.sh delete mode 100644 docs/SOURCE/tme.doxcfg delete mode 100644 docs/SOURCE/tmedox.sh create mode 100644 docs/aethyra.6 delete mode 100644 docs/tme.6 create mode 100644 src/aethyra.rc delete mode 100644 src/tme.rc delete mode 100644 tme.cbp delete mode 100644 tme.desktop (limited to 'src') diff --git a/AUTHORS b/AUTHORS index a4181b7b..a876c194 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,5 @@ --------------------------- -The Mana Experiment Dev Team +Aethyra Dev Team --------------------------- Blameu aka Kevin Day (blame582@gmail.com) diff --git a/Aethyra.dev b/Aethyra.dev new file mode 100644 index 00000000..6bfb1bfa --- /dev/null +++ b/Aethyra.dev @@ -0,0 +1,2859 @@ +[Project] +FileName=Aethyra.dev +Name=aethyra +UnitCount=277 +Type=0 +Ver=1 +ObjFiles= +Includes= +Libs= +PrivateResource=Aethyra_private.rc +ResourceIncludes= +MakeIncludes= +Compiler= +CppCompiler=-DUSE_OPENGL_@@_-Wall_@@_ +Linker=-lguichan_@@_-lguichan_sdl_@@_-lguichan_opengl_@@_-lwsock32_@@_-lSDL_image.dll_@@_-lSDL_mixer.dll_@@_-lSDL_net.dll_@@_-lmingw32_@@_-lSDLmain_@@_-lSDL.dll_@@_-lxml2.dll_@@_-lopengl32_@@_-lpng12.dll_@@_-lz.dll_@@_-lphysfs_@@_-lcurl.dll_@@_ +IsCpp=1 +Icon= +ExeOutput= +ObjectOutput=obj +OverrideOutput=1 +OverrideOutputName=aethyra.exe +HostApplication= +Folders=gui,gui/header,gui/source,header,header/widgets,net,net/header,net/source,resources,utils +CommandLine= +UseCustomMakefile=0 +CustomMakefile= +IncludeVersionInfo=0 +SupportXPThemes=0 +CompilerSet=0 +CompilerSettings=0010001001000001001101 + +[VersionInfo] +Major=0 +Minor=0 +Release=0 +Build=0 +LanguageID=1033 +CharsetID=1252 +CompanyName= +FileVersion= +FileDescription= +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion= +AutoIncBuildNr=0 + +[Unit8] +FileName=src\floor_item.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit13] +FileName=src\graphics.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit17] +FileName=src\main.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit25] +FileName=src\gui\button.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit29] +FileName=src\gui\buysell.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit30] +FileName=src\gui\char_select.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit32] +FileName=src\gui\char_server.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit6] +FileName=src\engine.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit7] +FileName=src\engine.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit3] +FileName=src\being.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit4] +FileName=src\configuration.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit5] +FileName=src\configuration.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit14] +FileName=src\log.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit43] +FileName=src\gui\confirm_dialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit44] +FileName=src\gui\equipmentwindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit46] +FileName=src\gui\gui.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit45] +FileName=src\gui\equipmentwindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit49] +FileName=src\gui\item_amount.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit50] +FileName=src\gui\itemcontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit55] +FileName=src\gui\minimap.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit56] +FileName=src\gui\npc_text.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit60] +FileName=src\gui\passwordfield.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit69] +FileName=src\gui\scrollarea.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit70] +FileName=src\gui\sell.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit71] +FileName=src\gui\sell.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit72] +FileName=src\gui\setup.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit73] +FileName=src\gui\setup.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit74] +FileName=src\gui\shop.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit41] +FileName=src\gui\checkbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit77] +FileName=src\gui\skill.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit78] +FileName=src\gui\slider.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit79] +FileName=src\gui\slider.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit80] +FileName=src\gui\status.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit81] +FileName=src\gui\status.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit82] +FileName=src\gui\textbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit84] +FileName=src\gui\textfield.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit85] +FileName=src\gui\textfield.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit86] +FileName=src\gui\trade.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit89] +FileName=src\gui\window.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit90] +FileName=src\gui\windowcontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit91] +FileName=src\net\network.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit92] +FileName=src\net\network.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit93] +FileName=src\net\protocol.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit94] +FileName=src\net\protocol.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit95] +FileName=src\resources\soundeffect.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit96] +FileName=src\resources\buddylist.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit42] +FileName=src\gui\confirm_dialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit97] +FileName=src\resources\buddylist.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit98] +FileName=src\resources\image.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit99] +FileName=src\resources\image.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit100] +FileName=src\resources\iteminfo.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit101] +FileName=src\resources\mapreader.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit102] +FileName=src\resources\mapreader.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit103] +FileName=src\resources\music.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit104] +FileName=src\resources\music.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit106] +FileName=src\resources\resource.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit109] +FileName=src\resources\soundeffect.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit113] +FileName=src\gui\item_amount.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit111] +FileName=src\gui\help.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit112] +FileName=src\gui\inttextbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit113] +FileName=src\gui\inttextbox.h +CompileCpp=1 +Folder=gui/header +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= +Compile=1 + +[Unit114] +FileName=src\gui\focushandler.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit115] +FileName=src\gui\focushandler.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit116] +FileName=src\gui\popupmenu.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit117] +FileName=src\gui\popupmenu.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit118] +FileName=src\gui\browserbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit119] +FileName=src\gui\browserbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit120] +FileName=src\gui\updatewindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit121] +FileName=src\gui\updatewindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit122] +FileName=src\gui\box.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit124] +FileName=src\item.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit125] +FileName=src\equipment.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit126] +FileName=src\equipment.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit127] +FileName=src\item.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit128] +FileName=src\gui\inventorywindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit1] +FileName=src\sound.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit2] +FileName=src\being.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit9] +FileName=src\floor_item.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit10] +FileName=src\game.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit11] +FileName=src\game.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit12] +FileName=src\graphics.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit15] +FileName=src\log.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit16] +FileName=src\main.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit18] +FileName=src\map.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit19] +FileName=src\map.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit20] +FileName=src\sound.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit21] +FileName=src\gui\windowcontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit23] +FileName=src\gui\buddywindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit24] +FileName=src\gui\button.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit26] +FileName=src\gui\buy.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit27] +FileName=src\gui\buy.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit28] +FileName=src\gui\buysell.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit31] +FileName=src\gui\char_select.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit33] +FileName=src\gui\char_server.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit34] +FileName=src\gui\chargedialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit35] +FileName=src\gui\chargedialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit36] +FileName=src\gui\chat.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit37] +FileName=src\gui\chat.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit38] +FileName=src\gui\chatinput.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit39] +FileName=src\gui\chatinput.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit40] +FileName=src\gui\checkbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit47] +FileName=src\gui\gui.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit48] +FileName=src\gui\item_amount.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit51] +FileName=src\gui\itemcontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit53] +FileName=src\gui\listbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit54] +FileName=src\gui\minimap.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit57] +FileName=src\gui\npc_text.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit61] +FileName=src\gui\passwordfield.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit63] +FileName=src\gui\playerbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit64] +FileName=src\gui\progressbar.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit65] +FileName=src\gui\progressbar.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit66] +FileName=src\gui\radiobutton.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit67] +FileName=src\gui\radiobutton.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit68] +FileName=src\gui\scrollarea.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit75] +FileName=src\gui\shop.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit76] +FileName=src\gui\skill.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit83] +FileName=src\gui\textbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit87] +FileName=src\gui\trade.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit88] +FileName=src\gui\window.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit107] +FileName=src\resources\resourcemanager.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit108] +FileName=src\resources\resourcemanager.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit123] +FileName=src\gui\box.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit129] +FileName=src\gui\inventorywindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit130] +FileName=src\inventory.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit131] +FileName=src\inventory.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit132] +FileName=src\configlistener.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit133] +FileName=src\guichanfwd.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit134] +FileName=src\serverinfo.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit135] +FileName=src\openglgraphics.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit138] +FileName=src\gui\tabbedcontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit139] +FileName=src\net\messageout.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit140] +FileName=src\net\messageout.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit141] +FileName=src\net\messagein.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit142] +FileName=src\net\messagein.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit143] +FileName=src\gui\menuwindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit144] +FileName=src\gui\menuwindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit145] +FileName=src\gui\ministatus.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit146] +FileName=src\gui\ministatus.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit147] +FileName=src\resources\imagewriter.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit148] +FileName=src\resources\imagewriter.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit149] +FileName=src\gui\debugwindow.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit52] +FileName=src\gui\listbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit150] +FileName=src\gui\debugwindow.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit151] +FileName=src\gui\connection.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit152] +FileName=src\gui\connection.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit153] +FileName=src\gui\gccontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit154] +FileName=src\gui\gccontainer.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit155] +FileName=src\gui\login.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit156] +FileName=src\gui\login.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit157] +FileName=src\gui\register.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit158] +FileName=src\gui\register.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit166] +FileName=src\gui\npclistdialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit167] +FileName=src\gui\npclistdialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit160] +FileName=src\properties.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit161] +FileName=src\sprite.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit105] +FileName=src\resources\resource.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit110] +FileName=src\gui\help.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit159] +FileName=src\tileset.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit162] +FileName=src\beingmanager.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit163] +FileName=src\beingmanager.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit164] +FileName=src\localplayer.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit165] +FileName=src\localplayer.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit168] +FileName=src\npc.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit169] +FileName=src\npc.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit170] +FileName=src\lockedarray.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit171] +FileName=src\logindata.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit172] +FileName=src\monster.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit173] +FileName=src\monster.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit174] +FileName=src\player.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit176] +FileName=src\net\beinghandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit177] +FileName=src\net\beinghandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit178] +FileName=src\net\buysellhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit136] +FileName=src\openglgraphics.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit137] +FileName=src\gui\tabbedcontainer.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit62] +FileName=src\gui\playerbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit175] +FileName=src\player.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit58] +FileName=src\gui\ok_dialog.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit59] +FileName=src\gui\ok_dialog.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit179] +FileName=src\net\buysellhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit180] +FileName=src\net\charserverhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit181] +FileName=src\net\charserverhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit182] +FileName=src\net\chathandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit183] +FileName=src\net\chathandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit184] +FileName=src\net\equipmenthandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit185] +FileName=src\net\equipmenthandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit186] +FileName=src\net\inventoryhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit187] +FileName=src\net\inventoryhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit188] +FileName=src\net\itemhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit189] +FileName=src\net\itemhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit190] +FileName=src\net\loginhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit191] +FileName=src\net\loginhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit192] +FileName=src\net\maploginhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit193] +FileName=src\net\maploginhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit194] +FileName=src\net\messagehandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit195] +FileName=src\net\messagehandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit196] +FileName=src\net\npchandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit197] +FileName=src\net\npchandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit198] +FileName=src\net\playerhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit199] +FileName=src\net\playerhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit200] +FileName=src\net\skillhandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit201] +FileName=src\net\skillhandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit202] +FileName=src\net\tradehandler.cpp +CompileCpp=1 +Folder=net/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit203] +FileName=src\net\tradehandler.h +CompileCpp=1 +Folder=net/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit204] +FileName=src\joystick.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit205] +FileName=src\flooritemmanager.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit206] +FileName=src\flooritemmanager.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit207] +FileName=src\joystick.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit208] +FileName=src\gui\setup_video.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit209] +FileName=src\gui\setup_audio.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit210] +FileName=src\gui\setup_joystick.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit211] +FileName=src\gui\setup_video.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit212] +FileName=src\gui\setup_audio.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit213] +FileName=src\gui\setup_joystick.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit214] +FileName=src\gui\setuptab.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit215] +FileName=src\utils\dtor.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit216] +FileName=src\utils\tostring.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit217] +FileName=src\tmw.rc +CompileCpp=1 +Folder=resources +Compile=1 +Link=0 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit218] +FileName=src\animatedsprite.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit219] +FileName=src\animatedsprite.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit220] +FileName=src\resources\iteminfo.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit221] +FileName=src\resources\ambientoverlay.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit222] +FileName=src\resources\ambientoverlay.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit223] +FileName=src\gui\shoplistbox.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit224] +FileName=src\gui\shoplistbox.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit225] +FileName=src\utils\xml.cpp +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit226] +FileName=src\utils\xml.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit227] +FileName=src\resources\spritedef.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit228] +FileName=src\resources\spritedef.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit229] +FileName=src\resources\monsterdb.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit230] +FileName=src\resources\monsterdb.h +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= +CompileCpp=1 + +[Unit231] +FileName=src\resources\monsterinfo.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit232] +FileName=src\resources\monsterinfo.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit233] +FileName=src\resources\itemdb.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit234] +FileName=src\resources\itemdb.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit235] +FileName=src\gui\viewport.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit236] +FileName=src\gui\viewport.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit237] +FileName=src\winver.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit238] +FileName=src\resources\action.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit239] +FileName=src\resources\action.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit240] +FileName=src\resources\animation.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit241] +FileName=src\resources\animation.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit242] +FileName=src\utils\base64.cpp +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit243] +FileName=src\utils\base64.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit244] +FileName=src\animationparticle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit245] +FileName=src\animationparticle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit246] +FileName=src\imageparticle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit247] +FileName=src\imageparticle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit248] +FileName=src\particle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit249] +FileName=src\particle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit250] +FileName=src\particleemitter.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit251] +FileName=src\particleemitter.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit252] +FileName=src\simpleanimation.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit253] +FileName=src\simpleanimation.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit254] +FileName=src\textparticle.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit255] +FileName=src\textparticle.h +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit256] +FileName=src\utils\fastsqrt.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit257] +FileName=src\utils\minmax.h +CompileCpp=1 +Folder=utils +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit258] +FileName=src\resources\imageset.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit259] +FileName=src\resources\imageset.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit260] +FileName=src\gui\hbox.cpp +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit261] +FileName=src\gui\hbox.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit262] +FileName=src\gui\linkhandler.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit263] +FileName=src\gui\newskill.cpp +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit264] +FileName=src\gui\newskill.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit265] +FileName=src\gui\selectionlistener.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit266] +FileName=src\gui\vbox.cpp +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit267] +FileName=src\gui\vbox.h +CompileCpp=1 +Folder=gui +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit268] +FileName=src\gui\widgets\resizegrip.cpp +CompileCpp=1 +Folder=header/widgets +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit269] +FileName=src\gui\widgets\resizegrip.h +CompileCpp=1 +Folder=header/widgets +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit270] +FileName=src\keyboardconfig.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit271] +FileName=src\keyboardconfig.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit272] +FileName=src\gui\setup_keyboard.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit273] +FileName=src\gui\setup_keyboard.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit274] +FileName=src\resources\imageloader.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit275] +FileName=src\resources\imageloader.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit276] +FileName=src\resources\dye.h +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit277] +FileName=src\resources\dye.cpp +CompileCpp=1 +Folder=resources +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit278] +FileName=src\keyboardconfig.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit279] +FileName=src\keyboardconfig.h +CompileCpp=1 +Folder=header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit280] +FileName=src\gui\setup_keyboard.cpp +CompileCpp=1 +Folder=gui/source +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + +[Unit281] +FileName=src\gui\setup_keyboard.h +CompileCpp=1 +Folder=gui/header +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + diff --git a/Aethyra.vcproj b/Aethyra.vcproj new file mode 100644 index 00000000..6612e1a1 --- /dev/null +++ b/Aethyra.vcproj @@ -0,0 +1,876 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CMakeLists.txt b/CMakeLists.txt index 8181f6b4..df745a7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -PROJECT(TME) +PROJECT(AETHYRA) SET(VERSION 0.0.24.1) @@ -11,11 +11,11 @@ IF (WIN32) SET(PKG_DATADIR ".") SET(PKG_BINDIR ".") ELSE (WIN32) - SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/tme) + SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/aethyra) SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin) ENDIF (WIN32) ADD_SUBDIRECTORY(data) ADD_SUBDIRECTORY(src) -INSTALL(FILES tme.desktop DESTINATION share/applications) +INSTALL(FILES aethyra.desktop DESTINATION share/applications) diff --git a/INSTALL b/INSTALL index aeb81213..5688451b 100644 --- a/INSTALL +++ b/INSTALL @@ -1,19 +1,19 @@ -How to compile and run TME on your GNU/Linux Box +How to compile and run Aethyra on your GNU/Linux Box ================================================ -Homepage: http://209.168.213.109/ -IRC: irc.freenode.net / #themanaexperiment +Homepage: http://www.aethyra.com/ +IRC: irc.freenode.net / #aethyra 1) Requirements -2) Compiling The Mana Experiment +2) Compiling Aethyra 3) Notes 1. Requirements =============== -You are expected to have either checked out TME from CVS or you have downloaded -a source release. To get The Mana Experiment to compile, you need a compiler +You are expected to have either checked out Aethyra from CVS or you have downloaded +a source release. To get Aethyra to compile, you need a compiler (GCC) and some libraries. The required libraries are: * SDL http://www.libsdl.org/ @@ -26,7 +26,7 @@ a source release. To get The Mana Experiment to compile, you need a compiler * zlib 1.2.x http://www.gzip.org/zlib/ * libcurl http://curl.haxx.se/libcurl/ -If you checked TME out from Subversion you will also need these tools to +If you checked Aethyra out from Subversion you will also need these tools to compile: * GNU automake 1.9 http://www.gnu.org/software/automake/ @@ -36,7 +36,7 @@ Installing these dependencies is distributions-specific, and we'll leave it to you to figure this out. -2. Compiling And Installing The Mana Experiment +2. Compiling And Installing Aethyra =============================================== 1) Go to the directory you have extracted the source to. @@ -45,12 +45,12 @@ you to figure this out. 4) Run "make" 5) Run "make install" as root -It should have installed The Mana Experiment on your system now, and you can -run it with "tme". By default all files are installed to /usr/local, you can +It should have installed Aethyra on your system now, and you can +run it with "aethyra". By default all files are installed to /usr/local, you can pass a different prefix to configure as usual. - NOTE: It is possible to compile TME without support for OpenGL rendering. + NOTE: It is possible to compile Aethyra without support for OpenGL rendering. To do this perform step 3 as follows: ./configure --without-opengl diff --git a/Makefile.am b/Makefile.am index c7f45241..f399eb3c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = data docs src desktopdir = $(datadir)/applications -desktop_DATA = tme.desktop +desktop_DATA = aethyra.desktop # Extra files to include EXTRA_DIST = $(desktop_DATA) diff --git a/ManaExperiment.vcproj b/ManaExperiment.vcproj deleted file mode 100644 index 6612e1a1..00000000 --- a/ManaExperiment.vcproj +++ /dev/null @@ -1,876 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/README b/README index 88da7d97..517b4a9d 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -THE MANA EXPERIMENT +AETHYRA =================== Version: 0.0.24.1 Date: 7/4/2007 diff --git a/The Mana Experiment.dev b/The Mana Experiment.dev deleted file mode 100644 index 0a0acf8a..00000000 --- a/The Mana Experiment.dev +++ /dev/null @@ -1,2859 +0,0 @@ -[Project] -FileName=The Mana Experiment.dev -Name=tme -UnitCount=277 -Type=0 -Ver=1 -ObjFiles= -Includes= -Libs= -PrivateResource=The_Mana_Experiment_private.rc -ResourceIncludes= -MakeIncludes= -Compiler= -CppCompiler=-DUSE_OPENGL_@@_-Wall_@@_ -Linker=-lguichan_@@_-lguichan_sdl_@@_-lguichan_opengl_@@_-lwsock32_@@_-lSDL_image.dll_@@_-lSDL_mixer.dll_@@_-lSDL_net.dll_@@_-lmingw32_@@_-lSDLmain_@@_-lSDL.dll_@@_-lxml2.dll_@@_-lopengl32_@@_-lpng12.dll_@@_-lz.dll_@@_-lphysfs_@@_-lcurl.dll_@@_ -IsCpp=1 -Icon= -ExeOutput= -ObjectOutput=obj -OverrideOutput=1 -OverrideOutputName=tme.exe -HostApplication= -Folders=gui,gui/header,gui/source,header,header/widgets,net,net/header,net/source,resources,utils -CommandLine= -UseCustomMakefile=0 -CustomMakefile= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0010001001000001001101 - -[VersionInfo] -Major=0 -Minor=0 -Release=0 -Build=0 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription= -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - -[Unit8] -FileName=src\floor_item.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=src\graphics.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=src\main.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=src\gui\button.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=src\gui\buysell.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=src\gui\char_select.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=src\gui\char_server.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=src\engine.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=src\engine.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=src\being.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=src\configuration.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=src\configuration.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=src\log.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit43] -FileName=src\gui\confirm_dialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit44] -FileName=src\gui\equipmentwindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit46] -FileName=src\gui\gui.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit45] -FileName=src\gui\equipmentwindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit49] -FileName=src\gui\item_amount.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit50] -FileName=src\gui\itemcontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit55] -FileName=src\gui\minimap.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit56] -FileName=src\gui\npc_text.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit60] -FileName=src\gui\passwordfield.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit69] -FileName=src\gui\scrollarea.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit70] -FileName=src\gui\sell.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit71] -FileName=src\gui\sell.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit72] -FileName=src\gui\setup.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit73] -FileName=src\gui\setup.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit74] -FileName=src\gui\shop.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=src\gui\checkbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit77] -FileName=src\gui\skill.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit78] -FileName=src\gui\slider.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit79] -FileName=src\gui\slider.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit80] -FileName=src\gui\status.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit81] -FileName=src\gui\status.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit82] -FileName=src\gui\textbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit84] -FileName=src\gui\textfield.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit85] -FileName=src\gui\textfield.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit86] -FileName=src\gui\trade.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit89] -FileName=src\gui\window.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit90] -FileName=src\gui\windowcontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit91] -FileName=src\net\network.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit92] -FileName=src\net\network.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit93] -FileName=src\net\protocol.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit94] -FileName=src\net\protocol.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit95] -FileName=src\resources\soundeffect.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit96] -FileName=src\resources\buddylist.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=src\gui\confirm_dialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit97] -FileName=src\resources\buddylist.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit98] -FileName=src\resources\image.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit99] -FileName=src\resources\image.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit100] -FileName=src\resources\iteminfo.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit101] -FileName=src\resources\mapreader.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit102] -FileName=src\resources\mapreader.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit103] -FileName=src\resources\music.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit104] -FileName=src\resources\music.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit106] -FileName=src\resources\resource.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit109] -FileName=src\resources\soundeffect.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit113] -FileName=src\gui\item_amount.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit111] -FileName=src\gui\help.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit112] -FileName=src\gui\inttextbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit113] -FileName=src\gui\inttextbox.h -CompileCpp=1 -Folder=gui/header -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -Compile=1 - -[Unit114] -FileName=src\gui\focushandler.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit115] -FileName=src\gui\focushandler.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit116] -FileName=src\gui\popupmenu.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit117] -FileName=src\gui\popupmenu.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit118] -FileName=src\gui\browserbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit119] -FileName=src\gui\browserbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit120] -FileName=src\gui\updatewindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit121] -FileName=src\gui\updatewindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit122] -FileName=src\gui\box.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit124] -FileName=src\item.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit125] -FileName=src\equipment.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit126] -FileName=src\equipment.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit127] -FileName=src\item.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit128] -FileName=src\gui\inventorywindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit1] -FileName=src\sound.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=src\being.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=src\floor_item.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=src\game.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=src\game.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=src\graphics.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=src\log.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=src\main.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=src\map.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=src\map.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=src\sound.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=src\gui\windowcontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=src\gui\buddywindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=src\gui\button.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=src\gui\buy.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=src\gui\buy.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=src\gui\buysell.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit31] -FileName=src\gui\char_select.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit33] -FileName=src\gui\char_server.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=src\gui\chargedialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=src\gui\chargedialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=src\gui\chat.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=src\gui\chat.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=src\gui\chatinput.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=src\gui\chatinput.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=src\gui\checkbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit47] -FileName=src\gui\gui.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit48] -FileName=src\gui\item_amount.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit51] -FileName=src\gui\itemcontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit53] -FileName=src\gui\listbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit54] -FileName=src\gui\minimap.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit57] -FileName=src\gui\npc_text.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit61] -FileName=src\gui\passwordfield.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit63] -FileName=src\gui\playerbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit64] -FileName=src\gui\progressbar.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit65] -FileName=src\gui\progressbar.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit66] -FileName=src\gui\radiobutton.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit67] -FileName=src\gui\radiobutton.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit68] -FileName=src\gui\scrollarea.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit75] -FileName=src\gui\shop.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit76] -FileName=src\gui\skill.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit83] -FileName=src\gui\textbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit87] -FileName=src\gui\trade.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit88] -FileName=src\gui\window.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit107] -FileName=src\resources\resourcemanager.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit108] -FileName=src\resources\resourcemanager.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit123] -FileName=src\gui\box.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit129] -FileName=src\gui\inventorywindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit130] -FileName=src\inventory.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit131] -FileName=src\inventory.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit132] -FileName=src\configlistener.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit133] -FileName=src\guichanfwd.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit134] -FileName=src\serverinfo.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit135] -FileName=src\openglgraphics.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit138] -FileName=src\gui\tabbedcontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit139] -FileName=src\net\messageout.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit140] -FileName=src\net\messageout.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit141] -FileName=src\net\messagein.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit142] -FileName=src\net\messagein.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit143] -FileName=src\gui\menuwindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit144] -FileName=src\gui\menuwindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit145] -FileName=src\gui\ministatus.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit146] -FileName=src\gui\ministatus.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit147] -FileName=src\resources\imagewriter.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit148] -FileName=src\resources\imagewriter.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit149] -FileName=src\gui\debugwindow.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit52] -FileName=src\gui\listbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit150] -FileName=src\gui\debugwindow.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit151] -FileName=src\gui\connection.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit152] -FileName=src\gui\connection.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit153] -FileName=src\gui\gccontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit154] -FileName=src\gui\gccontainer.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit155] -FileName=src\gui\login.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit156] -FileName=src\gui\login.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit157] -FileName=src\gui\register.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit158] -FileName=src\gui\register.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit166] -FileName=src\gui\npclistdialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit167] -FileName=src\gui\npclistdialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit160] -FileName=src\properties.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit161] -FileName=src\sprite.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit105] -FileName=src\resources\resource.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit110] -FileName=src\gui\help.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit159] -FileName=src\tileset.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit162] -FileName=src\beingmanager.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit163] -FileName=src\beingmanager.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit164] -FileName=src\localplayer.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit165] -FileName=src\localplayer.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit168] -FileName=src\npc.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit169] -FileName=src\npc.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit170] -FileName=src\lockedarray.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit171] -FileName=src\logindata.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit172] -FileName=src\monster.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit173] -FileName=src\monster.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit174] -FileName=src\player.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit176] -FileName=src\net\beinghandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit177] -FileName=src\net\beinghandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit178] -FileName=src\net\buysellhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit136] -FileName=src\openglgraphics.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit137] -FileName=src\gui\tabbedcontainer.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit62] -FileName=src\gui\playerbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit175] -FileName=src\player.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit58] -FileName=src\gui\ok_dialog.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit59] -FileName=src\gui\ok_dialog.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit179] -FileName=src\net\buysellhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit180] -FileName=src\net\charserverhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit181] -FileName=src\net\charserverhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit182] -FileName=src\net\chathandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit183] -FileName=src\net\chathandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit184] -FileName=src\net\equipmenthandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit185] -FileName=src\net\equipmenthandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit186] -FileName=src\net\inventoryhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit187] -FileName=src\net\inventoryhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit188] -FileName=src\net\itemhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit189] -FileName=src\net\itemhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit190] -FileName=src\net\loginhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit191] -FileName=src\net\loginhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit192] -FileName=src\net\maploginhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit193] -FileName=src\net\maploginhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit194] -FileName=src\net\messagehandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit195] -FileName=src\net\messagehandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit196] -FileName=src\net\npchandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit197] -FileName=src\net\npchandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit198] -FileName=src\net\playerhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit199] -FileName=src\net\playerhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit200] -FileName=src\net\skillhandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit201] -FileName=src\net\skillhandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit202] -FileName=src\net\tradehandler.cpp -CompileCpp=1 -Folder=net/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit203] -FileName=src\net\tradehandler.h -CompileCpp=1 -Folder=net/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit204] -FileName=src\joystick.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit205] -FileName=src\flooritemmanager.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit206] -FileName=src\flooritemmanager.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit207] -FileName=src\joystick.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit208] -FileName=src\gui\setup_video.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit209] -FileName=src\gui\setup_audio.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit210] -FileName=src\gui\setup_joystick.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit211] -FileName=src\gui\setup_video.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit212] -FileName=src\gui\setup_audio.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit213] -FileName=src\gui\setup_joystick.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit214] -FileName=src\gui\setuptab.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit215] -FileName=src\utils\dtor.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit216] -FileName=src\utils\tostring.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit217] -FileName=src\tmw.rc -CompileCpp=1 -Folder=resources -Compile=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit218] -FileName=src\animatedsprite.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit219] -FileName=src\animatedsprite.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit220] -FileName=src\resources\iteminfo.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit221] -FileName=src\resources\ambientoverlay.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit222] -FileName=src\resources\ambientoverlay.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit223] -FileName=src\gui\shoplistbox.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit224] -FileName=src\gui\shoplistbox.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit225] -FileName=src\utils\xml.cpp -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit226] -FileName=src\utils\xml.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit227] -FileName=src\resources\spritedef.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit228] -FileName=src\resources\spritedef.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit229] -FileName=src\resources\monsterdb.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit230] -FileName=src\resources\monsterdb.h -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -CompileCpp=1 - -[Unit231] -FileName=src\resources\monsterinfo.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit232] -FileName=src\resources\monsterinfo.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit233] -FileName=src\resources\itemdb.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit234] -FileName=src\resources\itemdb.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit235] -FileName=src\gui\viewport.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit236] -FileName=src\gui\viewport.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit237] -FileName=src\winver.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit238] -FileName=src\resources\action.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit239] -FileName=src\resources\action.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit240] -FileName=src\resources\animation.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit241] -FileName=src\resources\animation.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit242] -FileName=src\utils\base64.cpp -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit243] -FileName=src\utils\base64.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit244] -FileName=src\animationparticle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit245] -FileName=src\animationparticle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit246] -FileName=src\imageparticle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit247] -FileName=src\imageparticle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit248] -FileName=src\particle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit249] -FileName=src\particle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit250] -FileName=src\particleemitter.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit251] -FileName=src\particleemitter.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit252] -FileName=src\simpleanimation.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit253] -FileName=src\simpleanimation.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit254] -FileName=src\textparticle.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit255] -FileName=src\textparticle.h -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit256] -FileName=src\utils\fastsqrt.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit257] -FileName=src\utils\minmax.h -CompileCpp=1 -Folder=utils -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit258] -FileName=src\resources\imageset.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit259] -FileName=src\resources\imageset.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit260] -FileName=src\gui\hbox.cpp -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit261] -FileName=src\gui\hbox.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit262] -FileName=src\gui\linkhandler.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit263] -FileName=src\gui\newskill.cpp -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit264] -FileName=src\gui\newskill.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit265] -FileName=src\gui\selectionlistener.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit266] -FileName=src\gui\vbox.cpp -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit267] -FileName=src\gui\vbox.h -CompileCpp=1 -Folder=gui -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit268] -FileName=src\gui\widgets\resizegrip.cpp -CompileCpp=1 -Folder=header/widgets -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit269] -FileName=src\gui\widgets\resizegrip.h -CompileCpp=1 -Folder=header/widgets -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit270] -FileName=src\keyboardconfig.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit271] -FileName=src\keyboardconfig.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit272] -FileName=src\gui\setup_keyboard.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit273] -FileName=src\gui\setup_keyboard.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit274] -FileName=src\resources\imageloader.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit275] -FileName=src\resources\imageloader.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit276] -FileName=src\resources\dye.h -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit277] -FileName=src\resources\dye.cpp -CompileCpp=1 -Folder=resources -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit278] -FileName=src\keyboardconfig.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit279] -FileName=src\keyboardconfig.h -CompileCpp=1 -Folder=header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit280] -FileName=src\gui\setup_keyboard.cpp -CompileCpp=1 -Folder=gui/source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit281] -FileName=src\gui\setup_keyboard.h -CompileCpp=1 -Folder=gui/header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/aethyra.cbp b/aethyra.cbp new file mode 100644 index 00000000..bcd0398b --- /dev/null +++ b/aethyra.cbp @@ -0,0 +1,383 @@ + + + + + + diff --git a/aethyra.desktop b/aethyra.desktop new file mode 100644 index 00000000..eb75b5cf --- /dev/null +++ b/aethyra.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=Aethyra +Name[fr]=Aethyra +Comment=An on-line fantasy role playing game +Comment[fr]=Un jeu en ligne dans un univers fantastique +Comment[de]=ein Online Fantasy Spiel +Comment[it]=Un gioco fantasy online +Comment[nl]=Een online role playing game +Exec=aethyra +StartupNotify=false +Terminal=false +Type=Application +Icon=aethyra.png +Categories=Application;Game diff --git a/aethyra.png b/aethyra.png new file mode 100644 index 00000000..93e6c9ae Binary files /dev/null and b/aethyra.png differ diff --git a/configure.ac b/configure.ac index dcc1eeeb..92672b8b 100755 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.59) -AC_INIT([The Mana Experiment], [Tme SVN 0.0.25], [blame582@gmail.com], [tme]) +AC_INIT([Aethyra], [Aethyra SVN 0.0.25], [blame582@gmail.com], [aethyra]) AC_CONFIG_HEADERS([config.h:config.h.in]) AC_LANG_CPLUSPLUS @@ -79,7 +79,7 @@ else with_opengl=yes AC_CHECK_LIB([GL], [glBegin], , AC_MSG_ERROR([ *** Unable to find OpenGL library])) - AC_DEFINE(USE_OPENGL, 1, [Defines if tme should use an OpenGL display]) + AC_DEFINE(USE_OPENGL, 1, [Defines if aethyra should use an OpenGL display]) fi # Search for sdl-config diff --git a/data/Makefile.am b/data/Makefile.am index 86ae612d..508e6e0e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ SUBDIRS = graphics help icons -tmedatadir = $(pkgdatadir)/data +aethyradatadir = $(pkgdatadir)/data diff --git a/data/icons/Aethyra.icns b/data/icons/Aethyra.icns new file mode 100644 index 00000000..7230a099 Binary files /dev/null and b/data/icons/Aethyra.icns differ diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 5d7adee9..fee51e4f 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -1,14 +1,14 @@ iconsdir = $(pkgdatadir)/data/icons -icons_DATA = tme.png +icons_DATA = aethyra.png install-data-local: $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps - $(INSTALL) $(srcdir)/tme.png $(DESTDIR)$(datadir)/pixmaps/tme.png + $(INSTALL) $(srcdir)/aethyra.png $(DESTDIR)$(datadir)/pixmaps/aethyra.png uninstall-local: - rm -f $(DESTDIR)$(datadir)/pixmaps/tme.png + rm -f $(DESTDIR)$(datadir)/pixmaps/aethyra.png EXTRA_DIST = \ $(icons_DATA) diff --git a/data/icons/The Mana Experiment.icns b/data/icons/The Mana Experiment.icns deleted file mode 100644 index 7230a099..00000000 Binary files a/data/icons/The Mana Experiment.icns and /dev/null differ diff --git a/data/icons/aethyra.ico b/data/icons/aethyra.ico new file mode 100644 index 00000000..61d559a3 Binary files /dev/null and b/data/icons/aethyra.ico differ diff --git a/data/icons/aethyra.png b/data/icons/aethyra.png new file mode 100644 index 00000000..93e6c9ae Binary files /dev/null and b/data/icons/aethyra.png differ diff --git a/data/icons/aethyra.xpm b/data/icons/aethyra.xpm new file mode 100644 index 00000000..06ec2865 --- /dev/null +++ b/data/icons/aethyra.xpm @@ -0,0 +1,784 @@ +/* XPM */ +static char * tmw_xpm[] = { +"32 32 749 2", +" c None", +". c #E4EB6D", +"+ c #EFF271", +"@ c #E7EF65", +"# c #DDED61", +"$ c #D6E955", +"% c #DAED4D", +"& c #F6F5A0", +"* c #EFEF89", +"= c #ECF084", +"- c #EDF077", +"; c #EAF075", +"> c #E0E960", +", c #D9E757", +"' c #D4EA52", +") c #CFE74D", +"! c #BEE140", +"~ c #C2E43E", +"{ c #B6DF33", +"] c #F8F7C2", +"^ c #F9F7AB", +"/ c #F2F099", +"( c #EEEF80", +"_ c #F3F077", +": c #F8F8B1", +"< c #E8EE6F", +"[ c #E1EB69", +"} c #DBEB5E", +"| c #D5E852", +"1 c #CDE445", +"2 c #CEE843", +"3 c #B6DC34", +"4 c #A9DA2F", +"5 c #B3E02F", +"6 c #B6E630", +"7 c #F1F2E2", +"8 c #F9F9D4", +"9 c #F9F8C5", +"0 c #F8F8CE", +"a c #F9F8D6", +"b c #F9F7CB", +"c c #F9F7B1", +"d c #F9F7A7", +"e c #E7EE73", +"f c #E4EC69", +"g c #DEEB60", +"h c #D8E755", +"i c #D5EB55", +"j c #C2E33F", +"k c #BEE33C", +"l c #B5E339", +"m c #A7DF2E", +"n c #9BDA28", +"o c #95DA24", +"p c #8DD724", +"q c #F9F9F5", +"r c #F9F9EA", +"s c #F9F9E1", +"t c #F9F9F4", +"u c #F9F7DF", +"v c #F9F7D1", +"w c #F9F7C9", +"x c #F9F7B6", +"y c #F9F7AE", +"z c #D7E363", +"A c #E1EC6B", +"B c #DDEC60", +"C c #D8EC61", +"D c #CDE552", +"E c #C6E543", +"F c #BCE440", +"G c #BEE73E", +"H c #ABDF30", +"I c #ACE230", +"J c #8FD720", +"K c #80D01C", +"L c #80D51A", +"M c #F9F9F7", +"N c #F9F9EB", +"O c #F9F9F9", +"P c #F9F7E6", +"Q c #F9F7D3", +"R c #F9F7CE", +"S c #F9F7BF", +"T c #F9F8B9", +"U c #E6EF8F", +"V c #E1EB65", +"W c #E0ED63", +"X c #D1E452", +"Y c #D3E84D", +"Z c #C3E340", +"` c #BBE13E", +" . c #B0DD35", +".. c #ABDD2E", +"+. c #A0DB2A", +"@. c #95D923", +"#. c #7ED31C", +"$. c #7ED31A", +"%. c #80DA18", +"&. c #F4F3EF", +"*. c #F9F9F6", +"=. c #F9F8F5", +"-. c #F9F7EE", +";. c #F9F7E2", +">. c #F9F7D5", +",. c #F9F6C2", +"'. c #F8F69C", +"). c #D4E56D", +"!. c #E4ED73", +"~. c #DBEA60", +"{. c #DDE961", +"]. c #C9E54E", +"^. c #BFE242", +"/. c #BEE33E", +"(. c #B1DE34", +"_. c #ABDE33", +":. c #95D826", +"<. c #8DD620", +"[. c #8DDB20", +"}. c #91DD1E", +"|. c #71D116", +"1. c #50B910", +"2. c #F9F8F7", +"3. c #F9F8F4", +"4. c #F9F7EB", +"5. c #F9F7E1", +"6. c #F9F5CF", +"7. c #F9F6C9", +"8. c #F9F6BF", +"9. c #D6E471", +"0. c #E9F075", +"a. c #E3EC6B", +"b. c #D9E96D", +"c. c #CEE558", +"d. c #CBE44E", +"e. c #BEDE3E", +"f. c #ACDA37", +"g. c #BCE639", +"h. c #AEE135", +"i. c #9EDB2A", +"j. c #8FD822", +"k. c #7CD31B", +"l. c #82DA1C", +"m. c #63CE13", +"n. c #61CE12", +"o. c #F9F9F8", +"p. c #F9F7F5", +"q. c #F9F4DD", +"r. c #F9F5D7", +"s. c #F9F5C9", +"t. c #F9F5B6", +"u. c #E3ED8D", +"v. c #DEE865", +"w. c #E3ED6D", +"x. c #DDEB5E", +"y. c #D3E755", +"z. c #CAE349", +"A. c #CFEB4D", +"B. c #C1E33B", +"C. c #BCE743", +"D. c #B0E02D", +"E. c #95DB28", +"F. c #95DB26", +"G. c #C6E627", +"H. c #E8F433", +"I. c #CAED26", +"J. c #60CD0F", +"K. c #58CD0E", +"L. c #F9F7EC", +"M. c #F9F7F1", +"N. c #F9F4E4", +"O. c #F9F3D7", +"P. c #F9F3CA", +"Q. c #F9F5CA", +"R. c #F9F5BB", +"S. c #F9F8B6", +"T. c #F6F89E", +"U. c #DFEB5C", +"V. c #CEE453", +"W. c #D0E753", +"X. c #CDE543", +"Y. c #C7E842", +"Z. c #C1E53C", +"`. c #A7DC30", +" + c #E6F453", +".+ c #E2F448", +"++ c #D8F03C", +"@+ c #D1ED2E", +"#+ c #D0F033", +"$+ c #CAED2C", +"%+ c #ACE51F", +"&+ c #55CF0F", +"*+ c #F5F6EF", +"=+ c #F9F9F2", +"-+ c #F9F9F1", +";+ c #F9F8F0", +">+ c #F9F7E7", +",+ c #F9F5F0", +"'+ c #F9F3E1", +")+ c #F9F5DB", +"!+ c #F9F6DB", +"~+ c #F9F6BE", +"{+ c #F8F59B", +"]+ c #F9F5A2", +"^+ c #F8F68D", +"/+ c #F7F689", +"(+ c #D7EC65", +"_+ c #CEE84E", +":+ c #BBE23F", +"<+ c #B6E238", +"[+ c #A2DC30", +"}+ c #EBF553", +"|+ c #E4F443", +"1+ c #DCF340", +"2+ c #D4F033", +"3+ c #CEEF2D", +"4+ c #C2E926", +"5+ c #BEEB20", +"6+ c #5CD50E", +"7+ c #53CE0D", +"8+ c #F9F7D9", +"9+ c #F9F6F2", +"0+ c #F9F5EB", +"a+ c #F9F3DA", +"b+ c #F9F6DF", +"c+ c #F9F7D0", +"d+ c #F9F7C2", +"e+ c #F9F7BB", +"f+ c #F8F68F", +"g+ c #F7F58D", +"h+ c #F6F58B", +"i+ c #EEF68B", +"j+ c #BFDF43", +"k+ c #B5DE37", +"l+ c #B5E234", +"m+ c #A7DD30", +"n+ c #E7F248", +"o+ c #D6EF40", +"p+ c #DBF239", +"q+ c #D0ED2F", +"r+ c #C3EB2A", +"s+ c #BCEB26", +"t+ c #B5E81E", +"u+ c #52CE0F", +"v+ c #4ECB0B", +"w+ c #F9F9D9", +"x+ c #F9F9D7", +"y+ c #F9F8F8", +"z+ c #F9F7E9", +"A+ c #F9F6E9", +"B+ c #F9F5E0", +"C+ c #F8F2D6", +"D+ c #F9F3CE", +"E+ c #F9F7CA", +"F+ c #F9F8B5", +"G+ c #F6F691", +"H+ c #F9F699", +"I+ c #F5F68F", +"J+ c #F3F579", +"K+ c #E8F575", +"L+ c #C7E646", +"M+ c #B5DF37", +"N+ c #B9E438", +"O+ c #9CD928", +"P+ c #D7F348", +"Q+ c #DBEF3B", +"R+ c #D1EF35", +"S+ c #D7F230", +"T+ c #C1EA25", +"U+ c #B5E91F", +"V+ c #63DC1E", +"W+ c #48CA0C", +"X+ c #F4F4DC", +"Y+ c #F9F9C3", +"Z+ c #F9F9C5", +"`+ c #F9F9C7", +" @ c #F9F9E8", +".@ c #F9F6DD", +"+@ c #F9F6D6", +"@@ c #F9F3C1", +"#@ c #F9F3BF", +"$@ c #F9F5B8", +"%@ c #F8F8A6", +"&@ c #F6F68F", +"*@ c #F4F791", +"=@ c #ABD746", +"-@ c #C5E449", +";@ c #C1E448", +">@ c #BBE23E", +",@ c #BBE237", +"'@ c #A9DC30", +")@ c #99D927", +"!@ c #D3E32C", +"~@ c #E2F340", +"{@ c #D3ED2D", +"]@ c #CAED2B", +"^@ c #CDF028", +"/@ c #C5EB27", +"(@ c #B0E51C", +"_@ c #91DC13", +":@ c #49CA08", +"<@ c #25B305", +"[@ c #F5F6BE", +"}@ c #F5F5A9", +"|@ c #F3F4B0", +"1@ c #F6F6B0", +"2@ c #F7F8B5", +"3@ c #EDF097", +"4@ c #F5F18F", +"5@ c #F9F7B8", +"6@ c #F9F4B0", +"7@ c #F9F3AE", +"8@ c #F9F3A4", +"9@ c #F9F7A4", +"0@ c #F7F7A0", +"a@ c #F5F682", +"b@ c #D3E75E", +"c@ c #CAE646", +"d@ c #CBE846", +"e@ c #EDF05A", +"f@ c #C6E432", +"g@ c #A9E02E", +"h@ c #99DA27", +"i@ c #B9DB20", +"j@ c #E1F33F", +"k@ c #CEEB2E", +"l@ c #C7EB27", +"m@ c #BBEA26", +"n@ c #B9E722", +"o@ c #A6DF19", +"p@ c #ABE815", +"q@ c #48CB09", +"r@ c #3ECA08", +"s@ c #F8F7A7", +"t@ c #F3F4A0", +"u@ c #F4F59C", +"v@ c #F0F49C", +"w@ c #F2F5A4", +"x@ c #F5F6A0", +"y@ c #EFF28F", +"z@ c #F9F8CD", +"A@ c #F9F6A7", +"B@ c #F9F3A0", +"C@ c #F8F399", +"D@ c #F8F493", +"E@ c #F8F693", +"F@ c #F7F58B", +"G@ c #E8EF65", +"H@ c #C7E445", +"I@ c #C7DB30", +"J@ c #E1ED48", +"K@ c #E8F353", +"L@ c #C3E227", +"M@ c #D9EB2E", +"N@ c #E7F549", +"O@ c #D3EE3B", +"P@ c #CBED2D", +"Q@ c #CDEF27", +"R@ c #BFEC23", +"S@ c #B6E81E", +"T@ c #A9E518", +"U@ c #B1EB1B", +"V@ c #35BE06", +"W@ c #38C306", +"X@ c #F9F9A7", +"Y@ c #F2F38F", +"Z@ c #F2F495", +"`@ c #F3F38D", +" # c #F9F9E9", +".# c #F7F8C5", +"+# c #F8F7D1", +"@# c #F8F6A2", +"## c #F9F7A9", +"$# c #F8F59C", +"%# c #F8F291", +"&# c #F8F58F", +"*# c #F6F789", +"=# c #F2F477", +"-# c #F0F571", +";# c #EAEE52", +"># c #DCEA45", +",# c #EBEF43", +"'# c #E4F04D", +")# c #DEEF45", +"!# c #E1F246", +"~# c #E4F448", +"{# c #DBF039", +"]# c #D9F235", +"^# c #C9ED2B", +"/# c #CAEF2C", +"(# c #CEF22B", +"_# c #B6E91E", +":# c #B1EB21", +"<# c #A9E815", +"[# c #48CF09", +"}# c #40CD06", +"|# c #EDEF6B", +"1# c #EBF07C", +"2# c #E7EB71", +"3# c #E8E865", +"4# c #F8F79E", +"5# c #F8F7A4", +"6# c #F9F69E", +"7# c #F8F48F", +"8# c #F6F280", +"9# c #F6F482", +"0# c #F3F473", +"a# c #EFF169", +"b# c #EDF467", +"c# c #EAF35C", +"d# c #EAF258", +"e# c #E4F052", +"f# c #E4F046", +"g# c #E0F03F", +"h# c #D5EE3B", +"i# c #DFF23E", +"j# c #D7F137", +"k# c #CEED2E", +"l# c #C9EF28", +"m# c #CAF025", +"n# c #B9EA1E", +"o# c #B3E91D", +"p# c #B1EB1A", +"q# c #A6E817", +"r# c #39C506", +"s# c #35C505", +"t# c #B3BC3E", +"u# c #E9F07C", +"v# c #DEE867", +"w# c #F9F79E", +"x# c #F8F793", +"y# c #F8F78F", +"z# c #F7F684", +"A# c #F5F27E", +"B# c #F4F26D", +"C# c #F4F36F", +"D# c #EDF061", +"E# c #EEF363", +"F# c #EDF35C", +"G# c #EEF45C", +"H# c #EAF357", +"I# c #E8F34B", +"J# c #DCEE43", +"K# c #E1F03F", +"L# c #D6ED37", +"M# c #D5EE33", +"N# c #D5F134", +"O# c #D9F232", +"P# c #CEF22D", +"Q# c #C7F22A", +"R# c #9BDB18", +"S# c #A7E518", +"T# c #AEEB1B", +"U# c #95E514", +"V# c #37C306", +"W# c #3CC705", +"X# c #E0EC60", +"Y# c #D1E455", +"Z# c #F7F78F", +"`# c #F7F891", +" $ c #F8F78B", +".$ c #F5F782", +"+$ c #F8F791", +"@$ c #EFF06B", +"#$ c #F3F36D", +"$$ c #EFF36D", +"%$ c #F1F56F", +"&$ c #EDF260", +"*$ c #EDF461", +"=$ c #E7F150", +"-$ c #E9F355", +";$ c #E8F349", +">$ c #E8F442", +",$ c #DDF13E", +"'$ c #DAF038", +")$ c #CEEB26", +"!$ c #D0EE2C", +"~$ c #B9E82A", +"{$ c #C1ED26", +"]$ c #A0E41C", +"^$ c #ABE71B", +"/$ c #99E315", +"($ c #99E415", +"_$ c #33B306", +":$ c #2BBB05", +"<$ c #D9EB5E", +"[$ c #CDE44E", +"}$ c #F6F579", +"|$ c #F4F577", +"1$ c #F3F571", +"2$ c #F4F57C", +"3$ c #F3F363", +"4$ c #F2F475", +"5$ c #F0F567", +"6$ c #A2D93F", +"7$ c #C3E43F", +"8$ c #B6D92E", +"9$ c #A7CD1F", +"0$ c #E4F042", +"a$ c #E4F248", +"b$ c #E5F348", +"c$ c #D7EC39", +"d$ c #DBF33C", +"e$ c #DDF23E", +"f$ c #D1EF2D", +"g$ c #C1E825", +"h$ c #BFEB26", +"i$ c #AEE61B", +"j$ c #A7E318", +"k$ c #B0E818", +"l$ c #9EE615", +"m$ c #6DD30D", +"n$ c #27A603", +"o$ c #2CBE05", +"p$ c #E2ED50", +"q$ c #CBE348", +"r$ c #F6F780", +"s$ c #F5F577", +"t$ c #F3F56F", +"u$ c #EFF469", +"v$ c #F3F471", +"w$ c #F3F46F", +"x$ c #EFF461", +"y$ c #E7F053", +"z$ c #C6E83F", +"A$ c #A4D733", +"B$ c #ABDD2F", +"C$ c #B0DF2E", +"D$ c #A7DD2B", +"E$ c #E4F240", +"F$ c #E8F555", +"G$ c #DDF33C", +"H$ c #E1F53E", +"I$ c #D4F032", +"J$ c #CEF02E", +"K$ c #CAEF2D", +"L$ c #C2EF28", +"M$ c #B5E91B", +"N$ c #93DD13", +"O$ c #93E215", +"P$ c #93E213", +"Q$ c #80DB0D", +"R$ c #45CA05", +"S$ c #2FC204", +"T$ c #CEE743", +"U$ c #C1E23E", +"V$ c #F0F365", +"W$ c #F5F473", +"X$ c #F2F269", +"Y$ c #E9EF57", +"Z$ c #EFF363", +"`$ c #E8F052", +" % c #EBF358", +".% c #B8E439", +"+% c #BCE839", +"@% c #A4DC2A", +"#% c #ABE22D", +"$% c #95D822", +"%% c #E1F240", +"&% c #D6ED32", +"*% c #CFEC2C", +"=% c #D4F02F", +"-% c #CAEE2B", +";% c #C3EB27", +">% c #C6EE25", +",% c #C3EE21", +"'% c #B8ED21", +")% c #AEEA16", +"!% c #79D90F", +"~% c #2EB106", +"{% c #26B808", +"]% c #2CBF05", +"^% c #C9E73B", +"/% c #C5E63C", +"(% c #F0F56B", +"_% c #EEF258", +":% c #F0F265", +"<% c #EFF155", +"[% c #EDF358", +"}% c #EBF550", +"|% c #EBF54D", +"1% c #C9E83B", +"2% c #A4DB28", +"3% c #9EDC2B", +"4% c #8FD622", +"5% c #82D01E", +"6% c #7EC512", +"7% c #C9E827", +"8% c #D0EE2E", +"9% c #C7ED2C", +"0% c #C7EE27", +"a% c #C1EE2A", +"b% c #C2EF24", +"c% c #BEED22", +"d% c #A9E718", +"e% c #3EC307", +"f% c #39C306", +"g% c #38C606", +"h% c #23B603", +"i% c #ACDB2F", +"j% c #B0DF34", +"k% c #EDF35A", +"l% c #EDF553", +"m% c #E2F045", +"n% c #E6F350", +"o% c #E6F448", +"p% c #9CD01E", +"q% c #8BC916", +"r% c #B8DC1B", +"s% c #7CBC0F", +"t% c #95D618", +"u% c #7ED319", +"v% c #BFE118", +"w% c #C6ED2A", +"x% c #C1EA21", +"y% c #C1ED22", +"z% c #B8EA1D", +"A% c #B6EB1D", +"B% c #BCEF1F", +"C% c #53CA07", +"D% c #3FC708", +"E% c #2EBC05", +"F% c #2FBE04", +"G% c #2DBF04", +"H% c #A2CF1F", +"I% c #B1E12F", +"J% c #B5E32E", +"K% c #E8F243", +"L% c #D7EB45", +"M% c #E8F245", +"N% c #DDEF40", +"O% c #E2F342", +"P% c #DFF33E", +"Q% c #E4F542", +"R% c #DAF138", +"S% c #D8F230", +"T% c #CBEB28", +"U% c #D1F02E", +"V% c #C6EC24", +"W% c #CAEF25", +"X% c #BCEB21", +"Y% c #B6EB1E", +"Z% c #ABE91B", +"`% c #A2E616", +" & c #3CC508", +".& c #3EC906", +"+& c #37C305", +"@& c #27B903", +"#& c #209B02", +"$& c #A9DF27", +"%& c #A4DD27", +"&& c #91D623", +"*& c #E3F13C", +"=& c #E4F340", +"-& c #E4F33F", +";& c #E4F43E", +">& c #E2F439", +",& c #D6F033", +"'& c #D5F034", +")& c #CEEF2E", +"!& c #CBED26", +"~& c #CFEF27", +"{& c #D5F22E", +"]& c #B5E620", +"^& c #B9EA1F", +"/& c #84E620", +"(& c #3EB508", +"_& c #58CE0D", +":& c #39CA11", +"<& c #3EC607", +"[& c #3BCA08", +"}& c #28BB04", +"|& c #28BC03", +"1& c #8FD620", +"2& c #97D823", +"3& c #A6E22B", +"4& c #69CB1D", +"5& c #86D61F", +"6& c #E5F740", +"7& c #DCF338", +"8& c #CAEC2D", +"9& c #CDED2B", +"0& c #D1F02C", +"a& c #CDEE27", +"b& c #C1EB22", +"c& c #CFF228", +"d& c #BCE922", +"e& c #3CBB09", +"f& c #50CD0C", +"g& c #4BCD0B", +"h& c #3CC207", +"i& c #42CD09", +"j& c #2EBB04", +"k& c #28B905", +"l& c #28B903", +"m& c #61B113", +"n& c #7ED41A", +"o& c #89D71B", +"p& c #8DDB1A", +"q& c #7CD518", +"r& c #8FDA1B", +"s& c #71D314", +"t& c #7CDA18", +"u& c #BEF232", +"v& c #8BD715", +"w& c #63C207", +"x& c #55C108", +"y& c #5AD111", +"z& c #4BC90B", +"A& c #3EC108", +"B& c #46C908", +"C& c #40CB08", +"D& c #34C205", +"E& c #32C505", +"F& c #22A003", +"G& c #79D818", +"H& c #75D314", +"I& c #67D012", +"J& c #69D313", +"K& c #71D613", +"L& c #67D413", +"M& c #4BC20C", +"N& c #4DCB0E", +"O& c #5AD510", +"P& c #50CA0B", +"Q& c #4BC909", +"R& c #3CC708", +"S& c #42C906", +"T& c #35C206", +"U& c #33C306", +"V& c #30C504", +"W& c #49C30E", +"X& c #71D913", +"Y& c #84E318", +"Z& c #5ECF0E", +"`& c #58D00D", +" * c #5ED40D", +".* c #48C70A", +"+* c #57D40B", +"@* c #37BE06", +"#* c #39C707", +"$* c #37C505", +"%* c #34C705", +"&* c #49BE0B", +"** c #4BD00C", +"=* c #46C609", +"-* c #46D00A", +";* c #33BE06", +">* c #20A904", +" . + @ # $ % ", +" & * = - ; > , ' ) ! ~ { ", +" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", +" 7 8 9 0 a b c d e f g h i j k l m n o p ", +" q r s t u v w x y z A B C D E F G H I J K L ", +" M M N O P u Q R S T U V W X Y Z ` ...+.@.#.$.%. ", +" &.O *.O =.-.;.>.R ,.'.).!.~.{.].^./.(._.:.<.[.}.|.1. ", +" O O O 2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n. ", +" o.O *.p.p.3.-.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K. ", +" O o.q L.p.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+ ", +" *+=+-+;+>+p.,+'+)+!+~+8.{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+ ", +" r N N 8+p.9+0+a+b+c+d+e+d f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+ ", +" w+x+w+y+z+A+B+C+D+E+S F+G+H+I+J+K+L+M+N+O+P+Q+R+S+$+T+U+V+W+ ", +"X+Y+Z+`+ @.@+@6.@@#@$@^ %@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@", +"[@}@|@1@2@3@4@5@6@7@8@9@0@a@b@) c@d@e@f@g@h@i@j@k@l@m@n@o@p@q@r@", +"s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@>@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@", +"X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#:#<#[#}#", +"|#1#2#3#4###5#'.6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#", +"t#u#v#w#s@x#y#z#a@A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#", +" X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$I#;$>$,$'$)$!$~${$]$^$/$($_$:$ ", +" <$[$}$|$*#1$2$3$4$5$6$7$8$9$0$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$ ", +" p$q$r$s$t$u$v$w$x$y$z$A$B$C$D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$S$ ", +" T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,%'%)%!%~%{%]% ", +" ^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c%d%($e%f%g%h% ", +" i%j%k%l%a$m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C%D%E%F%G% ", +" H%I%J%K%L%M%N%O%P%Q%G$R%S%T%U%V%W%X%Y%Z%`% &.&+&@&#& ", +" $&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:&<&[&}&|& ", +" 1&2&3&4&5&6&7&8&9&0&a&b&c&d&e&f&g&h&i&j&k&l& ", +" m&n&o&p&q&r&s&t&u&v&w&x&y&z&A&B&C&D&E&F& ", +" G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V& ", +" W&X&Y&Z&`& *.*+*@*#*$*%* ", +" &***=*-*;*>* "}; diff --git a/data/icons/tme.ico b/data/icons/tme.ico deleted file mode 100644 index 61d559a3..00000000 Binary files a/data/icons/tme.ico and /dev/null differ diff --git a/data/icons/tme.png b/data/icons/tme.png deleted file mode 100644 index 93e6c9ae..00000000 Binary files a/data/icons/tme.png and /dev/null differ diff --git a/data/icons/tme.xpm b/data/icons/tme.xpm deleted file mode 100644 index 06ec2865..00000000 --- a/data/icons/tme.xpm +++ /dev/null @@ -1,784 +0,0 @@ -/* XPM */ -static char * tmw_xpm[] = { -"32 32 749 2", -" c None", -". c #E4EB6D", -"+ c #EFF271", -"@ c #E7EF65", -"# c #DDED61", -"$ c #D6E955", -"% c #DAED4D", -"& c #F6F5A0", -"* c #EFEF89", -"= c #ECF084", -"- c #EDF077", -"; c #EAF075", -"> c #E0E960", -", c #D9E757", -"' c #D4EA52", -") c #CFE74D", -"! c #BEE140", -"~ c #C2E43E", -"{ c #B6DF33", -"] c #F8F7C2", -"^ c #F9F7AB", -"/ c #F2F099", -"( c #EEEF80", -"_ c #F3F077", -": c #F8F8B1", -"< c #E8EE6F", -"[ c #E1EB69", -"} c #DBEB5E", -"| c #D5E852", -"1 c #CDE445", -"2 c #CEE843", -"3 c #B6DC34", -"4 c #A9DA2F", -"5 c #B3E02F", -"6 c #B6E630", -"7 c #F1F2E2", -"8 c #F9F9D4", -"9 c #F9F8C5", -"0 c #F8F8CE", -"a c #F9F8D6", -"b c #F9F7CB", -"c c #F9F7B1", -"d c #F9F7A7", -"e c #E7EE73", -"f c #E4EC69", -"g c #DEEB60", -"h c #D8E755", -"i c #D5EB55", -"j c #C2E33F", -"k c #BEE33C", -"l c #B5E339", -"m c #A7DF2E", -"n c #9BDA28", -"o c #95DA24", -"p c #8DD724", -"q c #F9F9F5", -"r c #F9F9EA", -"s c #F9F9E1", -"t c #F9F9F4", -"u c #F9F7DF", -"v c #F9F7D1", -"w c #F9F7C9", -"x c #F9F7B6", -"y c #F9F7AE", -"z c #D7E363", -"A c #E1EC6B", -"B c #DDEC60", -"C c #D8EC61", -"D c #CDE552", -"E c #C6E543", -"F c #BCE440", -"G c #BEE73E", -"H c #ABDF30", -"I c #ACE230", -"J c #8FD720", -"K c #80D01C", -"L c #80D51A", -"M c #F9F9F7", -"N c #F9F9EB", -"O c #F9F9F9", -"P c #F9F7E6", -"Q c #F9F7D3", -"R c #F9F7CE", -"S c #F9F7BF", -"T c #F9F8B9", -"U c #E6EF8F", -"V c #E1EB65", -"W c #E0ED63", -"X c #D1E452", -"Y c #D3E84D", -"Z c #C3E340", -"` c #BBE13E", -" . c #B0DD35", -".. c #ABDD2E", -"+. c #A0DB2A", -"@. c #95D923", -"#. c #7ED31C", -"$. c #7ED31A", -"%. c #80DA18", -"&. c #F4F3EF", -"*. c #F9F9F6", -"=. c #F9F8F5", -"-. c #F9F7EE", -";. c #F9F7E2", -">. c #F9F7D5", -",. c #F9F6C2", -"'. c #F8F69C", -"). c #D4E56D", -"!. c #E4ED73", -"~. c #DBEA60", -"{. c #DDE961", -"]. c #C9E54E", -"^. c #BFE242", -"/. c #BEE33E", -"(. c #B1DE34", -"_. c #ABDE33", -":. c #95D826", -"<. c #8DD620", -"[. c #8DDB20", -"}. c #91DD1E", -"|. c #71D116", -"1. c #50B910", -"2. c #F9F8F7", -"3. c #F9F8F4", -"4. c #F9F7EB", -"5. c #F9F7E1", -"6. c #F9F5CF", -"7. c #F9F6C9", -"8. c #F9F6BF", -"9. c #D6E471", -"0. c #E9F075", -"a. c #E3EC6B", -"b. c #D9E96D", -"c. c #CEE558", -"d. c #CBE44E", -"e. c #BEDE3E", -"f. c #ACDA37", -"g. c #BCE639", -"h. c #AEE135", -"i. c #9EDB2A", -"j. c #8FD822", -"k. c #7CD31B", -"l. c #82DA1C", -"m. c #63CE13", -"n. c #61CE12", -"o. c #F9F9F8", -"p. c #F9F7F5", -"q. c #F9F4DD", -"r. c #F9F5D7", -"s. c #F9F5C9", -"t. c #F9F5B6", -"u. c #E3ED8D", -"v. c #DEE865", -"w. c #E3ED6D", -"x. c #DDEB5E", -"y. c #D3E755", -"z. c #CAE349", -"A. c #CFEB4D", -"B. c #C1E33B", -"C. c #BCE743", -"D. c #B0E02D", -"E. c #95DB28", -"F. c #95DB26", -"G. c #C6E627", -"H. c #E8F433", -"I. c #CAED26", -"J. c #60CD0F", -"K. c #58CD0E", -"L. c #F9F7EC", -"M. c #F9F7F1", -"N. c #F9F4E4", -"O. c #F9F3D7", -"P. c #F9F3CA", -"Q. c #F9F5CA", -"R. c #F9F5BB", -"S. c #F9F8B6", -"T. c #F6F89E", -"U. c #DFEB5C", -"V. c #CEE453", -"W. c #D0E753", -"X. c #CDE543", -"Y. c #C7E842", -"Z. c #C1E53C", -"`. c #A7DC30", -" + c #E6F453", -".+ c #E2F448", -"++ c #D8F03C", -"@+ c #D1ED2E", -"#+ c #D0F033", -"$+ c #CAED2C", -"%+ c #ACE51F", -"&+ c #55CF0F", -"*+ c #F5F6EF", -"=+ c #F9F9F2", -"-+ c #F9F9F1", -";+ c #F9F8F0", -">+ c #F9F7E7", -",+ c #F9F5F0", -"'+ c #F9F3E1", -")+ c #F9F5DB", -"!+ c #F9F6DB", -"~+ c #F9F6BE", -"{+ c #F8F59B", -"]+ c #F9F5A2", -"^+ c #F8F68D", -"/+ c #F7F689", -"(+ c #D7EC65", -"_+ c #CEE84E", -":+ c #BBE23F", -"<+ c #B6E238", -"[+ c #A2DC30", -"}+ c #EBF553", -"|+ c #E4F443", -"1+ c #DCF340", -"2+ c #D4F033", -"3+ c #CEEF2D", -"4+ c #C2E926", -"5+ c #BEEB20", -"6+ c #5CD50E", -"7+ c #53CE0D", -"8+ c #F9F7D9", -"9+ c #F9F6F2", -"0+ c #F9F5EB", -"a+ c #F9F3DA", -"b+ c #F9F6DF", -"c+ c #F9F7D0", -"d+ c #F9F7C2", -"e+ c #F9F7BB", -"f+ c #F8F68F", -"g+ c #F7F58D", -"h+ c #F6F58B", -"i+ c #EEF68B", -"j+ c #BFDF43", -"k+ c #B5DE37", -"l+ c #B5E234", -"m+ c #A7DD30", -"n+ c #E7F248", -"o+ c #D6EF40", -"p+ c #DBF239", -"q+ c #D0ED2F", -"r+ c #C3EB2A", -"s+ c #BCEB26", -"t+ c #B5E81E", -"u+ c #52CE0F", -"v+ c #4ECB0B", -"w+ c #F9F9D9", -"x+ c #F9F9D7", -"y+ c #F9F8F8", -"z+ c #F9F7E9", -"A+ c #F9F6E9", -"B+ c #F9F5E0", -"C+ c #F8F2D6", -"D+ c #F9F3CE", -"E+ c #F9F7CA", -"F+ c #F9F8B5", -"G+ c #F6F691", -"H+ c #F9F699", -"I+ c #F5F68F", -"J+ c #F3F579", -"K+ c #E8F575", -"L+ c #C7E646", -"M+ c #B5DF37", -"N+ c #B9E438", -"O+ c #9CD928", -"P+ c #D7F348", -"Q+ c #DBEF3B", -"R+ c #D1EF35", -"S+ c #D7F230", -"T+ c #C1EA25", -"U+ c #B5E91F", -"V+ c #63DC1E", -"W+ c #48CA0C", -"X+ c #F4F4DC", -"Y+ c #F9F9C3", -"Z+ c #F9F9C5", -"`+ c #F9F9C7", -" @ c #F9F9E8", -".@ c #F9F6DD", -"+@ c #F9F6D6", -"@@ c #F9F3C1", -"#@ c #F9F3BF", -"$@ c #F9F5B8", -"%@ c #F8F8A6", -"&@ c #F6F68F", -"*@ c #F4F791", -"=@ c #ABD746", -"-@ c #C5E449", -";@ c #C1E448", -">@ c #BBE23E", -",@ c #BBE237", -"'@ c #A9DC30", -")@ c #99D927", -"!@ c #D3E32C", -"~@ c #E2F340", -"{@ c #D3ED2D", -"]@ c #CAED2B", -"^@ c #CDF028", -"/@ c #C5EB27", -"(@ c #B0E51C", -"_@ c #91DC13", -":@ c #49CA08", -"<@ c #25B305", -"[@ c #F5F6BE", -"}@ c #F5F5A9", -"|@ c #F3F4B0", -"1@ c #F6F6B0", -"2@ c #F7F8B5", -"3@ c #EDF097", -"4@ c #F5F18F", -"5@ c #F9F7B8", -"6@ c #F9F4B0", -"7@ c #F9F3AE", -"8@ c #F9F3A4", -"9@ c #F9F7A4", -"0@ c #F7F7A0", -"a@ c #F5F682", -"b@ c #D3E75E", -"c@ c #CAE646", -"d@ c #CBE846", -"e@ c #EDF05A", -"f@ c #C6E432", -"g@ c #A9E02E", -"h@ c #99DA27", -"i@ c #B9DB20", -"j@ c #E1F33F", -"k@ c #CEEB2E", -"l@ c #C7EB27", -"m@ c #BBEA26", -"n@ c #B9E722", -"o@ c #A6DF19", -"p@ c #ABE815", -"q@ c #48CB09", -"r@ c #3ECA08", -"s@ c #F8F7A7", -"t@ c #F3F4A0", -"u@ c #F4F59C", -"v@ c #F0F49C", -"w@ c #F2F5A4", -"x@ c #F5F6A0", -"y@ c #EFF28F", -"z@ c #F9F8CD", -"A@ c #F9F6A7", -"B@ c #F9F3A0", -"C@ c #F8F399", -"D@ c #F8F493", -"E@ c #F8F693", -"F@ c #F7F58B", -"G@ c #E8EF65", -"H@ c #C7E445", -"I@ c #C7DB30", -"J@ c #E1ED48", -"K@ c #E8F353", -"L@ c #C3E227", -"M@ c #D9EB2E", -"N@ c #E7F549", -"O@ c #D3EE3B", -"P@ c #CBED2D", -"Q@ c #CDEF27", -"R@ c #BFEC23", -"S@ c #B6E81E", -"T@ c #A9E518", -"U@ c #B1EB1B", -"V@ c #35BE06", -"W@ c #38C306", -"X@ c #F9F9A7", -"Y@ c #F2F38F", -"Z@ c #F2F495", -"`@ c #F3F38D", -" # c #F9F9E9", -".# c #F7F8C5", -"+# c #F8F7D1", -"@# c #F8F6A2", -"## c #F9F7A9", -"$# c #F8F59C", -"%# c #F8F291", -"&# c #F8F58F", -"*# c #F6F789", -"=# c #F2F477", -"-# c #F0F571", -";# c #EAEE52", -"># c #DCEA45", -",# c #EBEF43", -"'# c #E4F04D", -")# c #DEEF45", -"!# c #E1F246", -"~# c #E4F448", -"{# c #DBF039", -"]# c #D9F235", -"^# c #C9ED2B", -"/# c #CAEF2C", -"(# c #CEF22B", -"_# c #B6E91E", -":# c #B1EB21", -"<# c #A9E815", -"[# c #48CF09", -"}# c #40CD06", -"|# c #EDEF6B", -"1# c #EBF07C", -"2# c #E7EB71", -"3# c #E8E865", -"4# c #F8F79E", -"5# c #F8F7A4", -"6# c #F9F69E", -"7# c #F8F48F", -"8# c #F6F280", -"9# c #F6F482", -"0# c #F3F473", -"a# c #EFF169", -"b# c #EDF467", -"c# c #EAF35C", -"d# c #EAF258", -"e# c #E4F052", -"f# c #E4F046", -"g# c #E0F03F", -"h# c #D5EE3B", -"i# c #DFF23E", -"j# c #D7F137", -"k# c #CEED2E", -"l# c #C9EF28", -"m# c #CAF025", -"n# c #B9EA1E", -"o# c #B3E91D", -"p# c #B1EB1A", -"q# c #A6E817", -"r# c #39C506", -"s# c #35C505", -"t# c #B3BC3E", -"u# c #E9F07C", -"v# c #DEE867", -"w# c #F9F79E", -"x# c #F8F793", -"y# c #F8F78F", -"z# c #F7F684", -"A# c #F5F27E", -"B# c #F4F26D", -"C# c #F4F36F", -"D# c #EDF061", -"E# c #EEF363", -"F# c #EDF35C", -"G# c #EEF45C", -"H# c #EAF357", -"I# c #E8F34B", -"J# c #DCEE43", -"K# c #E1F03F", -"L# c #D6ED37", -"M# c #D5EE33", -"N# c #D5F134", -"O# c #D9F232", -"P# c #CEF22D", -"Q# c #C7F22A", -"R# c #9BDB18", -"S# c #A7E518", -"T# c #AEEB1B", -"U# c #95E514", -"V# c #37C306", -"W# c #3CC705", -"X# c #E0EC60", -"Y# c #D1E455", -"Z# c #F7F78F", -"`# c #F7F891", -" $ c #F8F78B", -".$ c #F5F782", -"+$ c #F8F791", -"@$ c #EFF06B", -"#$ c #F3F36D", -"$$ c #EFF36D", -"%$ c #F1F56F", -"&$ c #EDF260", -"*$ c #EDF461", -"=$ c #E7F150", -"-$ c #E9F355", -";$ c #E8F349", -">$ c #E8F442", -",$ c #DDF13E", -"'$ c #DAF038", -")$ c #CEEB26", -"!$ c #D0EE2C", -"~$ c #B9E82A", -"{$ c #C1ED26", -"]$ c #A0E41C", -"^$ c #ABE71B", -"/$ c #99E315", -"($ c #99E415", -"_$ c #33B306", -":$ c #2BBB05", -"<$ c #D9EB5E", -"[$ c #CDE44E", -"}$ c #F6F579", -"|$ c #F4F577", -"1$ c #F3F571", -"2$ c #F4F57C", -"3$ c #F3F363", -"4$ c #F2F475", -"5$ c #F0F567", -"6$ c #A2D93F", -"7$ c #C3E43F", -"8$ c #B6D92E", -"9$ c #A7CD1F", -"0$ c #E4F042", -"a$ c #E4F248", -"b$ c #E5F348", -"c$ c #D7EC39", -"d$ c #DBF33C", -"e$ c #DDF23E", -"f$ c #D1EF2D", -"g$ c #C1E825", -"h$ c #BFEB26", -"i$ c #AEE61B", -"j$ c #A7E318", -"k$ c #B0E818", -"l$ c #9EE615", -"m$ c #6DD30D", -"n$ c #27A603", -"o$ c #2CBE05", -"p$ c #E2ED50", -"q$ c #CBE348", -"r$ c #F6F780", -"s$ c #F5F577", -"t$ c #F3F56F", -"u$ c #EFF469", -"v$ c #F3F471", -"w$ c #F3F46F", -"x$ c #EFF461", -"y$ c #E7F053", -"z$ c #C6E83F", -"A$ c #A4D733", -"B$ c #ABDD2F", -"C$ c #B0DF2E", -"D$ c #A7DD2B", -"E$ c #E4F240", -"F$ c #E8F555", -"G$ c #DDF33C", -"H$ c #E1F53E", -"I$ c #D4F032", -"J$ c #CEF02E", -"K$ c #CAEF2D", -"L$ c #C2EF28", -"M$ c #B5E91B", -"N$ c #93DD13", -"O$ c #93E215", -"P$ c #93E213", -"Q$ c #80DB0D", -"R$ c #45CA05", -"S$ c #2FC204", -"T$ c #CEE743", -"U$ c #C1E23E", -"V$ c #F0F365", -"W$ c #F5F473", -"X$ c #F2F269", -"Y$ c #E9EF57", -"Z$ c #EFF363", -"`$ c #E8F052", -" % c #EBF358", -".% c #B8E439", -"+% c #BCE839", -"@% c #A4DC2A", -"#% c #ABE22D", -"$% c #95D822", -"%% c #E1F240", -"&% c #D6ED32", -"*% c #CFEC2C", -"=% c #D4F02F", -"-% c #CAEE2B", -";% c #C3EB27", -">% c #C6EE25", -",% c #C3EE21", -"'% c #B8ED21", -")% c #AEEA16", -"!% c #79D90F", -"~% c #2EB106", -"{% c #26B808", -"]% c #2CBF05", -"^% c #C9E73B", -"/% c #C5E63C", -"(% c #F0F56B", -"_% c #EEF258", -":% c #F0F265", -"<% c #EFF155", -"[% c #EDF358", -"}% c #EBF550", -"|% c #EBF54D", -"1% c #C9E83B", -"2% c #A4DB28", -"3% c #9EDC2B", -"4% c #8FD622", -"5% c #82D01E", -"6% c #7EC512", -"7% c #C9E827", -"8% c #D0EE2E", -"9% c #C7ED2C", -"0% c #C7EE27", -"a% c #C1EE2A", -"b% c #C2EF24", -"c% c #BEED22", -"d% c #A9E718", -"e% c #3EC307", -"f% c #39C306", -"g% c #38C606", -"h% c #23B603", -"i% c #ACDB2F", -"j% c #B0DF34", -"k% c #EDF35A", -"l% c #EDF553", -"m% c #E2F045", -"n% c #E6F350", -"o% c #E6F448", -"p% c #9CD01E", -"q% c #8BC916", -"r% c #B8DC1B", -"s% c #7CBC0F", -"t% c #95D618", -"u% c #7ED319", -"v% c #BFE118", -"w% c #C6ED2A", -"x% c #C1EA21", -"y% c #C1ED22", -"z% c #B8EA1D", -"A% c #B6EB1D", -"B% c #BCEF1F", -"C% c #53CA07", -"D% c #3FC708", -"E% c #2EBC05", -"F% c #2FBE04", -"G% c #2DBF04", -"H% c #A2CF1F", -"I% c #B1E12F", -"J% c #B5E32E", -"K% c #E8F243", -"L% c #D7EB45", -"M% c #E8F245", -"N% c #DDEF40", -"O% c #E2F342", -"P% c #DFF33E", -"Q% c #E4F542", -"R% c #DAF138", -"S% c #D8F230", -"T% c #CBEB28", -"U% c #D1F02E", -"V% c #C6EC24", -"W% c #CAEF25", -"X% c #BCEB21", -"Y% c #B6EB1E", -"Z% c #ABE91B", -"`% c #A2E616", -" & c #3CC508", -".& c #3EC906", -"+& c #37C305", -"@& c #27B903", -"#& c #209B02", -"$& c #A9DF27", -"%& c #A4DD27", -"&& c #91D623", -"*& c #E3F13C", -"=& c #E4F340", -"-& c #E4F33F", -";& c #E4F43E", -">& c #E2F439", -",& c #D6F033", -"'& c #D5F034", -")& c #CEEF2E", -"!& c #CBED26", -"~& c #CFEF27", -"{& c #D5F22E", -"]& c #B5E620", -"^& c #B9EA1F", -"/& c #84E620", -"(& c #3EB508", -"_& c #58CE0D", -":& c #39CA11", -"<& c #3EC607", -"[& c #3BCA08", -"}& c #28BB04", -"|& c #28BC03", -"1& c #8FD620", -"2& c #97D823", -"3& c #A6E22B", -"4& c #69CB1D", -"5& c #86D61F", -"6& c #E5F740", -"7& c #DCF338", -"8& c #CAEC2D", -"9& c #CDED2B", -"0& c #D1F02C", -"a& c #CDEE27", -"b& c #C1EB22", -"c& c #CFF228", -"d& c #BCE922", -"e& c #3CBB09", -"f& c #50CD0C", -"g& c #4BCD0B", -"h& c #3CC207", -"i& c #42CD09", -"j& c #2EBB04", -"k& c #28B905", -"l& c #28B903", -"m& c #61B113", -"n& c #7ED41A", -"o& c #89D71B", -"p& c #8DDB1A", -"q& c #7CD518", -"r& c #8FDA1B", -"s& c #71D314", -"t& c #7CDA18", -"u& c #BEF232", -"v& c #8BD715", -"w& c #63C207", -"x& c #55C108", -"y& c #5AD111", -"z& c #4BC90B", -"A& c #3EC108", -"B& c #46C908", -"C& c #40CB08", -"D& c #34C205", -"E& c #32C505", -"F& c #22A003", -"G& c #79D818", -"H& c #75D314", -"I& c #67D012", -"J& c #69D313", -"K& c #71D613", -"L& c #67D413", -"M& c #4BC20C", -"N& c #4DCB0E", -"O& c #5AD510", -"P& c #50CA0B", -"Q& c #4BC909", -"R& c #3CC708", -"S& c #42C906", -"T& c #35C206", -"U& c #33C306", -"V& c #30C504", -"W& c #49C30E", -"X& c #71D913", -"Y& c #84E318", -"Z& c #5ECF0E", -"`& c #58D00D", -" * c #5ED40D", -".* c #48C70A", -"+* c #57D40B", -"@* c #37BE06", -"#* c #39C707", -"$* c #37C505", -"%* c #34C705", -"&* c #49BE0B", -"** c #4BD00C", -"=* c #46C609", -"-* c #46D00A", -";* c #33BE06", -">* c #20A904", -" . + @ # $ % ", -" & * = - ; > , ' ) ! ~ { ", -" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", -" 7 8 9 0 a b c d e f g h i j k l m n o p ", -" q r s t u v w x y z A B C D E F G H I J K L ", -" M M N O P u Q R S T U V W X Y Z ` ...+.@.#.$.%. ", -" &.O *.O =.-.;.>.R ,.'.).!.~.{.].^./.(._.:.<.[.}.|.1. ", -" O O O 2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.k.l.m.n. ", -" o.O *.p.p.3.-.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K. ", -" O o.q L.p.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+ ", -" *+=+-+;+>+p.,+'+)+!+~+8.{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+ ", -" r N N 8+p.9+0+a+b+c+d+e+d f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+ ", -" w+x+w+y+z+A+B+C+D+E+S F+G+H+I+J+K+L+M+N+O+P+Q+R+S+$+T+U+V+W+ ", -"X+Y+Z+`+ @.@+@6.@@#@$@^ %@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@", -"[@}@|@1@2@3@4@5@6@7@8@9@0@a@b@) c@d@e@f@g@h@i@j@k@l@m@n@o@p@q@r@", -"s@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@>@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@", -"X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#:#<#[#}#", -"|#1#2#3#4###5#'.6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#", -"t#u#v#w#s@x#y#z#a@A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#", -" X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$I#;$>$,$'$)$!$~${$]$^$/$($_$:$ ", -" <$[$}$|$*#1$2$3$4$5$6$7$8$9$0$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$ ", -" p$q$r$s$t$u$v$w$x$y$z$A$B$C$D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$S$ ", -" T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,%'%)%!%~%{%]% ", -" ^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c%d%($e%f%g%h% ", -" i%j%k%l%a$m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C%D%E%F%G% ", -" H%I%J%K%L%M%N%O%P%Q%G$R%S%T%U%V%W%X%Y%Z%`% &.&+&@&#& ", -" $&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:&<&[&}&|& ", -" 1&2&3&4&5&6&7&8&9&0&a&b&c&d&e&f&g&h&i&j&k&l& ", -" m&n&o&p&q&r&s&t&u&v&w&x&y&z&A&B&C&D&E&F& ", -" G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V& ", -" W&X&Y&Z&`& *.*+*@*#*$*%* ", -" &***=*-*;*>* "}; diff --git a/debian/aethyra-data.install b/debian/aethyra-data.install new file mode 100644 index 00000000..007bcf7b --- /dev/null +++ b/debian/aethyra-data.install @@ -0,0 +1,5 @@ +data/graphics/gui/*.png usr/share/games/aethyra/data/graphics/gui +data/graphics/images/*.png usr/share/games/aethyra/data/graphics/images +data/graphics/images/ambient/*.png usr/share/games/aethyra/data/graphics/images/ambient +data/graphics/tiles/*.png usr/share/games/aethyra/data/graphics/tiles +data/help/*.txt usr/share/games/aethyra/data/help diff --git a/debian/aethyra.docs b/debian/aethyra.docs new file mode 100644 index 00000000..d622a527 --- /dev/null +++ b/debian/aethyra.docs @@ -0,0 +1,6 @@ +AUTHORS +NEWS +README +ChangeLog +docs/progression.txt +docs/FAQ.txt diff --git a/debian/aethyra.install b/debian/aethyra.install new file mode 100644 index 00000000..66ba5126 --- /dev/null +++ b/debian/aethyra.install @@ -0,0 +1,5 @@ +debian/aethyra.desktop usr/share/applications +debian/aethyra.xpm usr/share/pixmaps +data/icons/aethyra.png usr/share/icons +docs/aethyra.6 usr/share/man/man6 +src/aethyra usr/games diff --git a/debian/aethyra.menu b/debian/aethyra.menu new file mode 100644 index 00000000..4af5ad0a --- /dev/null +++ b/debian/aethyra.menu @@ -0,0 +1,4 @@ +?package(tmw):needs="X11" section="Games/Adventure"\ + title="The Mana World"\ + description="The Mana World is an Online Fantasy adventure game."\ + command="/usr/games/tmw" icon="/usr/share/pixmaps/tmw.xpm" diff --git a/debian/aethyra.sgml b/debian/aethyra.sgml new file mode 100644 index 00000000..0ed18199 --- /dev/null +++ b/debian/aethyra.sgml @@ -0,0 +1,149 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + FERREIRA"> + Yohann"> + + avril 13, 2005"> + + 6"> + bertram@cegetel.net"> + + TMW"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + tmw is the abreviation of The Mana World : A Fantasy Online Game + + + + &dhpackage; + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; ingame + commands. + &dhpackage; is a Great Online Game based upon the Seiken Densetsu Serie. +It has its own universe, and and its own character management system, which will +give you the opportunity to play in a 2D heroic-fantasy world forever. + + + + COMMON KEYS + + Arrow Keys, Key Pad Keys (Diagonals Supported). +Move your character around. + +Left Ctrl : +Make your character attack. + +G : +Get Items on the ground or in a chest. + +Alt + 1...9 : +Shows an Emoticon above your character. + +Alt + I : +Shows / Hide Inventory Window. + +Alt + K : +Shows / Hide Skills Window. + +Alt + E : +Shows / Hide Equipment Window. + +Alt + C : +Shows Configuration Window. + + + + + SEE ALSO + + libguichan (2). + + The program is documented fully by The Mana World Team available via the + website http://www.manaworld.org/ + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + diff --git a/debian/aethyra.xpm b/debian/aethyra.xpm new file mode 100644 index 00000000..a3ab9513 --- /dev/null +++ b/debian/aethyra.xpm @@ -0,0 +1,776 @@ +/* XPM */ +static char * aethyra_xpm[] = { +"32 32 741 2", +" c None", +". c #E8ED72", +"+ c #E7ED6A", +"@ c #E1EB62", +"# c #D4E758", +"$ c #D2E750", +"% c #CDE748", +"& c #F5F4A1", +"* c #F3F294", +"= c #EBEE81", +"- c #EAEE77", +"; c #E6ED6F", +"> c #E1EB68", +", c #D9E859", +"' c #D3E851", +") c #CCE549", +"! c #C7E643", +"~ c #BEE239", +"{ c #B3DF32", +"] c #F8F8C4", +"^ c #F9F7B3", +"/ c #F4F3A2", +"( c #F4F397", +"_ c #F5F39A", +": c #F2F399", +"< c #E2EA6D", +"[ c #DFEA66", +"} c #DAE95C", +"| c #D3E753", +"1 c #CAE54B", +"2 c #C7E545", +"3 c #BFE23C", +"4 c #B7E034", +"5 c #B1E130", +"6 c #A5DC28", +"7 c #F9F9DA", +"8 c #F9F8CA", +"9 c #F8F7C9", +"0 c #F8F7CD", +"a c #F9F7C7", +"b c #F9F7B8", +"c c #F7F5A8", +"d c #E6EC73", +"e c #E0EA68", +"f c #DBE95D", +"g c #D8E956", +"h c #D2E850", +"i c #C4E343", +"j c #BEE23D", +"k c #B2E036", +"l c #A9DE2E", +"m c #A0DC29", +"n c #91D823", +"o c #F9F9F5", +"p c #F9F9EA", +"q c #F9F9E2", +"r c #F9F8E9", +"s c #F9F8E1", +"t c #F9F7D3", +"u c #F9F7BC", +"v c #F9F7AF", +"w c #E8EE80", +"x c #E2EC6F", +"y c #DBEA61", +"z c #D3E755", +"A c #CAE44C", +"B c #C6E446", +"C c #BDE441", +"D c #B8E337", +"E c #AADE30", +"F c #9DDA2A", +"G c #91D722", +"H c #87D61F", +"I c #7FD61B", +"J c #F9F9F8", +"K c #F9F9F7", +"L c #F9F9F0", +"M c #F9F8EC", +"N c #F9F7E1", +"O c #F9F7D7", +"P c #F9F7C9", +"Q c #F9F7B4", +"R c #EBF092", +"S c #E1EB69", +"T c #DBE95F", +"U c #D3E654", +"V c #CCE44A", +"W c #C9E647", +"X c #BDE13D", +"Y c #B1DE35", +"Z c #A8DD30", +"` c #9BDA29", +" . c #94D823", +".. c #8CD921", +"+. c #82D71C", +"@. c #7CD716", +"#. c #F9F9F9", +"$. c #F9F8F5", +"%. c #F9F7EE", +"&. c #F9F7E4", +"*. c #F9F7D5", +"=. c #F9F7CB", +"-. c #F9F7BF", +";. c #F4F39E", +">. c #E1EA76", +",. c #E0EA69", +"'. c #D9E85D", +"). c #D7E859", +"!. c #CCE64E", +"~. c #C1E343", +"{. c #BBE23C", +"]. c #B0DF34", +"^. c #A9DD2F", +"/. c #9AD928", +"(. c #90D822", +"_. c #8AD81F", +":. c #81D81B", +"<. c #76D517", +"[. c #F9F7F6", +"}. c #F9F7F4", +"|. c #F9F5D3", +"1. c #F9F6C7", +"2. c #F9F6B9", +"3. c #E6EC86", +"4. c #E6ED72", +"5. c #E3ED6C", +"6. c #D6E75E", +"7. c #D1E655", +"8. c #C7E34A", +"9. c #C1E141", +"0. c #B2DD39", +"a. c #B3E135", +"b. c #A6DE30", +"c. c #9BDB29", +"d. c #97DA24", +"e. c #87D71E", +"f. c #82D71B", +"g. c #87DA1F", +"h. c #63CF12", +"i. c #F8F8F8", +"j. c #F9F7F5", +"k. c #F9F5E3", +"l. c #F9F5D4", +"m. c #F9F6B8", +"n. c #EDF198", +"o. c #E1EB6F", +"p. c #E1EC68", +"q. c #D8E95C", +"r. c #D3E752", +"s. c #C9E44A", +"t. c #C7E746", +"u. c #BEE43D", +"v. c #B0E138", +"w. c #A8E02D", +"x. c #A3DF29", +"y. c #B4E226", +"z. c #CDEB2C", +"A. c #B9E925", +"B. c #6DD213", +"C. c #56C90F", +"D. c #F9F8F4", +"E. c #F9F7EB", +"F. c #F9F7F2", +"G. c #F9F5EA", +"H. c #F9F3DE", +"I. c #F9F4CF", +"J. c #F9F5C5", +"K. c #F9F5B8", +"L. c #F8F7B2", +"M. c #F1F495", +"N. c #E3EC6B", +"O. c #D8E859", +"P. c #CEE650", +"Q. c #C8E449", +"R. c #C2E441", +"S. c #BAE139", +"T. c #E7F24F", +"U. c #E3F347", +"V. c #DCF13E", +"W. c #D9F137", +"X. c #CDEE30", +"Y. c #C3EB27", +"Z. c #85D919", +"`. c #4FC90E", +" + c #F7F7F2", +".+ c #F9F9F2", +"++ c #F9F8ED", +"@+ c #F9F5EE", +"#+ c #F9F4E4", +"$+ c #F9F5DC", +"%+ c #F9F6D1", +"&+ c #F9F6C2", +"*+ c #F9F6B7", +"=+ c #F9F6A6", +"-+ c #F8F599", +";+ c #F7F591", +">+ c #F4F584", +",+ c #D7EB61", +"'+ c #C5E447", +")+ c #BAE13E", +"!+ c #B8E23A", +"~+ c #B8E132", +"{+ c #E6F349", +"]+ c #E1F343", +"^+ c #DAF13B", +"/+ c #D2EF33", +"(+ c #CBEE2E", +"_+ c #C1EA25", +":+ c #A9E61F", +"<+ c #55CE10", +"[+ c #4FC60D", +"}+ c #F8F8E9", +"|+ c #F9F9E8", +"1+ c #F9F9E7", +"2+ c #F9F8E4", +"3+ c #F9F7F0", +"4+ c #F9F6EF", +"5+ c #F9F5E7", +"6+ c #F9F3DB", +"7+ c #F9F5D6", +"8+ c #F9F7CE", +"9+ c #F9F7BE", +"0+ c #F9F7B7", +"a+ c #F9F7A5", +"b+ c #F7F691", +"c+ c #F6F588", +"d+ c #F5F580", +"e+ c #DBEE6B", +"f+ c #BAE13D", +"g+ c #B5E137", +"h+ c #A5DB2E", +"i+ c #E0F041", +"j+ c #DBF140", +"k+ c #DAF138", +"l+ c #D1EE32", +"m+ c #C6EB2B", +"n+ c #C0EC27", +"o+ c #BAEB22", +"p+ c #65D517", +"q+ c #4FCC0B", +"r+ c #F9F9D7", +"s+ c #F9F9D6", +"t+ c #F9F8EA", +"u+ c #F9F7E8", +"v+ c #F9F5E5", +"w+ c #F9F5DD", +"x+ c #F9F2D2", +"y+ c #F9F3CA", +"z+ c #F9F6C3", +"A+ c #F9F7BA", +"B+ c #F9F8B2", +"C+ c #F8F89E", +"D+ c #F8F58E", +"E+ c #F5F583", +"F+ c #EFF479", +"G+ c #C5E557", +"H+ c #C5E543", +"I+ c #B9E13B", +"J+ c #9FDA2A", +"K+ c #CEEC3B", +"L+ c #D9EF38", +"M+ c #D4EE32", +"N+ c #D1EF30", +"O+ c #C8ED2A", +"P+ c #C2EB26", +"Q+ c #B5E81E", +"R+ c #80DC1C", +"S+ c #46C80B", +"T+ c #F0F1C0", +"U+ c #F9F8C7", +"V+ c #F9F9C6", +"W+ c #F9F8D5", +"X+ c #F9F7DF", +"Y+ c #F9F6D6", +"Z+ c #F9F5D0", +"`+ c #F9F3C4", +" @ c #F9F3BC", +".@ c #F9F5B5", +"+@ c #F9F7B0", +"@@ c #F9F8A4", +"#@ c #F7F796", +"$@ c #EFF386", +"%@ c #D3E865", +"&@ c #C7E450", +"*@ c #C0E242", +"=@ c #BEE33F", +"-@ c #B5E036", +";@ c #A7DB2F", +">@ c #A0DC2B", +",@ c #C4E32F", +"'@ c #DCF139", +")@ c #D2ED2E", +"!@ c #CAEC2A", +"~@ c #CBEF2B", +"{@ c #BEEA22", +"]@ c #B2E81E", +"^@ c #8FDD17", +"/@ c #3DC209", +"(@ c #33BC07", +"_@ c #F5F5B4", +":@ c #F6F6AE", +"<@ c #F6F6B1", +"[@ c #F7F7B3", +"}@ c #F2F3AB", +"|@ c #F3F198", +"1@ c #F8F5BA", +"2@ c #F9F4B6", +"3@ c #F9F3AF", +"4@ c #F9F4A4", +"5@ c #F8F7A2", +"6@ c #F7F799", +"7@ c #F6F68A", +"8@ c #DDEC69", +"9@ c #CEE74F", +"0@ c #C0E03C", +"a@ c #D5EA4C", +"b@ c #BEE23A", +"c@ c #A9DF2F", +"d@ c #9EDD2A", +"e@ c #BEE22A", +"f@ c #DCF23A", +"g@ c #D4F033", +"h@ c #CBED2A", +"i@ c #C5ED29", +"j@ c #BDEB22", +"k@ c #B4E81E", +"l@ c #A5E618", +"m@ c #41C209", +"n@ c #3ABF07", +"o@ c #DCDC8A", +"p@ c #F3F49B", +"q@ c #F3F49D", +"r@ c #F2F49D", +"s@ c #F4F59F", +"t@ c #F4F59D", +"u@ c #F1F498", +"v@ c #F8F7BF", +"w@ c #F9F6AF", +"x@ c #F8F39A", +"y@ c #F8F594", +"z@ c #F5F57D", +"A@ c #DDEC66", +"B@ c #C2E144", +"C@ c #BDE13F", +"D@ c #BFD82E", +"E@ c #E6EF4E", +"F@ c #E1F04A", +"G@ c #C2E433", +"H@ c #CDEA34", +"I@ c #DDF03F", +"J@ c #D4EF36", +"K@ c #CFEF30", +"L@ c #CBEE2A", +"M@ c #C2EC26", +"N@ c #B7E91F", +"O@ c #ADE71C", +"P@ c #A0E517", +"Q@ c #3FC008", +"R@ c #33BD06", +"S@ c #DDD97B", +"T@ c #F2F392", +"U@ c #F0F28F", +"V@ c #F1F38C", +"W@ c #F6F7BE", +"X@ c #F5F6B7", +"Y@ c #F5F5B2", +"Z@ c #F9F6A7", +"`@ c #F9F6A3", +" # c #F8F59C", +".# c #F8F38D", +"+# c #F7F58C", +"@# c #F5F687", +"## c #F3F576", +"$# c #F0F575", +"%# c #DDEC57", +"&# c #D8EA49", +"*# c #DDE946", +"=# c #E8F14F", +"-# c #E3F148", +";# c #E2F346", +"># c #E1F345", +",# c #D8F039", +"'# c #D1EF31", +")# c #CAED2C", +"!# c #C4EC27", +"~# c #C1ED24", +"{# c #B6EA1F", +"]# c #AFEA1C", +"^# c #A4E717", +"/# c #3EBF08", +"(# c #37C206", +"_# c #E8EB6C", +":# c #E6ED76", +"<# c #E4EC73", +"[# c #ECEF86", +"}# c #F8F7A7", +"|# c #F9F7A7", +"1# c #F8F7A3", +"2# c #F8F69D", +"3# c #F8F69A", +"4# c #F7F48A", +"5# c #F6F27B", +"6# c #F6F482", +"7# c #F3F57B", +"8# c #F1F574", +"9# c #F0F46C", +"0# c #EBF25E", +"a# c #EBF259", +"b# c #E7F152", +"c# c #E1EF44", +"d# c #DFEF40", +"e# c #D7EE3B", +"f# c #DAF039", +"g# c #D7F137", +"h# c #D1F032", +"i# c #CCEF2C", +"j# c #C6EE26", +"k# c #B7EA1F", +"l# c #AAE81A", +"m# c #97E415", +"n# c #37BE07", +"o# c #2CAF05", +"p# c #D5DC5B", +"q# c #E4ED6F", +"r# c #E9F082", +"s# c #F8F7A1", +"t# c #F8F79D", +"u# c #F7F696", +"v# c #F6F68B", +"w# c #F5F37B", +"x# c #F5F378", +"y# c #F3F372", +"z# c #F1F36C", +"A# c #EEF468", +"B# c #ECF35D", +"C# c #EAF256", +"D# c #E7F151", +"E# c #E4F148", +"F# c #E0F043", +"G# c #E1F143", +"H# c #D9EF39", +"I# c #D2ED31", +"J# c #CEF030", +"K# c #C9EF2A", +"L# c #C0ED25", +"M# c #ADE61C", +"N# c #A7E619", +"O# c #A5E818", +"P# c #80D913", +"Q# c #34BE06", +"R# c #35BF05", +"S# c #E0EC61", +"T# c #E4ED72", +"U# c #F7F792", +"V# c #F7F791", +"W# c #F8F78F", +"X# c #F6F687", +"Y# c #F6F688", +"Z# c #F3F377", +"`# c #F4F474", +" $ c #F1F472", +".$ c #EEF46D", +"+$ c #DEEB59", +"@$ c #E7F059", +"#$ c #E9F356", +"$$ c #E9F255", +"%$ c #E7F24D", +"&$ c #E6F245", +"*$ c #E4F243", +"=$ c #DFF240", +"-$ c #D7EF36", +";$ c #CCEB2B", +">$ c #CDEE2C", +",$ c #C5ED2A", +"'$ c #BDEB25", +")$ c #ADE71E", +"!$ c #A6E51A", +"~$ c #9AE316", +"{$ c #93E214", +"]$ c #5CC30B", +"^$ c #34BD05", +"/$ c #DDEC59", +"($ c #D6E858", +"_$ c #F5F57C", +":$ c #F5F680", +"<$ c #F5F67E", +"[$ c #F5F67C", +"}$ c #F4F574", +"|$ c #F1F26A", +"1$ c #F2F46F", +"2$ c #EFF468", +"3$ c #BCE24A", +"4$ c #BBDF38", +"5$ c #B9DB30", +"6$ c #C3DF33", +"7$ c #DDED42", +"8$ c #E5F249", +"9$ c #DEF03D", +"0$ c #D5EF35", +"a$ c #CEEE2E", +"b$ c #C1E925", +"c$ c #B9E923", +"d$ c #B1E71E", +"e$ c #ABE619", +"f$ c #A8E517", +"g$ c #94E113", +"h$ c #83DE11", +"i$ c #35AD06", +"j$ c #2FBB04", +"k$ c #CEE249", +"l$ c #CFE54B", +"m$ c #E8F16F", +"n$ c #F5F578", +"o$ c #F4F674", +"p$ c #F1F46D", +"q$ c #F2F268", +"r$ c #F1F366", +"s$ c #EFF462", +"t$ c #DEEF5B", +"u$ c #B3E039", +"v$ c #B4E037", +"w$ c #AEDE31", +"x$ c #A6DB2B", +"y$ c #BBE331", +"z$ c #E3F243", +"A$ c #DFF141", +"B$ c #D9F038", +"C$ c #D9F136", +"D$ c #CDEF2E", +"E$ c #C7EE2A", +"F$ c #BDEB24", +"G$ c #B7EA1D", +"H$ c #A0E316", +"I$ c #96E214", +"J$ c #93E212", +"K$ c #6DD10D", +"L$ c #2CAD04", +"M$ c #2AB303", +"N$ c #CDE746", +"O$ c #CDE74B", +"P$ c #F0F56D", +"Q$ c #F2F46A", +"R$ c #F0F264", +"S$ c #ECF15A", +"T$ c #EFF361", +"U$ c #EDF45A", +"V$ c #EBF45C", +"W$ c #B9E239", +"X$ c #B6E335", +"Y$ c #ADE02E", +"Z$ c #A9E02B", +"`$ c #A4DE28", +" % c #DFF243", +".% c #D7EF35", +"+% c #D5EF31", +"@% c #D4F031", +"#% c #CDEF2C", +"$% c #C7ED28", +"%% c #C6EE27", +"&% c #C1EE23", +"*% c #B6EC1F", +"=% c #A7E818", +"-% c #67CC0E", +";% c #47C208", +">% c #34B906", +",% c #2DBD04", +"'% c #C1E23C", +")% c #C3E53E", +"!% c #D7EB4F", +"~% c #EEF257", +"{% c #ECF057", +"]% c #EAF051", +"^% c #EBF255", +"/% c #EBF452", +"(% c #E9F450", +"_% c #B8E137", +":% c #A3DB2A", +"<% c #A5DF2B", +"[% c #98DA26", +"}% c #8CD621", +"|% c #90D41D", +"1% c #BFE326", +"2% c #D0EE2D", +"3% c #CEEF2E", +"4% c #C8EE28", +"5% c #C1ED26", +"6% c #BCEC22", +"7% c #B9ED20", +"8% c #9FE419", +"9% c #70CD0F", +"0% c #35B906", +"a% c #34C005", +"b% c #30C005", +"c% c #26B503", +"d% c #B7E036", +"e% c #B7E239", +"f% c #E2EF4B", +"g% c #EBF451", +"h% c #E5F14B", +"i% c #E4F04B", +"j% c #E7F451", +"k% c #E6F44B", +"l% c #B6DD2C", +"m% c #ABDC25", +"n% c #B4DF23", +"o% c #A3D61D", +"p% c #96D91D", +"q% c #86D218", +"r% c #B3DE21", +"s% c #CAED2B", +"t% c #C6EC25", +"u% c #BEEB22", +"v% c #BDEC20", +"w% c #B3EA1D", +"x% c #9AE017", +"y% c #46BC07", +"z% c #40C107", +"A% c #35C206", +"B% c #2EBE05", +"C% c #2BBD04", +"D% c #B2E130", +"E% c #B5E334", +"F% c #DFF042", +"G% c #E4F147", +"H% c #E5F348", +"I% c #E2F246", +"J% c #E4F445", +"K% c #DFF33F", +"L% c #E0F33D", +"M% c #DCF238", +"N% c #D8F034", +"O% c #D2EF2E", +"P% c #CBEB29", +"Q% c #D1EF2D", +"R% c #C7ED26", +"S% c #C5EE26", +"T% c #B7EA20", +"U% c #B5EA1D", +"V% c #AEEA1B", +"W% c #85D813", +"X% c #3FC208", +"Y% c #3AC507", +"Z% c #33C005", +"`% c #2BBB04", +" & c #26A903", +".& c #A9E029", +"+& c #A5DF29", +"@& c #A5DE29", +"#& c #D8EE3D", +"$& c #E4F341", +"%& c #E2F340", +"&& c #E0F33C", +"*& c #DDF239", +"=& c #D9F236", +"-& c #D6F133", +";& c #D3F131", +">& c #CEEE2A", +",& c #CEEF28", +"'& c #CBEF29", +")& c #BFEB22", +"!& c #B2EB23", +"~& c #81DD1D", +"{& c #6DCF11", +"]& c #68D10F", +"^& c #4CCB0E", +"/& c #39C407", +"(& c #33C106", +"_& c #2ABB04", +":& c #27B803", +"<& c #97DA23", +"[& c #98DC24", +"}& c #95DC23", +"|& c #93DB25", +"1& c #99DF2A", +"2& c #C6EC31", +"3& c #C6EB2E", +"4& c #ADE026", +"5& c #C1E928", +"6& c #CCEE29", +"7& c #C9ED26", +"8& c #B9EA21", +"9& c #8FD718", +"0& c #4FC30C", +"a& c #4DCB0B", +"b& c #49CB0A", +"c& c #3DC508", +"d& c #3DC808", +"e& c #34C306", +"f& c #2DBC04", +"g& c #2CBF04", +"h& c #88D81D", +"i& c #87D81A", +"j& c #86D81A", +"k& c #7ED518", +"l& c #75D015", +"m& c #71D113", +"n& c #84DB1A", +"o& c #9DE524", +"p& c #7CD316", +"q& c #62CA0E", +"r& c #5AC80B", +"s& c #55C90B", +"t& c #46CA0A", +"u& c #41C708", +"v& c #3DC907", +"w& c #36C406", +"x& c #30C205", +"y& c #27AA04", +"z& c #75D016", +"A& c #79D516", +"B& c #73D515", +"C& c #6AD113", +"D& c #6CD413", +"E& c #65D211", +"F& c #5BCD0F", +"G& c #56CD0E", +"H& c #58D10E", +"I& c #50CC0C", +"J& c #48C809", +"K& c #40C708", +"L& c #3FC607", +"M& c #40C907", +"N& c #38C706", +"O& c #32C105", +"P& c #57BE0F", +"Q& c #61D111", +"R& c #66D411", +"S& c #62D20F", +"T& c #57CD0D", +"U& c #57D00C", +"V& c #4DCC0C", +"W& c #4BCD0A", +"X& c #40C608", +"Y& c #3DC807", +"Z& c #30B505", +"`& c #4BBC0B", +" * c #4CC20A", +".* c #48BF0A", +"+* c #45C109", +"@* c #38B507", +"#* c #31B506", +" . + @ # $ % ", +" & * = - ; > , ' ) ! ~ { ", +" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", +" 7 8 9 0 a b c d e f g h i j k l m n ", +" o p q r s t a u v w x y z A B C D E F G H I ", +" J K L o M N O P u Q R S T U V W X Y Z ` ...+.@. ", +" #.K J $.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<. ", +" #.#.J [.}.%.&.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h. ", +" i.#.K [.j.}.%.k.l.1.m.n.o.p.q.r.s.t.u.v.E w.x.y.z.A.B.C. ", +" #.K D.E.}.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.D T.U.V.W.X.Y.Z.`. ", +" +.+.+++&.F.@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+ ", +" }+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+9.f+g+h+i+j+k+l+m+n+o+p+q+ ", +" r+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+].J+K+L+M+N+O+P+Q+R+S+ ", +"T+U+V+V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@", +"_@:@<@[@[@}@|@1@2@3@4@5@6@7@8@9@W 0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@", +"o@p@q@r@s@t@u@v@w@4@x@y@b+z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@", +"S@T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#", +"_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#O@l#m#n#o#", +"p#q#r#5@s#t#u#b+v#w#x#y#z#A#B#C#D#E#F#G#H#I#'#J#K#L#M#N#O#P#Q#R#", +" S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$;$>$,$'$)$!$~${$]$^$ ", +" /$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$G#9$k+0$a$b$c$d$e$f$g$h$i$j$ ", +" k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z$A$B$C$'#D$E$F$G$H$I$J$K$L$M$ ", +" N$O$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,% ", +" '%)%!%~%{%]%^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c% ", +" d%e%f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C% ", +" D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W%X%Y%Z%`% & ", +" .&+&@&#&$&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:& ", +" <&[&}&|&1&2&3&4&5&6&7&{@8&9&0&a&b&c&d&e&f&g& ", +" h&i&j&k&l&m&n&o&p&q&r&s&a&t&u&v&w&x&y& ", +" z&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O& ", +" P&Q&R&S&T&U&V&W&X&Y&v&Z& ", +" `& *.*+*@*#* "}; diff --git a/debian/control b/debian/control index 2a77f351..4ada3be5 100644 --- a/debian/control +++ b/debian/control @@ -1,36 +1,36 @@ -Source: tmw +Source: aethyra Section: games Priority: optional -Homepage: http://209.168.213.109 -Maintainer: Patrick Matthäi +Homepage: http://www.aethyra.com/ +Maintainer: Patrick Matthäi (Patrick is TMW maintainer need to change this) Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), dpatch, autotools-dev, libcurl4-gnutls-dev, libgl1-mesa-dev, libguichan2-dev (>= 0.7.1), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libphysfs-dev, libpng12-dev, libxml2-dev, zlib1g-dev Standards-Version: 3.7.3 -Package: tme +Package: aethyra Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, tme-data (= ${source:Version}) -Recommends: tme-music -Description: The Mana Experiment is a great Online Rolegame - based upon the Seiken Densetsu serie. It has its own universe, and its own +Depends: ${shlibs:Depends}, ${misc:Depends}, aethyra-data (= ${source:Version}) +Recommends: aethyra-music +Description: Aethyra is a great Online Rolegame + based upon The Mana World 0.0 codebase. It has its own universe, and its own character management system, which will give you the opportunity to play in a 2D heroic-fantasy world forever. -Package: tmw-dbg +Package: aethyra-dbg Architecture: any Priority: extra -Depends: tmw (= ${binary:Version}) -Description: The Mana World is a great Online Rolegame (debugging symbols) - based upon the Seiken Densetsu serie. It has its own universe, and its own +Depends: aethyra (= ${binary:Version}) +Description: Aethyra is a great Online Rolegame (debugging symbols) + based upon the The Mana World 0.0 codebase. It has its own universe, and its own character management system, which will give you the opportunity to play in a 2D heroic-fantasy world forever. . This package provides debugging symbols for the tmw package. -Package: tmw-data +Package: aethyra-data Architecture: all -Recommends: tmw, tmw-music -Description: The Mana World is a great Online Rolegame (data files) - based upon the Seiken Densetsu serie. It has its own universe, and its own +Recommends: aethyra, aethyra-music +Description: Aethyra is a great Online Rolegame (data files) + based upon The Mana World 0.0 codebase. It has its own universe, and its own character management system, which will give you the opportunity to play in a 2D heroic-fantasy world forever. . diff --git a/debian/rules b/debian/rules index 68dd9400..6ee08a3b 100755 --- a/debian/rules +++ b/debian/rules @@ -56,7 +56,7 @@ binary-arch: build install dh_install -a dh_desktop -a dh_installmenu -a - dh_strip -a --dbg-package=tme-dbg + dh_strip -a --dbg-package=aethyra-dbg dh_compress -a dh_fixperms -a dh_installdeb -a diff --git a/debian/tme-data.install b/debian/tme-data.install deleted file mode 100644 index a836ce3d..00000000 --- a/debian/tme-data.install +++ /dev/null @@ -1,5 +0,0 @@ -data/graphics/gui/*.png usr/share/games/tme/data/graphics/gui -data/graphics/images/*.png usr/share/games/tme/data/graphics/images -data/graphics/images/ambient/*.png usr/share/games/tme/data/graphics/images/ambient -data/graphics/tiles/*.png usr/share/games/tme/data/graphics/tiles -data/help/*.txt usr/share/games/tme/data/help diff --git a/debian/tme.docs b/debian/tme.docs deleted file mode 100644 index d622a527..00000000 --- a/debian/tme.docs +++ /dev/null @@ -1,6 +0,0 @@ -AUTHORS -NEWS -README -ChangeLog -docs/progression.txt -docs/FAQ.txt diff --git a/debian/tme.install b/debian/tme.install deleted file mode 100644 index 6c9ced58..00000000 --- a/debian/tme.install +++ /dev/null @@ -1,5 +0,0 @@ -debian/tme.desktop usr/share/applications -debian/tme.xpm usr/share/pixmaps -data/icons/tme.png usr/share/icons -docs/tme.6 usr/share/man/man6 -src/tme usr/games diff --git a/debian/tme.menu b/debian/tme.menu deleted file mode 100644 index 4af5ad0a..00000000 --- a/debian/tme.menu +++ /dev/null @@ -1,4 +0,0 @@ -?package(tmw):needs="X11" section="Games/Adventure"\ - title="The Mana World"\ - description="The Mana World is an Online Fantasy adventure game."\ - command="/usr/games/tmw" icon="/usr/share/pixmaps/tmw.xpm" diff --git a/debian/tme.sgml b/debian/tme.sgml deleted file mode 100644 index 0ed18199..00000000 --- a/debian/tme.sgml +++ /dev/null @@ -1,149 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - - FERREIRA"> - Yohann"> - - avril 13, 2005"> - - 6"> - bertram@cegetel.net"> - - TMW"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - tmw is the abreviation of The Mana World : A Fantasy Online Game - - - - &dhpackage; - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; ingame - commands. - &dhpackage; is a Great Online Game based upon the Seiken Densetsu Serie. -It has its own universe, and and its own character management system, which will -give you the opportunity to play in a 2D heroic-fantasy world forever. - - - - COMMON KEYS - - Arrow Keys, Key Pad Keys (Diagonals Supported). -Move your character around. - -Left Ctrl : -Make your character attack. - -G : -Get Items on the ground or in a chest. - -Alt + 1...9 : -Shows an Emoticon above your character. - -Alt + I : -Shows / Hide Inventory Window. - -Alt + K : -Shows / Hide Skills Window. - -Alt + E : -Shows / Hide Equipment Window. - -Alt + C : -Shows Configuration Window. - - - - - SEE ALSO - - libguichan (2). - - The program is documented fully by The Mana World Team available via the - website http://www.manaworld.org/ - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - - - diff --git a/debian/tme.xpm b/debian/tme.xpm deleted file mode 100644 index e7c2222a..00000000 --- a/debian/tme.xpm +++ /dev/null @@ -1,776 +0,0 @@ -/* XPM */ -static char * tme_xpm[] = { -"32 32 741 2", -" c None", -". c #E8ED72", -"+ c #E7ED6A", -"@ c #E1EB62", -"# c #D4E758", -"$ c #D2E750", -"% c #CDE748", -"& c #F5F4A1", -"* c #F3F294", -"= c #EBEE81", -"- c #EAEE77", -"; c #E6ED6F", -"> c #E1EB68", -", c #D9E859", -"' c #D3E851", -") c #CCE549", -"! c #C7E643", -"~ c #BEE239", -"{ c #B3DF32", -"] c #F8F8C4", -"^ c #F9F7B3", -"/ c #F4F3A2", -"( c #F4F397", -"_ c #F5F39A", -": c #F2F399", -"< c #E2EA6D", -"[ c #DFEA66", -"} c #DAE95C", -"| c #D3E753", -"1 c #CAE54B", -"2 c #C7E545", -"3 c #BFE23C", -"4 c #B7E034", -"5 c #B1E130", -"6 c #A5DC28", -"7 c #F9F9DA", -"8 c #F9F8CA", -"9 c #F8F7C9", -"0 c #F8F7CD", -"a c #F9F7C7", -"b c #F9F7B8", -"c c #F7F5A8", -"d c #E6EC73", -"e c #E0EA68", -"f c #DBE95D", -"g c #D8E956", -"h c #D2E850", -"i c #C4E343", -"j c #BEE23D", -"k c #B2E036", -"l c #A9DE2E", -"m c #A0DC29", -"n c #91D823", -"o c #F9F9F5", -"p c #F9F9EA", -"q c #F9F9E2", -"r c #F9F8E9", -"s c #F9F8E1", -"t c #F9F7D3", -"u c #F9F7BC", -"v c #F9F7AF", -"w c #E8EE80", -"x c #E2EC6F", -"y c #DBEA61", -"z c #D3E755", -"A c #CAE44C", -"B c #C6E446", -"C c #BDE441", -"D c #B8E337", -"E c #AADE30", -"F c #9DDA2A", -"G c #91D722", -"H c #87D61F", -"I c #7FD61B", -"J c #F9F9F8", -"K c #F9F9F7", -"L c #F9F9F0", -"M c #F9F8EC", -"N c #F9F7E1", -"O c #F9F7D7", -"P c #F9F7C9", -"Q c #F9F7B4", -"R c #EBF092", -"S c #E1EB69", -"T c #DBE95F", -"U c #D3E654", -"V c #CCE44A", -"W c #C9E647", -"X c #BDE13D", -"Y c #B1DE35", -"Z c #A8DD30", -"` c #9BDA29", -" . c #94D823", -".. c #8CD921", -"+. c #82D71C", -"@. c #7CD716", -"#. c #F9F9F9", -"$. c #F9F8F5", -"%. c #F9F7EE", -"&. c #F9F7E4", -"*. c #F9F7D5", -"=. c #F9F7CB", -"-. c #F9F7BF", -";. c #F4F39E", -">. c #E1EA76", -",. c #E0EA69", -"'. c #D9E85D", -"). c #D7E859", -"!. c #CCE64E", -"~. c #C1E343", -"{. c #BBE23C", -"]. c #B0DF34", -"^. c #A9DD2F", -"/. c #9AD928", -"(. c #90D822", -"_. c #8AD81F", -":. c #81D81B", -"<. c #76D517", -"[. c #F9F7F6", -"}. c #F9F7F4", -"|. c #F9F5D3", -"1. c #F9F6C7", -"2. c #F9F6B9", -"3. c #E6EC86", -"4. c #E6ED72", -"5. c #E3ED6C", -"6. c #D6E75E", -"7. c #D1E655", -"8. c #C7E34A", -"9. c #C1E141", -"0. c #B2DD39", -"a. c #B3E135", -"b. c #A6DE30", -"c. c #9BDB29", -"d. c #97DA24", -"e. c #87D71E", -"f. c #82D71B", -"g. c #87DA1F", -"h. c #63CF12", -"i. c #F8F8F8", -"j. c #F9F7F5", -"k. c #F9F5E3", -"l. c #F9F5D4", -"m. c #F9F6B8", -"n. c #EDF198", -"o. c #E1EB6F", -"p. c #E1EC68", -"q. c #D8E95C", -"r. c #D3E752", -"s. c #C9E44A", -"t. c #C7E746", -"u. c #BEE43D", -"v. c #B0E138", -"w. c #A8E02D", -"x. c #A3DF29", -"y. c #B4E226", -"z. c #CDEB2C", -"A. c #B9E925", -"B. c #6DD213", -"C. c #56C90F", -"D. c #F9F8F4", -"E. c #F9F7EB", -"F. c #F9F7F2", -"G. c #F9F5EA", -"H. c #F9F3DE", -"I. c #F9F4CF", -"J. c #F9F5C5", -"K. c #F9F5B8", -"L. c #F8F7B2", -"M. c #F1F495", -"N. c #E3EC6B", -"O. c #D8E859", -"P. c #CEE650", -"Q. c #C8E449", -"R. c #C2E441", -"S. c #BAE139", -"T. c #E7F24F", -"U. c #E3F347", -"V. c #DCF13E", -"W. c #D9F137", -"X. c #CDEE30", -"Y. c #C3EB27", -"Z. c #85D919", -"`. c #4FC90E", -" + c #F7F7F2", -".+ c #F9F9F2", -"++ c #F9F8ED", -"@+ c #F9F5EE", -"#+ c #F9F4E4", -"$+ c #F9F5DC", -"%+ c #F9F6D1", -"&+ c #F9F6C2", -"*+ c #F9F6B7", -"=+ c #F9F6A6", -"-+ c #F8F599", -";+ c #F7F591", -">+ c #F4F584", -",+ c #D7EB61", -"'+ c #C5E447", -")+ c #BAE13E", -"!+ c #B8E23A", -"~+ c #B8E132", -"{+ c #E6F349", -"]+ c #E1F343", -"^+ c #DAF13B", -"/+ c #D2EF33", -"(+ c #CBEE2E", -"_+ c #C1EA25", -":+ c #A9E61F", -"<+ c #55CE10", -"[+ c #4FC60D", -"}+ c #F8F8E9", -"|+ c #F9F9E8", -"1+ c #F9F9E7", -"2+ c #F9F8E4", -"3+ c #F9F7F0", -"4+ c #F9F6EF", -"5+ c #F9F5E7", -"6+ c #F9F3DB", -"7+ c #F9F5D6", -"8+ c #F9F7CE", -"9+ c #F9F7BE", -"0+ c #F9F7B7", -"a+ c #F9F7A5", -"b+ c #F7F691", -"c+ c #F6F588", -"d+ c #F5F580", -"e+ c #DBEE6B", -"f+ c #BAE13D", -"g+ c #B5E137", -"h+ c #A5DB2E", -"i+ c #E0F041", -"j+ c #DBF140", -"k+ c #DAF138", -"l+ c #D1EE32", -"m+ c #C6EB2B", -"n+ c #C0EC27", -"o+ c #BAEB22", -"p+ c #65D517", -"q+ c #4FCC0B", -"r+ c #F9F9D7", -"s+ c #F9F9D6", -"t+ c #F9F8EA", -"u+ c #F9F7E8", -"v+ c #F9F5E5", -"w+ c #F9F5DD", -"x+ c #F9F2D2", -"y+ c #F9F3CA", -"z+ c #F9F6C3", -"A+ c #F9F7BA", -"B+ c #F9F8B2", -"C+ c #F8F89E", -"D+ c #F8F58E", -"E+ c #F5F583", -"F+ c #EFF479", -"G+ c #C5E557", -"H+ c #C5E543", -"I+ c #B9E13B", -"J+ c #9FDA2A", -"K+ c #CEEC3B", -"L+ c #D9EF38", -"M+ c #D4EE32", -"N+ c #D1EF30", -"O+ c #C8ED2A", -"P+ c #C2EB26", -"Q+ c #B5E81E", -"R+ c #80DC1C", -"S+ c #46C80B", -"T+ c #F0F1C0", -"U+ c #F9F8C7", -"V+ c #F9F9C6", -"W+ c #F9F8D5", -"X+ c #F9F7DF", -"Y+ c #F9F6D6", -"Z+ c #F9F5D0", -"`+ c #F9F3C4", -" @ c #F9F3BC", -".@ c #F9F5B5", -"+@ c #F9F7B0", -"@@ c #F9F8A4", -"#@ c #F7F796", -"$@ c #EFF386", -"%@ c #D3E865", -"&@ c #C7E450", -"*@ c #C0E242", -"=@ c #BEE33F", -"-@ c #B5E036", -";@ c #A7DB2F", -">@ c #A0DC2B", -",@ c #C4E32F", -"'@ c #DCF139", -")@ c #D2ED2E", -"!@ c #CAEC2A", -"~@ c #CBEF2B", -"{@ c #BEEA22", -"]@ c #B2E81E", -"^@ c #8FDD17", -"/@ c #3DC209", -"(@ c #33BC07", -"_@ c #F5F5B4", -":@ c #F6F6AE", -"<@ c #F6F6B1", -"[@ c #F7F7B3", -"}@ c #F2F3AB", -"|@ c #F3F198", -"1@ c #F8F5BA", -"2@ c #F9F4B6", -"3@ c #F9F3AF", -"4@ c #F9F4A4", -"5@ c #F8F7A2", -"6@ c #F7F799", -"7@ c #F6F68A", -"8@ c #DDEC69", -"9@ c #CEE74F", -"0@ c #C0E03C", -"a@ c #D5EA4C", -"b@ c #BEE23A", -"c@ c #A9DF2F", -"d@ c #9EDD2A", -"e@ c #BEE22A", -"f@ c #DCF23A", -"g@ c #D4F033", -"h@ c #CBED2A", -"i@ c #C5ED29", -"j@ c #BDEB22", -"k@ c #B4E81E", -"l@ c #A5E618", -"m@ c #41C209", -"n@ c #3ABF07", -"o@ c #DCDC8A", -"p@ c #F3F49B", -"q@ c #F3F49D", -"r@ c #F2F49D", -"s@ c #F4F59F", -"t@ c #F4F59D", -"u@ c #F1F498", -"v@ c #F8F7BF", -"w@ c #F9F6AF", -"x@ c #F8F39A", -"y@ c #F8F594", -"z@ c #F5F57D", -"A@ c #DDEC66", -"B@ c #C2E144", -"C@ c #BDE13F", -"D@ c #BFD82E", -"E@ c #E6EF4E", -"F@ c #E1F04A", -"G@ c #C2E433", -"H@ c #CDEA34", -"I@ c #DDF03F", -"J@ c #D4EF36", -"K@ c #CFEF30", -"L@ c #CBEE2A", -"M@ c #C2EC26", -"N@ c #B7E91F", -"O@ c #ADE71C", -"P@ c #A0E517", -"Q@ c #3FC008", -"R@ c #33BD06", -"S@ c #DDD97B", -"T@ c #F2F392", -"U@ c #F0F28F", -"V@ c #F1F38C", -"W@ c #F6F7BE", -"X@ c #F5F6B7", -"Y@ c #F5F5B2", -"Z@ c #F9F6A7", -"`@ c #F9F6A3", -" # c #F8F59C", -".# c #F8F38D", -"+# c #F7F58C", -"@# c #F5F687", -"## c #F3F576", -"$# c #F0F575", -"%# c #DDEC57", -"&# c #D8EA49", -"*# c #DDE946", -"=# c #E8F14F", -"-# c #E3F148", -";# c #E2F346", -"># c #E1F345", -",# c #D8F039", -"'# c #D1EF31", -")# c #CAED2C", -"!# c #C4EC27", -"~# c #C1ED24", -"{# c #B6EA1F", -"]# c #AFEA1C", -"^# c #A4E717", -"/# c #3EBF08", -"(# c #37C206", -"_# c #E8EB6C", -":# c #E6ED76", -"<# c #E4EC73", -"[# c #ECEF86", -"}# c #F8F7A7", -"|# c #F9F7A7", -"1# c #F8F7A3", -"2# c #F8F69D", -"3# c #F8F69A", -"4# c #F7F48A", -"5# c #F6F27B", -"6# c #F6F482", -"7# c #F3F57B", -"8# c #F1F574", -"9# c #F0F46C", -"0# c #EBF25E", -"a# c #EBF259", -"b# c #E7F152", -"c# c #E1EF44", -"d# c #DFEF40", -"e# c #D7EE3B", -"f# c #DAF039", -"g# c #D7F137", -"h# c #D1F032", -"i# c #CCEF2C", -"j# c #C6EE26", -"k# c #B7EA1F", -"l# c #AAE81A", -"m# c #97E415", -"n# c #37BE07", -"o# c #2CAF05", -"p# c #D5DC5B", -"q# c #E4ED6F", -"r# c #E9F082", -"s# c #F8F7A1", -"t# c #F8F79D", -"u# c #F7F696", -"v# c #F6F68B", -"w# c #F5F37B", -"x# c #F5F378", -"y# c #F3F372", -"z# c #F1F36C", -"A# c #EEF468", -"B# c #ECF35D", -"C# c #EAF256", -"D# c #E7F151", -"E# c #E4F148", -"F# c #E0F043", -"G# c #E1F143", -"H# c #D9EF39", -"I# c #D2ED31", -"J# c #CEF030", -"K# c #C9EF2A", -"L# c #C0ED25", -"M# c #ADE61C", -"N# c #A7E619", -"O# c #A5E818", -"P# c #80D913", -"Q# c #34BE06", -"R# c #35BF05", -"S# c #E0EC61", -"T# c #E4ED72", -"U# c #F7F792", -"V# c #F7F791", -"W# c #F8F78F", -"X# c #F6F687", -"Y# c #F6F688", -"Z# c #F3F377", -"`# c #F4F474", -" $ c #F1F472", -".$ c #EEF46D", -"+$ c #DEEB59", -"@$ c #E7F059", -"#$ c #E9F356", -"$$ c #E9F255", -"%$ c #E7F24D", -"&$ c #E6F245", -"*$ c #E4F243", -"=$ c #DFF240", -"-$ c #D7EF36", -";$ c #CCEB2B", -">$ c #CDEE2C", -",$ c #C5ED2A", -"'$ c #BDEB25", -")$ c #ADE71E", -"!$ c #A6E51A", -"~$ c #9AE316", -"{$ c #93E214", -"]$ c #5CC30B", -"^$ c #34BD05", -"/$ c #DDEC59", -"($ c #D6E858", -"_$ c #F5F57C", -":$ c #F5F680", -"<$ c #F5F67E", -"[$ c #F5F67C", -"}$ c #F4F574", -"|$ c #F1F26A", -"1$ c #F2F46F", -"2$ c #EFF468", -"3$ c #BCE24A", -"4$ c #BBDF38", -"5$ c #B9DB30", -"6$ c #C3DF33", -"7$ c #DDED42", -"8$ c #E5F249", -"9$ c #DEF03D", -"0$ c #D5EF35", -"a$ c #CEEE2E", -"b$ c #C1E925", -"c$ c #B9E923", -"d$ c #B1E71E", -"e$ c #ABE619", -"f$ c #A8E517", -"g$ c #94E113", -"h$ c #83DE11", -"i$ c #35AD06", -"j$ c #2FBB04", -"k$ c #CEE249", -"l$ c #CFE54B", -"m$ c #E8F16F", -"n$ c #F5F578", -"o$ c #F4F674", -"p$ c #F1F46D", -"q$ c #F2F268", -"r$ c #F1F366", -"s$ c #EFF462", -"t$ c #DEEF5B", -"u$ c #B3E039", -"v$ c #B4E037", -"w$ c #AEDE31", -"x$ c #A6DB2B", -"y$ c #BBE331", -"z$ c #E3F243", -"A$ c #DFF141", -"B$ c #D9F038", -"C$ c #D9F136", -"D$ c #CDEF2E", -"E$ c #C7EE2A", -"F$ c #BDEB24", -"G$ c #B7EA1D", -"H$ c #A0E316", -"I$ c #96E214", -"J$ c #93E212", -"K$ c #6DD10D", -"L$ c #2CAD04", -"M$ c #2AB303", -"N$ c #CDE746", -"O$ c #CDE74B", -"P$ c #F0F56D", -"Q$ c #F2F46A", -"R$ c #F0F264", -"S$ c #ECF15A", -"T$ c #EFF361", -"U$ c #EDF45A", -"V$ c #EBF45C", -"W$ c #B9E239", -"X$ c #B6E335", -"Y$ c #ADE02E", -"Z$ c #A9E02B", -"`$ c #A4DE28", -" % c #DFF243", -".% c #D7EF35", -"+% c #D5EF31", -"@% c #D4F031", -"#% c #CDEF2C", -"$% c #C7ED28", -"%% c #C6EE27", -"&% c #C1EE23", -"*% c #B6EC1F", -"=% c #A7E818", -"-% c #67CC0E", -";% c #47C208", -">% c #34B906", -",% c #2DBD04", -"'% c #C1E23C", -")% c #C3E53E", -"!% c #D7EB4F", -"~% c #EEF257", -"{% c #ECF057", -"]% c #EAF051", -"^% c #EBF255", -"/% c #EBF452", -"(% c #E9F450", -"_% c #B8E137", -":% c #A3DB2A", -"<% c #A5DF2B", -"[% c #98DA26", -"}% c #8CD621", -"|% c #90D41D", -"1% c #BFE326", -"2% c #D0EE2D", -"3% c #CEEF2E", -"4% c #C8EE28", -"5% c #C1ED26", -"6% c #BCEC22", -"7% c #B9ED20", -"8% c #9FE419", -"9% c #70CD0F", -"0% c #35B906", -"a% c #34C005", -"b% c #30C005", -"c% c #26B503", -"d% c #B7E036", -"e% c #B7E239", -"f% c #E2EF4B", -"g% c #EBF451", -"h% c #E5F14B", -"i% c #E4F04B", -"j% c #E7F451", -"k% c #E6F44B", -"l% c #B6DD2C", -"m% c #ABDC25", -"n% c #B4DF23", -"o% c #A3D61D", -"p% c #96D91D", -"q% c #86D218", -"r% c #B3DE21", -"s% c #CAED2B", -"t% c #C6EC25", -"u% c #BEEB22", -"v% c #BDEC20", -"w% c #B3EA1D", -"x% c #9AE017", -"y% c #46BC07", -"z% c #40C107", -"A% c #35C206", -"B% c #2EBE05", -"C% c #2BBD04", -"D% c #B2E130", -"E% c #B5E334", -"F% c #DFF042", -"G% c #E4F147", -"H% c #E5F348", -"I% c #E2F246", -"J% c #E4F445", -"K% c #DFF33F", -"L% c #E0F33D", -"M% c #DCF238", -"N% c #D8F034", -"O% c #D2EF2E", -"P% c #CBEB29", -"Q% c #D1EF2D", -"R% c #C7ED26", -"S% c #C5EE26", -"T% c #B7EA20", -"U% c #B5EA1D", -"V% c #AEEA1B", -"W% c #85D813", -"X% c #3FC208", -"Y% c #3AC507", -"Z% c #33C005", -"`% c #2BBB04", -" & c #26A903", -".& c #A9E029", -"+& c #A5DF29", -"@& c #A5DE29", -"#& c #D8EE3D", -"$& c #E4F341", -"%& c #E2F340", -"&& c #E0F33C", -"*& c #DDF239", -"=& c #D9F236", -"-& c #D6F133", -";& c #D3F131", -">& c #CEEE2A", -",& c #CEEF28", -"'& c #CBEF29", -")& c #BFEB22", -"!& c #B2EB23", -"~& c #81DD1D", -"{& c #6DCF11", -"]& c #68D10F", -"^& c #4CCB0E", -"/& c #39C407", -"(& c #33C106", -"_& c #2ABB04", -":& c #27B803", -"<& c #97DA23", -"[& c #98DC24", -"}& c #95DC23", -"|& c #93DB25", -"1& c #99DF2A", -"2& c #C6EC31", -"3& c #C6EB2E", -"4& c #ADE026", -"5& c #C1E928", -"6& c #CCEE29", -"7& c #C9ED26", -"8& c #B9EA21", -"9& c #8FD718", -"0& c #4FC30C", -"a& c #4DCB0B", -"b& c #49CB0A", -"c& c #3DC508", -"d& c #3DC808", -"e& c #34C306", -"f& c #2DBC04", -"g& c #2CBF04", -"h& c #88D81D", -"i& c #87D81A", -"j& c #86D81A", -"k& c #7ED518", -"l& c #75D015", -"m& c #71D113", -"n& c #84DB1A", -"o& c #9DE524", -"p& c #7CD316", -"q& c #62CA0E", -"r& c #5AC80B", -"s& c #55C90B", -"t& c #46CA0A", -"u& c #41C708", -"v& c #3DC907", -"w& c #36C406", -"x& c #30C205", -"y& c #27AA04", -"z& c #75D016", -"A& c #79D516", -"B& c #73D515", -"C& c #6AD113", -"D& c #6CD413", -"E& c #65D211", -"F& c #5BCD0F", -"G& c #56CD0E", -"H& c #58D10E", -"I& c #50CC0C", -"J& c #48C809", -"K& c #40C708", -"L& c #3FC607", -"M& c #40C907", -"N& c #38C706", -"O& c #32C105", -"P& c #57BE0F", -"Q& c #61D111", -"R& c #66D411", -"S& c #62D20F", -"T& c #57CD0D", -"U& c #57D00C", -"V& c #4DCC0C", -"W& c #4BCD0A", -"X& c #40C608", -"Y& c #3DC807", -"Z& c #30B505", -"`& c #4BBC0B", -" * c #4CC20A", -".* c #48BF0A", -"+* c #45C109", -"@* c #38B507", -"#* c #31B506", -" . + @ # $ % ", -" & * = - ; > , ' ) ! ~ { ", -" ] ^ / ( _ : < [ } | 1 2 3 4 5 6 ", -" 7 8 9 0 a b c d e f g h i j k l m n ", -" o p q r s t a u v w x y z A B C D E F G H I ", -" J K L o M N O P u Q R S T U V W X Y Z ` ...+.@. ", -" #.K J $.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<. ", -" #.#.J [.}.%.&.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h. ", -" i.#.K [.j.}.%.k.l.1.m.n.o.p.q.r.s.t.u.v.E w.x.y.z.A.B.C. ", -" #.K D.E.}.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.D T.U.V.W.X.Y.Z.`. ", -" +.+.+++&.F.@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+ ", -" }+|+1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+9.f+g+h+i+j+k+l+m+n+o+p+q+ ", -" r+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+].J+K+L+M+N+O+P+Q+R+S+ ", -"T+U+V+V+W+X+Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@", -"_@:@<@[@[@}@|@1@2@3@4@5@6@7@8@9@W 0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@", -"o@p@q@r@s@t@u@v@w@4@x@y@b+z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@", -"S@T@U@V@W@X@Y@Z@`@ #.#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#", -"_#:#<#[#}#|#1#2#3#4#5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#O@l#m#n#o#", -"p#q#r#5@s#t#u#b+v#w#x#y#z#A#B#C#D#E#F#G#H#I#'#J#K#L#M#N#O#P#Q#R#", -" S#T#U#V#W#X#Y#Z#`# $.$+$@$#$$$%$&$*$=$-$;$>$,$'$)$!$~${$]$^$ ", -" /$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$G#9$k+0$a$b$c$d$e$f$g$h$i$j$ ", -" k$l$m$n$o$p$q$r$s$t$u$v$w$x$y$z$A$B$C$'#D$E$F$G$H$I$J$K$L$M$ ", -" N$O$P$Q$R$S$T$U$V$W$X$Y$Z$`$ %.%+%@%#%$%%%&%*%=%-%;%>%,% ", -" '%)%!%~%{%]%^%/%(%_%:%<%[%}%|%1%2%3%4%5%6%7%8%9%0%a%b%c% ", -" d%e%f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%B%C% ", -" D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W%X%Y%Z%`% & ", -" .&+&@&#&$&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:& ", -" <&[&}&|&1&2&3&4&5&6&7&{@8&9&0&a&b&c&d&e&f&g& ", -" h&i&j&k&l&m&n&o&p&q&r&s&a&t&u&v&w&x&y& ", -" z&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O& ", -" P&Q&R&S&T&U&V&W&X&Y&v&Z& ", -" `& *.*+*@*#* "}; diff --git a/docs/FAQ.txt b/docs/FAQ.txt index db3eb491..b52c0f17 100644 --- a/docs/FAQ.txt +++ b/docs/FAQ.txt @@ -7,10 +7,10 @@ Q: How to get help? A: The fastest way is to come on our IRC channel. There you can find a lot of nice people that will help you until you solve your problem. Server: - irc.freenode.net Channel: #themanaexperiment. + irc.freenode.net Channel: #aethyra. If you don't like IRC just come to our forums: - http://tme.onlinegamecore.com/forums. Ok, do you think forums are evil? - Don't worry, send me an e-mail at elvenprogrammer@gmail.com and you're done. + http://forums.aethyra.com/ . Ok, do you think forums are evil? + Don't worry, send me an e-mail at blame582@gmail.com and you're done. That's not enough? No, I won't give you my phone number! ;P GAME @@ -21,7 +21,7 @@ A: First of all check that your username is at least 4 characters long. Is the first time you login? Have you registered an account? If not use the "Register" button in game. If you already succesfully connected before, but now you're getting this message, please send an e-mail to - elvenprogrammer@gmail.com. + blame582@gmail.com. Q: I always get "Wrong password" but I'm sure I typed it right, why? @@ -52,13 +52,15 @@ A: It's a system where is stored the latest development version. It's not is updated quite frequently). If you want to check it out, read this guide http://themanaworld.org/svn-tutorial.txt +(We need our own svn tut -- kraant) + DEVELOPMENT Q: When will the next version be released? A: We have scheduled releases. Usually a new release is available every month. - Check http://wiki.themanaworld.org/index.php/Roadmap for further infos. + Check http://www.aethyra.com/ for further info. Q: How can I contribute? @@ -67,11 +69,11 @@ A: There are a lot of ways: - If you're a programmer, an artist or just willing to help in any way, you can become part of the development team. Send an e-mail to - elvenprogrammer@gmail.com explaining what you want to do, or join our irc - channel: #themanaexperiment @ irc.freenode.net. + blame582@gmail.com explaining what you want to do, or join our irc + channel: #aethyra @ irc.freenode.net. - - You can be a beta tester. Just play with The Mana Experiment and report + - You can be a beta tester. Just play with Aethyra and report every error on the forum. - - Play with The Mana Experiment: more players, more fun! Simple as that! ;-) + - Play with Aethyra: more players, more fun! Simple as that! ;-) diff --git a/docs/HACKING.txt b/docs/HACKING.txt index fdec32a6..85ad0d8c 100644 --- a/docs/HACKING.txt +++ b/docs/HACKING.txt @@ -1,5 +1,5 @@ --------------------------------- -The Mana Experiment Hacking Guide +Aethyra Hacking Guide --------------------------------- With multiple coders working on the same source files, there needs to be a diff --git a/docs/INSTALL/debian.txt b/docs/INSTALL/debian.txt index 59e2376e..e9cf3183 100644 --- a/docs/INSTALL/debian.txt +++ b/docs/INSTALL/debian.txt @@ -1,31 +1,43 @@ -How to install TME on my GNU/Debian Box +How to install Aethyra on my GNU/Debian Box ================================================== Author: FERREIRA Yohann (Bertram) Email: Bertram@cegetel.net -The Mana Experiment project +With slight edits by Daniel Thomas (kraant@gmail.com) +to for Aethyra... + +WARNING! These instructions are probably outdated! + +Check the forums (http://forums.aethyra.com/) where better help can be found. + +Aethyra project ====================== -Homepage: http://209.168.213.109/ -IRC: irc.freenode.net / #themanaexperiment +Homepage: http://www.aethyra.com/ +IRC: irc.freenode.net / #aethyra -1) Installing The Mana Experiment and dependencies +1) Installing Aethyra and dependencies 2) Creating a Debian Package using DebHelper Tools 3) Notes -1. Installing The Mana Experiment and Dependencies +1. Installing Aethyra and Dependencies ============================================= -The Mana Experiment Debian Package can be installed under the Debian Testing and +Aethyra Debian Package can be installed under the Debian Testing and Unstable (Sarge/Sid). In order to have Mana Experiment working, you'll need packages for SDL, SDL_mixer, SDL_image, libxml2, libphysfs and libguichan0. To install the dependencies, you can do type (as root): - apt-get install libsdl-mixer1.2 libsdl-image1.2 libxml2 libphysfs-1.0-0 libguichan0 + apt-get install libsdl-mixer1.2 libsdl-image1.2 libxml2 libphysfs-1.0-0 -Type tmw as a normal user to play! (Enjoy!) +(You'll need to compile libguichan from source since we've moved to 8.1 +and there is no package for this as of yet. This could create +problems, any debian users trying this out and giving us fixes +would be much appreciated -- kraant) + +Type aethyra as a normal user to play! (Enjoy!) 2. Creating a Debian Package using DebHelper Tools ================================================== @@ -41,9 +53,9 @@ And the debhelper tools: Download tmw from Subversion using the command (You'll need Subversion installed on your system): - svn svn://209.168.213.109 tme + svn co svn://209.168.213.109/client/trunk aethyra -Rename the tme folder into tme-XXX and open a console in it. +Rename the aethyra folder into aethyra-XXX and open a console in it. You can now type: fakeroot dpkg-buildpackage @@ -53,16 +65,16 @@ file. Install it: - dpkg -i tme_XXXXXX_i386.deb + dpkg -i aethyra_XXXXXX_i386.deb (If you've got a previous one already installed with the same version number, don't forget to remove it with :) - apt-get remove tme + apt-get remove aethyra (Don't worry, you configuration files are not removed...) -And now the final step: type 'tme' as a normal user in a shell and you're in! +And now the final step: type 'aethyra' as a normal user in a shell and you're in! KDE/GNOME menu entries are created in Arcade Games upon installation. @@ -71,6 +83,10 @@ KDE/GNOME menu entries are created in Arcade Games upon installation. A Debian Repository has been created. +(This repository is for The Mana World not Aethyra, volunteers to make a +package would be nice, basically if you follow these instructions +you won't get aethyra as of now -- kraant) + Simply add in your /etc/apt/sources.list file: deb http://bertram.ifrance.com ./ @@ -79,9 +95,11 @@ Simply add in your /etc/apt/sources.list file: Then, as root, do: apt-get update - apt-get install tme + apt-get install aethyra and you're done! -N.B.: The tme-music, libguichan0, and libguichan0-dev packages are also +N.B.: The t_me-music, libguichan0, and libguichan0-dev packages are also provided in this repository. + +(Added '_' to avoid picking this file up in grep, fix this later -- kraant) diff --git a/docs/INSTALL/win32.txt b/docs/INSTALL/win32.txt index 88f47034..3ffd506e 100644 --- a/docs/INSTALL/win32.txt +++ b/docs/INSTALL/win32.txt @@ -1,10 +1,12 @@ -How setup Dev-C++ to compile TME on a Win32 Box +How setup Dev-C++ to compile Aethyra on a Win32 Box =============================================== -The Mana Experiment project +(I think Dev-C++ support is broken as of now -- kraant) + +Aethyra project =========================== -Homepage: http://209.168.213.109 -IRC: irc.freenode.net / #themanaexperiment +Homepage: http://www.aethyra.com +IRC: irc.freenode.net / #aethyra 0. Index @@ -12,7 +14,7 @@ IRC: irc.freenode.net / #themanaexperiment 1. Requirements 2. Installing Dev-C++ 3. Installing the required libraries -4. Compiling The Mana Experiment +4. Compiling Aethyra 1. Requirements @@ -23,7 +25,7 @@ free IDE for Win32 built around GCC. Remember, Win32 was not meant for GCC and stuff so you will probably run into trouble unless you really know what you're doing, so best stick with Dev-C++. -Besides a C++ compiler, TME depends on the following libraries: +Besides a C++ compiler, Aethyra depends on the following libraries: 1) SDL 2) SDL_mixer @@ -95,22 +97,22 @@ Install them all through the Dev-C++ package manager. iconv-1.9.1.win32.zip From each file, copy the headers to your include directory, the libs to - the lib direcotry and the dlls (in bin direcotry) to your tme directory. + the lib direcotry and the dlls (in bin direcotry) to your aethyra directory. **) For PhysFS copy the headers to your include directory, the libs to - the lib directory and the dlls (in bin direcotry) to your tme directory. + the lib directory and the dlls (in bin direcotry) to your aethyra directory. ***) Download developer files and put headers and libs in to include and lib - directories of Dev-Cpp. Download binaries and place the dll inside tme + directories of Dev-Cpp. Download binaries and place the dll inside aethyra folder. ****) Get latest win32 - mingw package and install as usual. -You should now be fully equipped for compiling the latest TME development +You should now be fully equipped for compiling the latest Aethyra development code! -4. Compiling The Mana Experiment +4. Compiling Aethyra ================================ Check out The Mana Experiment from Subversion using either the command line svn @@ -119,12 +121,12 @@ check out the following directory from our repository: svn://209.168.213.109/client/trunk -Open "The Mana Experiment.dev" in Dev-C++. From there on you should be able to -start compilition with Excute -> Compile. A file called tme.exe should appear +Open "Aethyra.dev" in Dev-C++. From there on you should be able to +start compilition with Excute -> Compile. A file called aethyra.exe should appear in the same directory as where you opened the .dev from. Before you can actually run the executable be sure to copy over the following -DLLs from your Dev-Cpp/dll directory to the directory containing tme.exe (or +DLLs from your Dev-Cpp/dll directory to the directory containing aethyra.exe (or alternatively into your c:\windows\system\ for a more universal solution): SDL.dll @@ -143,7 +145,7 @@ And also make sure you have: zlib1.dll Additionally don't forget to copy any updated .dll (when libs are updated, -the dll are usually updated too) to the folder containing tme.exe (or to the +the dll are usually updated too) to the folder containing aethyra.exe (or to the c:\windows\system\). -Have fun hacking The Mana Experiment! +Have fun hacking Aethyra! diff --git a/docs/Makefile.am b/docs/Makefile.am index 4ea96959..8b311f85 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,11 +1,11 @@ -man6_MANS = tme.6 +man6_MANS = aethyra.6 EXTRA_DIST = $(man6_MANS) \ packages.txt \ FAQ.txt \ HACKING.txt \ - SOURCE/tmedox.sh \ - SOURCE/tme.doxcfg \ + SOURCE/aethyradox.sh \ + SOURCE/aethyra.doxcfg \ items.txt \ progression.txt \ INSTALL/debian.txt \ diff --git a/docs/SOURCE/aethyra.doxcfg b/docs/SOURCE/aethyra.doxcfg new file mode 100644 index 00000000..cbc22910 --- /dev/null +++ b/docs/SOURCE/aethyra.doxcfg @@ -0,0 +1,1153 @@ +# Doxyfile 1.3.8 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = Aethyra + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ../docs/SOURCE/ + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of source +# files, where putting all generated files in the same directory would otherwise +# cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, +# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, +# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, +# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, +# Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is used +# as the annotated text. Otherwise, the brief description is used as-is. If left +# blank, the following values are used ("$name" is automatically replaced with the +# name of the entity): "The $name class" "The $name widget" "The $name file" +# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited +# members of a class in the documentation of that class as if those members were +# ordinary class members. Constructors, destructors and assignment operators of +# the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explicit @brief command for a brief description. + +JAVADOC_AUTOBRIEF = YES + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = YES + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = YES + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = YES + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = YES + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp +# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm + +FILE_PATTERNS = + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories +# that are symbolic links (a Unix filesystem feature) are excluded from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = aethyra.chm + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse the +# parser if not removed. + +SKIP_FUNCTION_MACROS = NO + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. Note that this +# option is superseded by the HAVE_DOT option below. This is only a fallback. It is +# recommended to install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = YES + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes that +# lay further from the root node will be omitted. Note that setting this option to +# 1 or 2 may greatly reduce the computation time needed for large code bases. Also +# note that a graph may be further truncated if the graph's image dimensions are +# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). +# If 0 is used for the depth value (the default), the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = YES diff --git a/docs/SOURCE/aethyradox.sh b/docs/SOURCE/aethyradox.sh new file mode 100644 index 00000000..e0f299a8 --- /dev/null +++ b/docs/SOURCE/aethyradox.sh @@ -0,0 +1 @@ +cd ../../src/ && doxygen ../docs/SOURCE/aethyra.doxcfg diff --git a/docs/SOURCE/tme.doxcfg b/docs/SOURCE/tme.doxcfg deleted file mode 100644 index f3f90af9..00000000 --- a/docs/SOURCE/tme.doxcfg +++ /dev/null @@ -1,1153 +0,0 @@ -# Doxyfile 1.3.8 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = The Mana Experiment - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = ../docs/SOURCE/ - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of source -# files, where putting all generated files in the same directory would otherwise -# cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, -# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, -# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, -# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, -# Swedish, and Ukrainian. - -OUTPUT_LANGUAGE = English - -# This tag can be used to specify the encoding used in the generated output. -# The encoding is not always determined by the language that is chosen, -# but also whether or not the output is meant for Windows or non-Windows users. -# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES -# forces the Windows encoding (this is the default for the Windows binary), -# whereas setting the tag to NO uses a Unix-style encoding (the default for -# all platforms other than Windows). - -USE_WINDOWS_ENCODING = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is used -# as the annotated text. Otherwise, the brief description is used as-is. If left -# blank, the following values are used ("$name" is automatically replaced with the -# name of the entity): "The $name class" "The $name widget" "The $name file" -# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = YES - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explicit @brief command for a brief description. - -JAVADOC_AUTOBRIEF = YES - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = YES - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 4 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = YES - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = YES - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = YES - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. If FILTER_PATTERNS is specified, this tag will be -# ignored. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: -# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER -# is applied to all files. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = NO - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = tme.chm - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = NO - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = NO - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = YES - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 1024 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes that -# lay further from the root node will be omitted. Note that setting this option to -# 1 or 2 may greatly reduce the computation time needed for large code bases. Also -# note that a graph may be further truncated if the graph's image dimensions are -# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). -# If 0 is used for the depth value (the default), the graph is not depth-constrained. - -MAX_DOT_GRAPH_DEPTH = 0 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = YES diff --git a/docs/SOURCE/tmedox.sh b/docs/SOURCE/tmedox.sh deleted file mode 100644 index 7ab9ea74..00000000 --- a/docs/SOURCE/tmedox.sh +++ /dev/null @@ -1 +0,0 @@ -cd ../../src/ && doxygen ../docs/SOURCE/tme.doxcfg diff --git a/docs/aethyra.6 b/docs/aethyra.6 new file mode 100644 index 00000000..a130a3a5 --- /dev/null +++ b/docs/aethyra.6 @@ -0,0 +1,97 @@ +.TH "AETHYRA" "6" +.SH "NAME" +aethyra \- aethyra is Aethyra: A fantasy online game +.SH "SYNOPSIS" +\fBaethyra\fR +.SH "DESCRIPTION" +This manual page documents briefly the +\fBaethyra\fR ingame +commands. +\fBaethyra\fR is a great online game based upon the Seiken Densetsu Serie. +It has its own universe, and and its own character management system, which will +give you the opportunity to play in a 2D heroic-fantasy world forever. +.SH "BINARY PARAMETERS" +This program follows the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of the program. +.TP +.B \-u, \-\-skipupdate +Skip the update process. +.TP +.B \-U, \-\-username +Login with this username. +.TP +.B \-P, \-\-password +Login with this password. +.TP +.B \-D, \-\-default +Bypass the login process with default settings. +.TP +.B \-p, \-\-playername +Login with this player. +.TP +.B \-C, \-\-configfile +Configuration file to use +.SH "COMMON KEYS" +.TP +.B Arrow Keys: +Move your character around. +.TP +.B Left Ctrl: +Make your character attack. +.TP +.B Key A: +Target nearest monster. +.TP +.B Key Z: +Get items on the ground or in a chest. +.TP +.B Key S: +Make your character sit. +.TP +.B Alt + 1...9: +Shows an emoticon above your character. +.TP +.B F1: +Displays / Hides in game help. +.TP +.B F2: +Displays / Hides status window. +.TP +.B F3: +Displays / Hides inventory window. +.TP +.B F4: +Displays / Hides equipment window. +.TP +.B F5: +Displays / Hides skills window. +.TP +.B F6: +Displays / Hides map. +.TP +.B F7 +Displays / Hides messages. +.TP +.B F8 +Displays / Hides hot-keys. +.TP +.B F9: +Displays / Hides configuration window. +.TP +.B F10 +Displays / Hides debug window. +.SH "AUTHOR" +This manual page was written by Patrick Matth\[:a]i +for The Mana World project. +With slight alterations by Daniel Thomas\[:a]i , +for Aethyra. +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. diff --git a/docs/packages.txt b/docs/packages.txt index 46c35f51..d5735e28 100644 --- a/docs/packages.txt +++ b/docs/packages.txt @@ -1,5 +1,5 @@ ---------------------------------- -THE MANA EXPERIMENT PACKAGE SYSTEM +AETHYRA PACKAGE SYSTEM ---------------------------------- 1. INTRODUCTION @@ -10,41 +10,46 @@ THE MANA EXPERIMENT PACKAGE SYSTEM 6. LOADING A REQUESTED RESOURCE 7. RESOURCE MANAGEMENT DETAILS +(Note this file is a _little_ outdated in some ways -- kraant) + 1. INTRODUCTION -The Mana Experiment is expected to grow continuously with updates to the game +Aethyra (Was The Mana Experiment, original;y The Mana World) is expected to grow continuously with updates to the game world occurring relatively frequently. More often so than for example new releases of the game client. To make sure players don't have to update their data manually all the time, by for example downloading the latest from the -website, the TME client should be able to automatically obtain new data +website, the Aethyra client should be able to automatically obtain new data packages from the server. Note: To reduce the load on the server (which isn't expected to have huge free uploading resources), the idea is that the server will only send a torrent file to the client and that the file is subsequently downloaded from - several locations that have volunteered to spread TME data files. Ultimately + several locations that have volunteered to spread Aethyra data files. Ultimately a simple option on the client will even allow players to contribute their excess bandwidth to help other players get the updates faster. +(This doesn't seem to have occurred we're still using http all the way +up to now even into Aethyra) + 2. LOCATION OF DATA -There are two locations where TME can look for game data. The install data +There are two locations where Aethyra can look for game data. The install data directory and the data directory in the user's home directory. The latter one doesn't have to be used for Windows users, but is required for dynamic updates for UNIX users, who generally won't have write permissions to the install data directory. So for UNIX the two locations are: - /usr/local/share/tme/data/* + /usr/local/share/aethyra/data/* - ~/.tme/updates/* + ~/.aethyra/updates/* - ~/.tme/customdata + ~/.aethyra/customdata While for Windows all the data will be located at: - C:\Program Files\The Mana Experiment\data\* + C:\Program Files\Aethyra\data\* In the UNIX case it doesn't matter in which order the data directories are examined. @@ -85,7 +90,7 @@ package is irrelevant. An example of the contents is given by: 5. INITIALIZING PACKAGE MANAGEMENT -When TME starts it will scan its data directories for both packages (archives) +When Aethyra starts it will scan its data directories for both packages (archives) and directories. When a directory is found with the same name as a package, the directory is the preferred location to load data from as it is assumed to be more up to date. @@ -129,7 +134,7 @@ The resource management technique is critical to the overall success of the package management system as a whole. Resources are loaded at runtime as they are needed, and unloaded as they become unused. In order to ensure the autonomous functioning of this process reference counting is the agreed upon -technique for managing loaded resources in TME. +technique for managing loaded resources in Aethyra. For those unfamiliar with the practice of reference counting, it involves every resource object having a variable containing the number of references to diff --git a/docs/sounddev.txt b/docs/sounddev.txt index ed2ae71e..1c83157a 100644 --- a/docs/sounddev.txt +++ b/docs/sounddev.txt @@ -1,5 +1,5 @@ ------------------------------------- -THE MANA EXPERIMENT SOUND DEVELOPMENT +AETHYRA SOUND DEVELOPMENT ------------------------------------- 1. INTRODUCTION @@ -9,7 +9,7 @@ THE MANA EXPERIMENT SOUND DEVELOPMENT 1. INTRODUCTION -In The Mana Experiment we plan to have both background music and sound effects +In Aethyra we plan to have both background music and sound effects linked to beings actions. 2. SPECS diff --git a/docs/tme.6 b/docs/tme.6 deleted file mode 100644 index f4fe85cf..00000000 --- a/docs/tme.6 +++ /dev/null @@ -1,97 +0,0 @@ -.TH "TME" "6" -.SH "NAME" -tme \- tme is The Mana Experiment: A fantasy online game -.SH "SYNOPSIS" -\fBtme\fR -.SH "DESCRIPTION" -This manual page documents briefly the -\fBtme\fR ingame -commands. -\fBtme\fR is a great online game based upon the Seiken Densetsu Serie. -It has its own universe, and and its own character management system, which will -give you the opportunity to play in a 2D heroic-fantasy world forever. -.SH "BINARY PARAMETERS" -This program follows the usual GNU command line syntax, with long -options starting with two dashes (`-'). -A summary of options is included below. -.TP -.B \-h, \-\-help -Show summary of options. -.TP -.B \-v, \-\-version -Show version of the program. -.TP -.B \-u, \-\-skipupdate -Skip the update process. -.TP -.B \-U, \-\-username -Login with this username. -.TP -.B \-P, \-\-password -Login with this password. -.TP -.B \-D, \-\-default -Bypass the login process with default settings. -.TP -.B \-p, \-\-playername -Login with this player. -.TP -.B \-C, \-\-configfile -Configuration file to use -.SH "COMMON KEYS" -.TP -.B Arrow Keys: -Move your character around. -.TP -.B Left Ctrl: -Make your character attack. -.TP -.B Key A: -Target nearest monster. -.TP -.B Key Z: -Get items on the ground or in a chest. -.TP -.B Key S: -Make your character sit. -.TP -.B Alt + 1...9: -Shows an emoticon above your character. -.TP -.B F1: -Displays / Hides in game help. -.TP -.B F2: -Displays / Hides status window. -.TP -.B F3: -Displays / Hides inventory window. -.TP -.B F4: -Displays / Hides equipment window. -.TP -.B F5: -Displays / Hides skills window. -.TP -.B F6: -Displays / Hides map. -.TP -.B F7 -Displays / Hides messages. -.TP -.B F8 -Displays / Hides hot-keys. -.TP -.B F9: -Displays / Hides configuration window. -.TP -.B F10 -Displays / Hides debug window. -.SH "AUTHOR" -This manual page was written by Patrick Matth\[:a]i -for The Mana World project. -With slight alterations by Daniel Thomas\[:a]i , -for The Mana Experiment. -Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU General Public License, Version 2 any -later version published by the Free Software Foundation. diff --git a/docs/win32-release.txt b/docs/win32-release.txt index 1c0577df..64590139 100644 --- a/docs/win32-release.txt +++ b/docs/win32-release.txt @@ -1,5 +1,5 @@ ------------------------------------------- -THE MANA EXPERIMENT WIN32 RELEASE CHECKLIST +AETHYRA WIN32 RELEASE CHECKLIST ------------------------------------------- Every Win32 releaser should follow this checklist when creating a new package. @@ -11,7 +11,10 @@ Every Win32 releaser should follow this checklist when creating a new package. * Eventually Legal Copyright - Update README and ChangeLog if not already - Compile OpenGL version (Using -DUSE_OPENGL option) and rename the executable - from tme.exe to tme_opengl.exe + from aethyra.exe to aethyra_opengl.exe + (This isn't actually how it's happening because I'm cross compiling + and therefore flying blind. As it is aethyra.exe is the OpenGL version + and no sdl version is generated -- kraant) - Compile normal version (Do not use special flags as __DEBUG or USE_OPENGL) - Check if the dlls were compressed (SDL.dll, SDL_Image.dll, SDL_Mixer.dll) - Check config.xml for default values: @@ -19,7 +22,7 @@ Every Win32 releaser should follow this checklist when creating a new package.