Cleaning up after __fastcall remove.

Cleaning up project after remove _fastcall. Project now buildable.
This commit is contained in:
Firleju
2015-04-15 23:49:51 +02:00
parent 9eb087b96e
commit a11d21673e
35 changed files with 137 additions and 96 deletions

View File

@@ -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)