summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer58-958/+985
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 Lindeijer16-194/+425
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 Steinbrink4-349/+345
when requesting an invalid inventory item.
2005-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer10-38/+61
references to resources are reported to be more informative.
2005-10-04Fixed the black font bug in opengl. Only shows the current HP/MP in ↵Yohann Ferreira1-4/+4
ministatus as requested.
2005-10-04Set the white font in the ministatus window only in sdl mode until we have ↵Yohann Ferreira2-2/+8
found a solution in openGL Mode. Disable the openGL Box when compiled without opengl support.
2005-10-04Changed the font in the ministatus win. Fixed some coords bugs when the ↵Yohann Ferreira2-1/+16
stats displayed were high.
2005-10-04Fixed the chat window scrolling bug.Yohann Ferreira1-2/+12
2005-10-04Move to top the requested windows. Also corrected the default win pos for ↵Yohann Ferreira4-2/+16
inventory and equipment.
2005-10-02Allow to select a monster as target with RSHIFT+CRTLMatthias Hartmann1-1/+1
2005-10-02Added check for pthread library (needed for FreeBSD, still needs to be checkedBjørn Lindeijer6-66/+67
on MacOS X) and some cleanups.
2005-09-30Updated NEWS file for next release.Bjørn Lindeijer2-6/+1
2005-09-30Made the inventory Win behave normally when resized by default size functions.Yohann Ferreira4-7/+28
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-30Fixed paths for windows usersMatthias Hartmann5-11/+11
2005-09-29Improved a lot windows reset to default size and pos. Also corrected a few ↵Yohann Ferreira13-63/+84
the default win position. And moved the setposition from game to each win, to clarify the code.
2005-09-29Moved tileset management into the map class and made sure the tilesets areBjørn Lindeijer7-211/+245
cleaned up properly on switching maps.
2005-09-28Added a Reset Win Positions to Default in the Setup win.Yohann Ferreira3-11/+53
2005-09-28Save and load X, Y, Height, and Width to useful wins.Yohann Ferreira10-9/+54
2005-09-28Added window internal name to every window. Useful to later get and save X, ↵Yohann Ferreira10-6/+34
Y, Height, and Width of these wins.
2005-09-28Fix deletion of the gui font because of a missing check.Björn Steinbrink1-1/+3
2005-09-28HP and MP display in the mini status window.Yohann Ferreira2-3/+29
2005-09-28Fixed the scroll bug in the update window.Yohann Ferreira1-11/+25
2005-09-28Added -Werror to CXXFLAGS. Removed unnecessary ambigous inheritance.Björn Steinbrink2-2/+2
2005-09-27Provide a little more info on connection error.Cedric Borgese1-1/+10
2005-09-27Dont crash if there is an unknown error at login.Cedric Borgese4-19/+38
Remove a bug that do x86_64 arch fail to connect to server : long is 8 bytes on that arch, use int for 4 bytes integer.
2005-09-26Updated Debian Files. And corrected a bug let by Elven.Yohann Ferreira1-1/+1
2005-09-26Now error message is displayed properly when the map server is offline.Eugenio Favalli5-10/+17
2005-09-26...and those ones. :/Eugenio Favalli1-2/+2
2005-09-26Oops, I forgot this oneEugenio Favalli1-1/+1
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli3-2/+120
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli10-69/+80
2005-09-24Fix crash on exit after taking screenshot in OpenGL and fix compiler warning.Bjørn Lindeijer1-12/+30
2005-09-24Fix compile error and memory leak as by Nayr's patch. Verified to work on ↵Bjørn Lindeijer1-5/+6
Windows, still needs to be tested by Mac (maybe needs the byte mask stuff) and I would like the code to be verified again, too.
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer24-77/+117
2005-09-23fixed opengl screenshot, made opengl smoother on macosxDuane Bailey1-47/+23
2005-09-23Reverted the latst change that broke the screenshots facility.Eugenio Favalli1-1/+3
2005-09-22fixed minor bug; changed 16 to 32 (*reminds self to test before committing*)Duane Bailey1-1/+1
2005-09-22removed win2mac supportDuane Bailey6-47/+7
2005-09-21Show time of the messages in the chat window.Andrej Sinicyn1-1/+17
2005-09-20Fixed use of Enter for closing death and weight notices, and changed glColor4fBjørn Lindeijer5-44/+37
to glColor4ub.
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer14-157/+110
* 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 Favalli21-76/+12
2005-09-19Removed useless flush() calls.Eugenio Favalli4-12/+2
2005-09-18Increased joypad tolerance which is safer and simplifyed joypad state reset ↵Eugenio Favalli2-8/+6
code.
2005-09-18 Applyed biggeruniverse's patch to fix memory leaks.Eugenio Favalli5-8/+19
2005-09-18Updated dev-cpp project file to last changes, and fixed the bug with npc ↵Eugenio Favalli1-10/+14
lists I introduced earlier.
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 Steinbrink3-53/+37
in the screenshot filename selection code.