summaryrefslogtreecommitdiff
path: root/src/being.h
AgeCommit message (Collapse)AuthorFilesLines
2007-01-04Merged 0.0 changes from revision 2898 to 2988 to trunk.Bjørn Lindeijer1-1/+0
2007-01-01Third time is the charm; changed sprite direction code again.Guillaume Melquiond1-9/+5
2006-12-31Enumerations do not need out-of-class definitions.Guillaume Melquiond1-4/+1
2006-12-30Back to four cases when computing sprite direction.Guillaume Melquiond1-1/+1
2006-12-29Improved movement smoothness by avoiding useless changes of sprite direction.Guillaume Melquiond1-1/+1
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-11Merged 0.0 changes from revision 2825 to 2898 to trunk.Bjørn Lindeijer1-15/+21
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-05Merged 0.0 changes from revision 2800 to 2825 to trunk.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-09-09Fitted being trajectories to synchronization messages.Guillaume Melquiond1-2/+13
2006-09-02Switched to short IDs for beings.Guillaume Melquiond1-4/+4
2006-08-27Implemented pixel-grained movements.Guillaume Melquiond1-8/+7
2006-08-27Removed Being::mFrame field.Guillaume Melquiond1-1/+0
2006-08-27Changed to pixel-based coordinates for beings.Guillaume Melquiond1-1/+1
2006-08-26Fixed player sprite not showing up.Bjørn Lindeijer1-1/+1
2006-08-26Got rid of numerous additions and substractions to the hair style and color.Bjørn Lindeijer1-1/+1
Hair style 0 was added and defined as being bald (so bald is no longer a hardcoded style).
2006-08-14Completed porting of character creation/deletion, fixed some issues with ↵Eugenio Favalli1-2/+2
network code.
2006-08-13Merged cleanups and content changes from the trunk. Also fixed compiling withBjørn Lindeijer1-2/+9
OpenGL enabled.
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