~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/localplayer.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-08-13 10:18:49 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130813101849-gna1clq5vxvb8p5f
Tags: 1.3.8.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
504
504
    protected:
505
505
        void updateCoords() override;
506
506
 
507
 
        /** Whether or not the name settings have changed */
508
 
        bool mUpdateName;
509
507
 
510
508
        virtual void handleStatusEffect(StatusEffect *const effect,
511
509
                                        const int effectId);
554
552
        unsigned int mQuickDropCounter;
555
553
        // move state. used if mInvertDirection == 2
556
554
        unsigned int mMoveState;
557
 
        // temporary disable crazy moves in moves
558
 
        bool mDisableCrazyMove;
559
555
        // pick up type 1x1, normal aka 2x1, forward aka 2x3, 3x3, 3x3 + 1
560
556
        unsigned int mPickUpType;
561
557
        // magic attack type
568
564
        unsigned int mFollowMode;
569
565
        unsigned int mImitationMode;
570
566
 
571
 
        bool mDisableGameModifiers;
572
 
 
573
567
        int mLastTargetX;
574
568
        int mLastTargetY;
575
569
 
585
579
 
586
580
        FloorItem *mPickUpTarget;
587
581
 
588
 
        bool mGoingToTarget;
589
 
        bool mKeepAttacking;  // Whether or not to continue to attack
590
582
        int mLastAction;      // Time stamp of the last action, -1 if none.
591
 
        unsigned char mWalkingDir;  // The direction the player is walking in.
592
 
        bool mPathSetByMouse;  // Tells if the path was set using mouse
593
583
 
594
584
        std::vector<int> mStatusEffectIcons;
595
585
 
604
594
        OkDialog *mAwayDialog;
605
595
 
606
596
        int mPingSendTick;
607
 
        bool mWaitPing;
608
597
        int mPingTime;
609
598
        int mAfkTime;
610
 
        bool mAwayMode;
611
 
        bool mPseudoAwayMode;
612
 
 
613
 
        bool mShowNavigePath;
614
 
        bool mIsServerBuggy;
615
 
        bool mSyncPlayerMove;
616
 
        bool mDrawPath;
617
 
        bool mAttackMoving;
618
 
        bool mAttackNext;
619
 
        bool mShowJobExp;
620
599
        int mActivityTime;
621
600
        int mNavigateX;
622
601
        int mNavigateY;
629
608
        int mOldTileY;
630
609
        Path mNavigatePath;
631
610
 
632
 
        bool mTargetDeadPlayers;
633
 
        bool mServerAttack;
634
611
        std::string mLastHitFrom;
635
612
        std::string mWaitFor;
636
613
        int mAdvertTime;
638
615
        std::string mTestParticleName;
639
616
        int mTestParticleTime;
640
617
        unsigned long mTestParticleHash;
 
618
        unsigned char mWalkingDir;  // The direction the player is walking in.
 
619
        /** Whether or not the name settings have changed */
 
620
        bool mUpdateName;
641
621
        bool mBlockAdvert;
 
622
        bool mTargetDeadPlayers;
 
623
        bool mServerAttack;
642
624
        bool mEnableAdvert;
643
625
        bool mTradebot;
644
626
        bool mTargetOnlyReachable;
 
627
        bool mDisableGameModifiers;
 
628
        bool mIsServerBuggy;
 
629
        bool mSyncPlayerMove;
 
630
        bool mDrawPath;
 
631
        bool mAttackMoving;
 
632
        bool mAttackNext;
 
633
        bool mShowJobExp;
645
634
        bool mNextStep;
 
635
        // temporary disable crazy moves in moves
 
636
        bool mDisableCrazyMove;
 
637
        bool mGoingToTarget;
 
638
        // Whether or not to continue to attack
 
639
        bool mKeepAttacking;
 
640
        // Tells if the path was set using mouse
 
641
        bool mPathSetByMouse;
 
642
        bool mWaitPing;
 
643
        bool mAwayMode;
 
644
        bool mPseudoAwayMode;
 
645
        bool mShowNavigePath;
646
646
};
647
647
 
648
648
extern LocalPlayer *player_node;