mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 14:49:19 +02:00
build 190906. alternative vehicle takeover mode, collision system tweaks, security system activation tweaks, gfx card selection exports, potential render crash fixe for amd gfx cards
This commit is contained in:
13
Driver.h
13
Driver.h
@@ -194,9 +194,13 @@ public:
|
||||
public:
|
||||
void UpdateSituation(double dt); // uruchamiac przynajmniej raz na sekundę
|
||||
void MoveTo(TDynamicObject *to);
|
||||
void TakeControl(bool yes);
|
||||
void TakeControl(bool const Aidriver, bool const Forcevehiclecheck = false);
|
||||
inline
|
||||
bool Primary() const {
|
||||
bool primary( bool const Primary ) {
|
||||
SetFlag( iDrivigFlags, ( Primary ? movePrimary : -movePrimary ) );
|
||||
return primary(); }
|
||||
inline
|
||||
bool primary() const {
|
||||
return ( ( iDrivigFlags & movePrimary ) != 0 ); };
|
||||
inline
|
||||
TMoverParameters const *Controlling() const {
|
||||
@@ -210,8 +214,11 @@ public:
|
||||
inline
|
||||
int Direction() const {
|
||||
return iDirection; }
|
||||
inline
|
||||
TAction & action() {
|
||||
return eAction; }
|
||||
inline
|
||||
TAction GetAction() {
|
||||
TAction const & action() const {
|
||||
return eAction; }
|
||||
private:
|
||||
void Activation(); // umieszczenie obsady w odpowiednim członie
|
||||
|
||||
Reference in New Issue
Block a user