equal
deleted
inserted
replaced
133 cConsoleYAdd:= cConsoleHeight; |
133 cConsoleYAdd:= cConsoleHeight; |
134 GameState:= gsConsole |
134 GameState:= gsConsole |
135 end; |
135 end; |
136 gsConsole: KeyPressConsole(event.key.keysym.sym); |
136 gsConsole: KeyPressConsole(event.key.keysym.sym); |
137 end; |
137 end; |
|
138 SDL_ACTIVEEVENT: if (event.active.state and SDL_APPINPUTFOCUS) <> 0 then |
|
139 cHasFocus:= event.active.gain = 1; |
138 SDL_QUITEV: isTerminated:= true |
140 SDL_QUITEV: isTerminated:= true |
139 end; |
141 end; |
140 CurrTime:= SDL_GetTicks; |
142 CurrTime:= SDL_GetTicks; |
141 if PrevTime + cTimerInterval <= CurrTime then |
143 if PrevTime + cTimerInterval <= CurrTime then |
142 begin |
144 begin |