From 4b930c7854178d4dca070f4cc1806031d9a4ae17 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 7 Nov 2019 05:06:24 +0300 Subject: [PATCH] Revert "engine: platform: magx: add pre-init platform-specific hook" This reverts commit 2958b14cc218563094915e4eb483b304e59d5c5c. --- engine/platform/magx/sys_magx.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 engine/platform/magx/sys_magx.cpp diff --git a/engine/platform/magx/sys_magx.cpp b/engine/platform/magx/sys_magx.cpp deleted file mode 100644 index 432c4970..00000000 --- a/engine/platform/magx/sys_magx.cpp +++ /dev/null @@ -1,25 +0,0 @@ -/* -sys_magx.cpp - MotoMAGX system utils -Copyright (C) 2019 a1batross - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -*/ -#include "platform/platform.h" -#include - -typedef void (*pfnChangeGame)( const char *progname ); -extern "C" int EXPORT Host_Main( int argc, char **argv, const char *progname, int bChangeGame, pfnChangeGame func ); - -extern "C" int EXPORT Platform_Main( int argc, char **argv, const char *progname, int bChangeGame, pfnChangeGame func ) -{ - ZApplication app( argc, argv ); - return Host_Main( argc, argv, progname, bChangeGame, func ); -}