summaryrefslogtreecommitdiff
path: root/src/being.h
AgeCommit message (Collapse)AuthorFilesLines
2007-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-2/+2
2007-02-20Now different sounds can play when a monster misses the player.Bjørn Lindeijer1-5/+14
2007-02-02Made Engine class even more useless by moving emoticon loading into Being.Bjørn Lindeijer1-1/+10
2006-12-14Removed the rather useless remaining draw function from the engine class andBjørn Lindeijer1-1/+0
fixed an issue with fading out damage texts (they were sometimes fully opaque at the end of fading out).
2006-12-09Use new animation system in character selection/creation. Shows equipment andBjørn Lindeijer1-1/+1
allowed for some cleanup. Had a bit of help from the patch by VictorSan.
2006-12-01Monster sound effect patchPhilipp Sehmisch1-9/+8
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer1-1/+6
variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites.
2006-11-26Equipment database namespace and support for gender specific equipment spritesPhilipp Sehmisch1-2/+2
2006-11-19Separated sprite definition from playback.Bjørn Lindeijer1-1/+1
2006-11-04added scythe as a permanent weapon. Philipp Sehmisch1-1/+1
When you want to test it: either spawn an item with the id 623 or uncomment the lines 439-441 in being.cpp to use the sharp knive as scythe.
2006-08-02Some cleanups, fixes and a small start on a solution for the animated spriteBjørn Lindeijer1-0/+7
synchronization problem (resetting all animations).
2006-07-28Moved AnimatedSprite into its own files, removed useless includes.Björn Steinbrink1-1/+1
2006-07-26Fixed direction and action issues when changing appeareance, frames are ↵Eugenio Favalli1-1/+1
still out of sync.
2006-07-24Fixed the loading of updates and made skipping the update process also skip thev0.0.20Bjørn Lindeijer1-1/+0
loading of updates.
2006-07-24Removed unused code, fixed "change direction when not walking" bug, updated ↵Eugenio Favalli1-6/+0
project files.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-1/+1
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-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-13/+49
2006-06-29Clients get notified of equipping visible items.Eugenio Favalli1-0/+1
2006-06-21Added female players.Eugenio Favalli1-0/+13
2006-05-13Specify the color in which speech and names are supposed to be drawn. RemovedBjørn Lindeijer1-1/+0
unused mSpeechColor member.
2006-05-12You can now see the shirt when equipping a top equipment.Eugenio Favalli1-0/+4
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-17/+17
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-9/+9
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-3/+5
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-2/+8
2006-02-07Made the being directions being stored in a bitfield.Björn Steinbrink1-11/+7
2006-02-06Unify some of the drawing code for beings.Björn Steinbrink1-2/+6
2006-02-06Use virtual methods instead of getType() checks.Björn Steinbrink1-2/+2
2006-02-05Made the nickname and emotions displayed above every layers. Made the delete ↵Yohann Ferreira1-1/+13
and ok buttons be disabled once the character is selected at login.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-41/+7
2005-10-10Always compile with debug window and hide it on startup. Also added fading outBjørn Lindeijer1-5/+9
effect on damage font (only works in OpenGL).
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-28/+34
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-43/+106
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-06Transition to SDL integer types. Some int vs. long issues fixed. Return NULL ↵Björn Steinbrink1-42/+34
when requesting an invalid inventory item.
2005-09-14Made Being::setDamage accept a short instead of a string.Björn Steinbrink1-1/+1
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-3/+10
2005-09-13Simplify remove_node.Björn Steinbrink1-1/+1
2005-09-13Merge createBeing and add_node.Björn Steinbrink1-3/+3
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-3/+13
2005-08-01Small cleanups in the drawing code, the autoTarget checks and some headers.Björn Steinbrink1-0/+1
2005-07-28Added an action enumeration to th Being class and removed the old #define's.Björn Steinbrink1-0/+11
2005-07-26Added Being::Type enumeration and type-aware findNode(). Fixed font not ↵Björn Steinbrink1-12/+12
being reset after drawing speech. Target marker drawing moved into engine.
2005-07-23Restored Being::setDestination, a pointer to the current map is now kept as ↵Björn Steinbrink1-2/+16
a member in Being.
2005-07-23Removed knowledge about the engine and maps from the being class..Björn Steinbrink1-8/+2
2005-07-22Merge between moi1392's branch and headCedric Borgese1-2/+36
2005-06-22Detect ghosts at creation time.Bjørn Lindeijer1-9/+8
2005-05-16Added new barber by Neko-mon and moved being logic into Being class.Bjørn Lindeijer1-5/+10
2005-05-08Added new hair style by Frode Lindeijer.Bjørn Lindeijer1-0/+3
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-15/+21
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-22Now you can attack with right mouse button, useful when using bow, need ↵Eugenio Favalli1-5/+23
improvements though