mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Cleaning up after __fastcall remove.
Cleaning up project after remove _fastcall. Project now buildable.
This commit is contained in:
@@ -104,7 +104,7 @@ TLPT *Console::LPT = NULL;
|
||||
int Console::iSwitch[8]; // bistabilne w kabinie, załączane z [Shift], wyłączane bez
|
||||
int Console::iButton[8]; // monostabilne w kabinie, załączane podczas trzymania klawisza
|
||||
|
||||
__fastcall Console::Console()
|
||||
Console::Console()
|
||||
{
|
||||
PoKeys55[0] = PoKeys55[1] = NULL;
|
||||
for (int i = 0; i < 8; ++i)
|
||||
@@ -114,7 +114,7 @@ __fastcall Console::Console()
|
||||
}
|
||||
};
|
||||
|
||||
__fastcall Console::~Console()
|
||||
Console::~Console()
|
||||
{
|
||||
delete PoKeys55[0];
|
||||
delete PoKeys55[1];
|
||||
@@ -267,7 +267,7 @@ void Console::BitsUpdate(int mask)
|
||||
}
|
||||
};
|
||||
|
||||
bool Console::Pressed(int x) { // na razie tak - czyta się tylko klawiatura return Global::bActive && (GetKeyState(x) < 0); };
|
||||
bool Console::Pressed(int x) { return Global::bActive && (GetKeyState(x) < 0); }; // na razie tak - czyta się tylko klawiatura
|
||||
|
||||
void Console::ValueSet(int x, double y)
|
||||
{ // ustawienie wartości (y) na kanale analogowym (x)
|
||||
|
||||
Reference in New Issue
Block a user