summaryrefslogtreecommitdiff
path: root/src/being
AgeCommit message (Collapse)AuthorFilesLines
2016-03-16Split ParticleEngine from Particle class.Andrei Karas2-5/+6
2016-03-16Add nonnull attributes to particle classes.Andrei Karas1-1/+1
2016-03-14Split drawSprites in Being/CompoundSprite into drawSprites and ↵Andrei Karas5-57/+60
drawPlayerSprites.
2016-03-13Split CompoundSprite::draw into draw and drawSimple.Andrei Karas3-6/+38
2016-03-13Add separate functions for draw monsters.Andrei Karas2-2/+35
2016-03-13Add separate functions for draw portals.Andrei Karas2-27/+58
2016-03-13Split drawSpriteAt into drawPlayerSpriteAt and drawOtherSpriteAt.Andrei Karas2-27/+39
2016-03-13Move cursor drawing function from ActorSprite into Being.Andrei Karas5-23/+30
2016-03-13Separate Being::draw function into drawPlayer and drawOther.Andrei Karas2-3/+57
2016-03-13Improve a bit check in Being::drawSpriteAt.Andrei Karas1-6/+12
2016-03-13Simplify drawing beings in playerbox control.Andrei Karas2-0/+11
2016-03-13For skill units in context menu show creator name or id.Andrei Karas2-0/+12
2016-03-12Fix wrong moving to target if was used attack by mouse.Andrei Karas1-1/+1
2016-03-11Fix code style.Andrei Karas2-3/+5
2016-03-10Fix a bit formatting in Being::drawSpriteAt.Andrei Karas1-15/+22
2016-03-10Add missing check.Andrei Karas1-5/+7
2016-03-07Disable all legacy "magic" commands if server type not tmwa.Andrei Karas1-0/+6
2016-03-07Change desync detection to simpler way.Andrei Karas2-20/+8
Also use "sync move" option to enable/disable short/long range desync fix.
2016-03-07Remove some unused functions from compoundsprite.Andrei Karas2-44/+2
2016-03-05Fix style error.Andrei Karas1-4/+4
2016-03-05Replace in Being getter getDirection to mDirection.Andrei Karas1-3/+3
2016-03-05Replace in Being getter getName to mName.Andrei Karas2-22/+27
2016-03-05Replace most getters callc getTileX/getTileY to direct variables usage.Andrei Karas4-46/+46
2016-03-05Change calculated speed in being from float to int.Andrei Karas2-16/+12
2016-03-05Replace in Being speed field from vector to int.Andrei Karas3-12/+11
2016-03-05Move getNumOfHairstyles from being to itemdb.Andrei Karas2-35/+0
2016-03-05Remove unused method getNumOfRaces from Being.Andrei Karas1-6/+0
2016-03-05Replace in Being some calls getNumberOfLayers to ↵Andrei Karas1-2/+2
CompountSprite::getNumberOfLayers.
2016-03-05Use in most places int being positions and not float.Andrei Karas3-72/+79
2016-03-05Add pixel position into actor.Andrei Karas2-2/+13
2016-03-05Rename actor functions getPosition and setPosition.Andrei Karas4-21/+22
2016-03-05Remove getter getSpritesCount from Being.Andrei Karas1-3/+0
2016-03-05Removing usage getters getActorX/getActorY from being and localplayer.Andrei Karas2-22/+37
2016-03-04In compoundsprite replace mSprites.at() to mSprites[].Andrei Karas1-4/+4
2016-03-04Remove getter empty from compoundsprite.Andrei Karas2-4/+1
2016-03-04Remove getter size from compoundsprite.Andrei Karas4-17/+13
2016-03-04Remove getter getSprite from compoundsprite.Andrei Karas4-10/+9
2016-03-04Remove isVisible getter from widget.Andrei Karas1-1/+1
2016-03-03Fix targetting monsters what was first visible by player on unreachable tiles.Andrei Karas1-0/+8
2016-03-03Fix desync between client and server while moving.Andrei Karas1-49/+51
Sadly to fix it need warp player to real position, because this while moving, player some times twitch a bit.
2016-02-28Add extended name to beings (raw server name).Andrei Karas2-1/+7
2016-02-23Fix compilation with gcc 4.4 or older.Andrei Karas1-3/+3
2016-02-23Add pragmas for disable -Wswitch-bool in some places.Andrei Karas1-0/+3
2016-02-22Dont calculate dynamic sort offset.Andrei Karas2-9/+3
Probably it should be removed.
2016-02-22Add more missing consts.Andrei Karas2-2/+2
2016-02-21Fix code style.Andrei Karas1-2/+2
2016-02-20Add missing const in being directory.Andrei Karas8-45/+55
2016-02-14Dont check and modify floor item position if server support ↵Andrei Karas1-11/+20
haveExtendedDropsPosition. Also add for legacy servers support for maxFloorOffsetX/Y.
2016-02-11Use inline attribute in some critial performance functions.Andrei Karas1-1/+1
2016-02-09Allow select skill units and attack it.Andrei Karas1-3/+5
Also add key for select skill unit.