summaryrefslogtreecommitdiff
path: root/src/being.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-3/+9
2006-03-18Added a toString conversion function.Björn Steinbrink1-9/+3
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-64/+64
2006-03-09Added Spriteset::get() and Spriteset::size() to hide the member vector and ↵Björn Steinbrink1-2/+2
remove the weird mySpriteset->spriteset stuff.
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-1/+1
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-1/+1
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-30/+5
2006-02-07Made the being directions being stored in a bitfield.Björn Steinbrink1-20/+16
2006-02-06Unify some of the drawing code for beings.Björn Steinbrink1-4/+13
2006-02-06Use virtual methods instead of getType() checks.Björn Steinbrink1-13/+0
2006-02-05Made the nickname and emotions displayed above every layers. Made the delete ↵Yohann Ferreira1-13/+26
and ok buttons be disabled once the character is selected at login.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-264/+14
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