|
|
|
@ -2714,8 +2714,6 @@ bool FocusWindowById(WindowClass cls, WindowNumber number)
|
|
|
|
|
*/
|
|
|
|
|
void HandleKeypress(uint keycode, WChar key)
|
|
|
|
|
{
|
|
|
|
|
if (InEventLoopPostCrash()) return;
|
|
|
|
|
|
|
|
|
|
/* World generation is multithreaded and messes with companies.
|
|
|
|
|
* But there is no company related window open anyway, so _current_company is not used. */
|
|
|
|
|
assert(HasModalProgress() || IsLocalCompany());
|
|
|
|
@ -2934,8 +2932,6 @@ static void HandleKeyScrolling()
|
|
|
|
|
|
|
|
|
|
static void MouseLoop(MouseClick click, int mousewheel)
|
|
|
|
|
{
|
|
|
|
|
if (InEventLoopPostCrash()) return;
|
|
|
|
|
|
|
|
|
|
/* World generation is multithreaded and messes with companies.
|
|
|
|
|
* But there is no company related window open anyway, so _current_company is not used. */
|
|
|
|
|
assert(HasModalProgress() || IsLocalCompany());
|
|
|
|
@ -3042,8 +3038,6 @@ static void MouseLoop(MouseClick click, int mousewheel)
|
|
|
|
|
*/
|
|
|
|
|
void HandleMouseEvents()
|
|
|
|
|
{
|
|
|
|
|
if (InEventLoopPostCrash()) return;
|
|
|
|
|
|
|
|
|
|
/* World generation is multithreaded and messes with companies.
|
|
|
|
|
* But there is no company related window open anyway, so _current_company is not used. */
|
|
|
|
|
assert(HasModalProgress() || IsLocalCompany());
|
|
|
|
@ -3153,8 +3147,6 @@ static void CheckSoftLimit()
|
|
|
|
|
*/
|
|
|
|
|
void InputLoop()
|
|
|
|
|
{
|
|
|
|
|
if (InEventLoopPostCrash()) return;
|
|
|
|
|
|
|
|
|
|
/* World generation is multithreaded and messes with companies.
|
|
|
|
|
* But there is no company related window open anyway, so _current_company is not used. */
|
|
|
|
|
assert(HasModalProgress() || IsLocalCompany());
|
|
|
|
|