summaryrefslogtreecommitdiff
path: root/src/game.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-01-22Make dispatchMessages actually handle more than one message per call.Björn Steinbrink1-3/+1
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-1307/+137
2006-01-09Fixed canceled/cancelled inconsistency.Eugenio Favalli1-3/+3
2006-01-07Removed --skipupdate option from Dev.Cpp project file, splitted the setup ↵Eugenio Favalli1-9/+10
window into 3 tabs and added a joystick calibration tool.
2006-01-05Remove some useless code.Björn Steinbrink1-8/+3
2006-01-04FreeBSD Fixes from Icy.Yohann Ferreira1-1/+1
2006-01-03Enabled some /commands.Eugenio Favalli1-1/+10
2006-01-03Really disabled /commands and added proper message when logging in and banned.Eugenio Favalli1-24/+24
2005-12-29Removed duplicate pick up codeBjörn Steinbrink1-13/+4
2005-12-29Added popup support to the Gui class. Moved all mouse input handling into ↵Björn Steinbrink1-135/+0
the Gui class.
2005-12-15Fixed setup window behaviour.Eugenio Favalli1-8/+1
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-238/+238
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-1/+2
2005-10-16The connection should be non-blocking now and fixed the problem with sound ↵Eugenio Favalli1-1/+1
not being played at startup.
2005-10-13Make sure Alt shortcuts don't appear in chatbox.Bjørn Lindeijer1-0/+3
2005-10-10Introduced new window shortcuts and corrected position of job xp bar. AlsoBjørn Lindeijer1-78/+49
corrected strange commit by ElvenProgrammer.
2005-10-10Always compile with debug window and hide it on startup. Also added fading outBjørn Lindeijer1-17/+6
effect on damage font (only works in OpenGL).
2005-10-09Corrected the white browser font bug and the black hp/mp bug which were ↵Yohann Ferreira1-3/+24
linked. Added a debug window.
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-4/+3
2005-10-09Fixed display of [TARGET] and Alt keys for toggling windows.Bjørn Lindeijer1-3/+2
2005-10-09Fixed map switch to crash the client.Bjørn Lindeijer1-18/+5
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-47/+43
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-10-07Modified finding NPC as by timonator's suggestion in order to allow NPCs to beBjørn Lindeijer1-1/+1
clicked on their heads too. Also made start to tile engine improvement by adding the Sprite class that is now used by the floor items for being displayed on the map. Finally added documentation to Item class and splitted out Properties class from Map.
2005-10-06Transition to SDL integer types. Some int vs. long issues fixed. Return NULL ↵Björn Steinbrink1-234/+234
when requesting an invalid inventory item.
2005-10-04Move to top the requested windows. Also corrected the default win pos for ↵Yohann Ferreira1-0/+9
inventory and equipment.
2005-10-02Allow to select a monster as target with RSHIFT+CRTLMatthias Hartmann1-1/+1
2005-09-30Change an hardcoded type to a templated type to avoid architecture problems.Cedric Borgese1-1/+1
2005-09-30Avoid a warning on x86_64 arch because std::string:npos is a long and it ↵Cedric Borgese1-1/+1
differs from int on that arch.
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira1-19/+0
the default win position. And moved the setposition from game to each win, to clarify the code.
2005-09-28Save and load X, Y, Height, and Width to useful wins.Yohann Ferreira1-2/+12
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli1-4/+4
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer1-0/+3
2005-09-20Fixed use of Enter for closing death and weight notices, and changed glColor4fBjørn Lindeijer1-16/+9
to glColor4ub.
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-106/+78
* Replaced custom function FIND_PATH with AC_PATH_PROG, used for finding sdl-config. * Removed -lphysfs from Makefile.am which should be added automatically already. * Actually show the overweight message, and only show it once for each time weight goes above half the max weight. * Surfaces passed to SDL_BlitSurface shouldn't be locked according to the manual. * Minimal fps limit is now 10 fps. * Reverted change by Bertram that hardcoded the updatehost value.
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-18/+7
2005-09-19Removed useless flush() calls.Eugenio Favalli1-1/+0
2005-09-18Increased joypad tolerance which is safer and simplifyed joypad state reset ↵Eugenio Favalli1-7/+5
code.
2005-09-18 Applyed biggeruniverse's patch to fix memory leaks.Eugenio Favalli1-4/+8
2005-09-182005-09-18 Duane Bailey <nayryeliab@gmail.com>Duane Bailey1-1/+23
* src/game.cpp: added code so that wehn someone starts carrying more then half thier max weight.
2005-09-18Move the writing logic out of the Graphics class once again... Some cleanups ↵Björn Steinbrink1-2/+36
in the screenshot filename selection code.
2005-09-18Removed unuseful comments. Made the saveScreenshots() function return a ↵Yohann Ferreira1-1/+0
correct value.
2005-09-18Made the saveScreenShot makes its screenshots under user home dir in *nices, ↵Yohann Ferreira1-8/+3
made it more C++ way to avoid a leak, and made it check for existence of a file with same name before writing; In that case the screenshot's number is incremented until it finds an adequate name.
2005-09-18Changed Graphics::saveScreenshot to Graphics::getScreenshot. Now using the ↵Björn Steinbrink1-3/+8
ImageWriter to save that screenshot.
2005-09-172005-09-17 Duane Bailey <nayryeliab@gmail.com>Duane Bailey1-1/+9
* src/net/messagin.cpp, src/net/messageout.cpp, src/net/network.cpp: removed replaced MACOSX defines with big endian defines * src/graphics.cpp, src/graphics.h: added screenshot method * src/game.cpp: added code, so that when one presses 'alt-p' (for picture), it takes a screenshot and saves it to a png * src/Makefile.am, config.ac: added png library stuff
2005-09-17Added PVPMatthias Hartmann1-5/+7
2005-09-17Indent properly.Bjørn Lindeijer1-9/+10
2005-09-17I already know my own name...and i dont want to trade with myself.Matthias Hartmann1-0/+2
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-22/+31
2005-09-17Now derived stats are updated on equip/unequip. The status win is also ↵Yohann Ferreira1-0/+18
resizable.
2005-09-17Now the values shown by derived stats in status win are got from the server. ↵Yohann Ferreira1-22/+22
Still, when Equipping/unequipping, you have to warp to get these values updated. Does somebody has an idea how to request an update of these values when equipping/unequipping ?