summaryrefslogtreecommitdiff
path: root/src/being.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-10-29Properly initialize sprite vector.Björn Steinbrink1-2/+2
2006-09-20tweaks at the animation system (mostly about fixing the looping attack ↵Philipp Sehmisch1-10/+15
animations of the monsters)
2006-08-05Some cleanups, mostly lowering indentation levels.Björn Steinbrink1-22/+18
2006-08-05Forgot to commit the ChangeLog as well...Björn Steinbrink1-8/+4
2006-08-02Some cleanups, fixes and a small start on a solution for the animated spriteBjørn Lindeijer1-59/+65
synchronization problem (resetting all animations).
2006-08-01animations and directions are now passed and stored as enums and no longer ↵Philipp Sehmisch1-18/+18
as strings.
2006-07-28Moved AnimatedSprite into its own files, removed useless includes.Björn Steinbrink1-0/+1
2006-07-26Fixed direction and action issues when changing appeareance, frames are ↵Eugenio Favalli1-2/+2
still out of sync.
2006-07-24Fixed setDirection() semantics.Björn Steinbrink1-6/+8
Removed a printf-leftover.
2006-07-24Removed unused code, fixed "change direction when not walking" bug, updated ↵Eugenio Favalli1-15/+0
project files.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-4/+6
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-07-20Fixed left bow attack animation, made the attack animation stay in sync with ↵Eugenio Favalli1-3/+13
attack speed.
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-27/+158
2006-06-29Clients get notified of equipping visible items.Eugenio Favalli1-0/+1
2006-06-27Equipment window now show all the slots, and adapted visible shirts to head ↵Eugenio Favalli1-1/+1
(middle) equipments.
2006-06-21Added female players.Eugenio Favalli1-0/+1
2006-05-13Specify the color in which speech and names are supposed to be drawn. RemovedBjørn Lindeijer1-6/+3
unused mSpeechColor member.
2006-05-12Fixed initialization order in Being ctor.Björn Steinbrink1-2/+2
2006-05-12You can now see the shirt when equipping a top equipment.Eugenio Favalli1-1/+3
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-9/+3
abilities.
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