summaryrefslogtreecommitdiff
path: root/src/being.cpp
AgeCommit message (Collapse)AuthorFilesLines
2005-12-25Fixed glitches caused by fading out the damage display.Bjørn Lindeijer1-0/+3
2005-12-13Enabled monster emotions.Eugenio Favalli1-8/+13
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-2/+2
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-8/+5
2005-10-16Reduce code duplication in the findNode functions and use a functor to do ↵Björn Steinbrink1-26/+23
the search.
2005-10-15A few changes to make the code look nicer. :)Björn Steinbrink1-73/+50
2005-10-13Changed char to signed char for GNU/Linux PPC.Bjørn Lindeijer1-1/+1
2005-10-10Always compile with debug window and hide it on startup. Also added fading outBjørn Lindeijer1-16/+15
effect on damage font (only works in OpenGL).
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-47/+36
2005-10-09Fixed display of [TARGET] and Alt keys for toggling windows.Bjørn Lindeijer1-0/+10
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-75/+270
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-3/+10
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-73/+72
when requesting an invalid inventory item.
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer1-0/+2
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-17Completed transition to use MessageOut.Eugenio Favalli1-2/+4
2005-09-14Made Being::setDamage accept a short instead of a string.Björn Steinbrink1-2/+8
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-11/+6
2005-09-13Simplify remove_node.Björn Steinbrink1-11/+3
2005-09-13Merge createBeing and add_node.Björn Steinbrink1-7/+18
2005-08-14Make the wrapper functions in the Graphics class conditional on OpenGL support.Björn Steinbrink1-1/+2
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-8/+14
2005-08-01Small cleanups in the drawing code, the autoTarget checks and some headers.Björn Steinbrink1-1/+2
2005-07-28Added an action enumeration to th Being class and removed the old #define's.Björn Steinbrink1-2/+2
2005-07-26Added Being::Type enumeration and type-aware findNode(). Fixed font not ↵Björn Steinbrink1-67/+32
being reset after drawing speech. Target marker drawing moved into engine.
2005-07-26- New smilies by ModanungEugenio Favalli1-1/+1
- New skill names - New title song
2005-07-23Restored Being::setDestination, a pointer to the current map is now kept as ↵Björn Steinbrink1-0/+14
a member in Being.
2005-07-23Removed knowledge about the engine and maps from the being class..Björn Steinbrink1-14/+1
2005-07-22Merge between moi1392's branch and headCedric Borgese1-8/+50
2005-07-13- Adding the wonderful new font by Bjorn to speech and player namesEugenio Favalli1-0/+1
- Way to system cursor (now you can choose the original sdl cursor in config)
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-0/+5
2005-07-03Don't start walking dead beings.Bjørn Lindeijer1-1/+1
2005-07-03- Fixed blue, red and yellow damage fonts to work in SDL modeBjørn Lindeijer1-2/+0
- Added two international characters to fixed font, fixed autotarget - Fixed mouse autotarget (now default for left click) - Cleaned up showing of empty right click menus
2005-07-03Minor fixes and cleanupsEugenio Favalli1-2/+2
2005-07-03- Commenting out buddy and new skills windowsEugenio Favalli1-1/+3
- Some code cleaning - Workaround for colored text not being displayed in SDL mode (disabled)
2005-07-03Trying to place damage text in a better positionEugenio Favalli1-3/+14
2005-07-03Correcting a little mistakeJosé Ávila1-4/+0
2005-07-03Adding colors to hit pointsJosé Ávila1-1/+24
2005-06-22Detect ghosts at creation time.Bjørn Lindeijer1-1/+1
2005-06-14Added background to minimap. Only used in Tonori Desert map for now, and itsBjørn Lindeijer1-1/+7
style is up for discussion.
2005-06-05- Fixes for short swordEugenio Favalli1-2/+1
- New NPC - Fix for npc ids
2005-05-27autoTarget is now a Being*, also may have fixed related crash and added labelBjørn Lindeijer1-7/+17
to show current target.
2005-05-22An attemp on auto attack, not bug free for sureEugenio Favalli1-0/+3
2005-05-16Added new barber by Neko-mon and moved being logic into Being class.Bjørn Lindeijer1-7/+43
2005-05-15better monsterset managementEugenio Favalli1-1/+2
2005-05-14Hide mouse when the application doesn't have mouse focus.Bjørn Lindeijer1-6/+0
2005-05-08Added new hair style by Frode Lindeijer.Bjørn Lindeijer1-1/+1
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-2/+2
2005-05-01Fixed width of item lists in shops and fixed hitting dead monsters.Bjørn Lindeijer1-5/+5
2005-04-30Some fixes to player control, also attempting to solve long walk path problem.Bjørn Lindeijer1-10/+20