2005-08-13 Björn Steinbrink * src/Makefile.am, src/being.cpp, src/being.h, src/configlistener.cpp, src/configlistener.h, src/configuration.cpp, src/configuration.h, src/engine.cpp, src/engine.h, src/equipment.cpp, src/equipment.h, src/game.cpp, src/game.h, src/graphics.cpp, src/graphics.h, src/guichanfwd.h, src/inventory.cpp, src/inventory.h, src/item.h, src/log.cpp, src/log.h, src/main.cpp, src/main.h, src/map.cpp, src/map.h, src/playerinfo.h, src/sound.cpp, src/sound.h, src/graphic/imagerect.h, src/graphic/spriteset.cpp, src/graphic/spriteset.h, src/gui/box.h, src/gui/browserbox.cpp, src/gui/browserbox.h, src/gui/buddywindow.h, src/gui/button.cpp, src/gui/button.h, src/gui/buy.cpp, src/gui/buy.h, src/gui/buysell.h, src/gui/char_select.cpp, src/gui/char_select.h, src/gui/char_server.cpp, src/gui/char_server.h, src/gui/chargedialog.cpp, src/gui/chargedialog.h, src/gui/chat.cpp, src/gui/chat.h, src/gui/chatinput.cpp, src/gui/checkbox.cpp, src/gui/checkbox.h, src/gui/confirm_dialog.cpp, src/gui/confirm_dialog.h, src/gui/equipmentwindow.cpp, src/gui/equipmentwindow.h, src/gui/focushandler.h, src/gui/gui.cpp, src/gui/gui.h, src/gui/help.cpp, src/gui/help.h, src/gui/inttextbox.cpp, src/gui/inttextbox.h, src/gui/inventorywindow.cpp, src/gui/inventorywindow.h, src/gui/item_amount.cpp, src/gui/item_amount.h, src/gui/itemcontainer.cpp, src/gui/itemcontainer.h, src/gui/listbox.cpp, src/gui/listbox.h, src/gui/login.cpp, src/gui/login.h, src/gui/minimap.cpp, src/gui/minimap.h, src/gui/newskill.cpp, src/gui/newskill.h, src/gui/npc.h, src/gui/npc_text.h, src/gui/ok_dialog.cpp, src/gui/ok_dialog.h, src/gui/passwordfield.h, src/gui/playerbox.cpp, src/gui/playerbox.h, src/gui/popupmenu.cpp, src/gui/popupmenu.h, src/gui/progressbar.cpp, src/gui/progressbar.h, src/gui/radiobutton.cpp, src/gui/radiobutton.h, src/gui/requesttrade.cpp, src/gui/requesttrade.h, src/gui/scrollarea.cpp, src/gui/scrollarea.h, src/gui/sell.cpp, src/gui/sell.h, src/gui/setup.cpp, src/gui/setup.h, src/gui/skill.h, src/gui/slider.cpp, src/gui/slider.h, src/gui/stats.cpp, src/gui/stats.h, src/gui/status.cpp, src/gui/status.h, src/gui/textbox.cpp, src/gui/textbox.h, src/gui/textfield.cpp, src/gui/textfield.h, src/gui/trade.cpp, src/gui/trade.h, src/gui/updatewindow.cpp, src/gui/updatewindow.h, src/gui/window.cpp, src/gui/window.h, src/gui/windowcontainer.h, src/net/protocol.cpp, src/net/protocol.h, src/resources/buddylist.hm src/resources/image.cpp, src/resources/image.h, src/resources/itemmanager.cpp, src/resources/itemmanager.h, src/resources/mapreader.cpp, src/resources/mapreader.h, src/resources/music.h, src/resources/resource.cpp, src/resources/resourcemanager.cpp, src/resources/resourcemanager.h, src/resources/soundeffect.h: Huge header cleanup, removing nearly all #include's from headers to reduce dependencies and compile time. * src/engine.cpp, src/gui/char_select.cpp, src/gui/inventorywindow.cpp, src/gui/skill.cpp, src/gui/skill.h, src/gui/stats.cpp, src/gui/status.cpp: Another small header cleanup, should also solve compilation problems on windows. 2005-08-13 Eugenio Favalli * src/gui/status.h, src/gui/status.cpp: Reformatted status window layout to avoid overlapping and lowered saturation of bars' colors. * src/gui/status.cpp: Removed smooth color changing from xp bar which was causing problems and doesn't act as the job xp bar. * The Mana World.dev, src/game.cpp, src/playerinfo.h, src/net/protocol.cpp, src/resources/itemmanager.cpp, src/gui/inventorywindow.cpp: Updated dev-cpp project file, removed unnecessary header, fixed some include paths. 2005-08-12 Eugenio Favalli * src/buy.cpp, src/sell.cpp: Resetting quantity to 0 after selecting other items in buy/sell dialogs. 2005-08-11 Andrej Sinicyn * src/resources/image.cpp: Little cleanup and simplification. 2005-08-10 Björn Steinbrink * src/engine.cpp, src/graphics.cpp, src/graphics.h, src/gui/browserbox.cpp, src/gui/gui.cpp, src/gui/listbox.cpp, src/gui/minimap.cpp, src/gui/progressbar.cpp, src/gui/scrollarea.cpp: Moved knowledge about whether we use OpenGL into the Graphics class (as much as possible) * src/game.cpp: Added helper function for being creation to reduce code duplication. Some code simplifications. 2005-08-09 Björn Steinbrink * src/engine.cpp: Adjust drawing offset to have the player centered in higher resolutions as well. 2005-08-04 Björn Steinbrink * src/main.cpp: Use "true" instead of "1" as bool argument. * src/resources/resourcemanager.cpp, src/resources/resourcemanager.h: Added a method to determine the real path of a file in the PhysFS search path. * src/gui/browserbox.cpp: Make use of then new resource manager method to determine the real path of a file. * src/gui/gui.cpp: Dynamically determine the path to graphic files instead of using the try-catch fallback method. 2005-08-03 Andrej Sinicyn * src/game.cpp, src/game.h, src/gui/requesttrade.cpp,src/gui/requesttrade.h: Moved my invented variable, since it makes more sense. * src/game.cpp, src/game.h, src/gui/requesttrade.cpp: Fix my previous fix because it broke my own code. 2005-08-03 Björn Steinbrink * src/main.cpp: Use PhysFS to determine user's home directory on unix system. Removed an now unused header. * src/game.cpp: Commented a switch case label that was left uncommented though the rest was commented. * src/resources/buddylist.cpp, src/main.h: Removed unneeded header from main.h, added it to buddylist.cpp. * src/engine.cpp: Converted two global variables to function-local ones. 2005-08-02 Andrej Sinicyn * src/game.cpp: Fixed "Trade canceled" happening often. 2005-08-02 Björn Steinbrink * src/engine.cpp: Cleanups in the drawing code. * src/engine.cpp, src/game.cpp: Made autoTarget checks being handled at a single location. * src/being.cpp, src/being.h, src/engine.h: Small header cleanups. * src/graphics.cpp, src/graphics.h, src/main.cpp, src/main.h, src/gui/setup.cpp: Moved graphics setup code into the graphics class. 2005-08-02 Marcel W. Wysocki * tmw/src/gui/status.cpp: making setup dialog quitting when clicking on setup button while dialog is opened 2005-08-01 Björn Steinbrink * src/inventory.cpp, src/inventory.h, src/gui/itemcontainer.cpp, src/gui/itemcontainer.h: Added a logic function to dynamically adjust the size of the itemcontainer. * src/game.cpp: Fixed autoTarget not being set to NULL on map change. 2005-07-31 Andrej Sinicyn * src/game.cpp, src/game.h, src/gui/popupmenu.cpp: Show the name of the trade partner in the trade dialog. 2005-07-31 Björn Steinbrink * src/gui/listbox.cpp: Small cleanup of the drawing code. * src/engine.cpp: Added a check to stop scrolling when we hit the map border. 2005-07-31 Andrej Sinicyn * src/game.cpp: Don't allow more than one trade dialog or requesting it at once; if a trade is canceled on the other side, close the trade window. 2005-07-30 Andrej Sinicyn * src/main.cpp: Removed unnecessary value assignment to a variable. 2005-07-30 Björn Steinbrink * src/main.cpp, src/resources/resourcemanager.h, src/resources/resourcemanager.cpp: Fixed buggy check for the existence of the updates directory. Extended the resource manager with some physfs functions and moved the actual setup process from the resource manager constructor into the main initialization. 2005-07-29 Björn Steinbrink * src/game.cpp: Fixed popup window not always being correctly hidden when the player clicks somewhere else. 2005-07-28 Björn Steinbrink * src/main.cpp, src/gui/update.cpp, src/resources/resourcemanager.cpp, src/resources/resourcemanager.h: Added support for files downloaded through the update manager to the resource manager. Changed directory name for updates from "data" to "updates". * src/game.cpp, src/gui/inventorywindow.cpp, src/gui/popupmenu.cpp, src/gui/popupmenu.h: Cleaned up the showPopup() code, moved "map"-related code into game.cpp, made the popup show up at mouse coordinates instead of being aligned to tiles. * src/being.cpp, src/being.h, src/engine.cpp, src/game.cpp, src/game.h, src/gui/gui.cpp, src/net/protocol.cpp: Added an action enumeration to the Being class and removed the old #define's. * src/resources/resourcemanager.cpp: Fixed a location where a wrong dir-separator was used. * src/main.cpp: Fixed updates directory not being created on non-unix systems. Started using PhysFS write support. 2005-07-27 Bjørn Lindeijer * src/engine.cpp, src/game.cpp, src/graphics.cpp, src/graphics.h, src/main.cpp, src/gui/browserbox.cpp, src/gui/button.cpp, src/gui/gui.cpp, src/gui/listbox.cpp, src/gui/minimap.cpp, src/gui/playerbox.cpp, src/gui/progressbar.cpp, src/gui/scrollarea.cpp, src/gui/textfield.cpp, src/gui/window.cpp, src/resources/image.cpp, src/resources/image.h, src/resources/mapreader.h: Merged OpenGL/SDL merge patch by Andrej Sinicyn, and his followup patch for fixing SDL-only build. 2005-07-27 Björn Steinbrink * src/gui/gui.cpp, src/gui/gui.h: Removed continous mouse movement, that implementation wasn't suitable for a release. 2005-07-26 Björn Steinbrink * src/being.cpp, src/being.h, src/engine.cpp, src/game.cpp, src/gui/minimap.cpp, src/gui/popupmenu.cpp, src/net/protocol.cpp: Introduced a Being::Type enumeration. Added type-aware findNode() function. * src/being.cpp: Set font back to gui font after drawing speech. Draw auto-target marker in engine instead of being. * src/gui/popupmenu.cpp: Fixed empty popup window being shown when user right clicks on an empty tile while the popup is visible. 2005-07-26 Eugenio Favalli * The Mana World.dev: Updated release infos. * data/graphics/sprites/emotions.png: Added Modanung's smilies. * src/being.cpp, src/engine.cpp: Fixed text and smilies position. * src/game.cpp: Cleanups. * src/gui/skill.cpp: Added new skill names. * src/main.cpp: Moved sound playback to update screen and changed song. 2005-07-24 Björn Steinbrink * src/game.cpp: Made the key-event handler use switches instead of if-else. * src/gui/gui.cpp, src/gui/gui.h: Allow continous movement when holding down the left mouse button. 2005-07-23 Björn Steinbrink * src/being.h, src/being.cpp: Added a member to keep the current map, restored setDestination. * src/game.cpp, src/gui/gui.cpp: Change calls to Being::setPath() to Being::setDestination(). * src/map.h: Add a forward declaration for struct PATH_NODE. 2005-07-23 Bjørn Lindeijer * NEWS: Moved project news here. * ChangeLog: Started standard ChangeLog file here. * docs/HACKING.txt: Added info about member naming and ChangeLog format. * src/gui/updatewindow.h, src/gui/updatewindow.cpp: Changed member names, set a 15 second timeout for connecting to update server and restore some doxygen comments, improved size adaption and made the window a shorter. * data/graphics/images/login_wallpaper.png: New login wallpaper by Momotaro.