Author: akhaldi
Date: Mon Jan 6 20:51:41 2014
New Revision: 61548
URL:
http://svn.reactos.org/svn/reactos?rev=61548&view=rev
Log:
[WINMINE]
* Move some inclusions to the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
Modified:
trunk/reactos/base/applications/games/winmine/dialog.c
trunk/reactos/base/applications/games/winmine/main.c
trunk/reactos/base/applications/games/winmine/main.h
Modified: trunk/reactos/base/applications/games/winmine/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/dialog.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/dialog.c [iso-8859-1] Mon Jan 6
20:51:41 2014
@@ -18,12 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
-
#include "main.h"
-#include "resource.h"
INT_PTR CALLBACK CustomDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
{
Modified: trunk/reactos/base/applications/games/winmine/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] Mon Jan 6 20:51:41
2014
@@ -18,18 +18,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
+#include "main.h"
+
#include <winbase.h>
#include <winreg.h>
#include <wingdi.h>
#include <time.h>
#include <stdlib.h>
#include <shellapi.h>
-
-#include "main.h"
-#include "resource.h"
#include <wine/debug.h>
Modified: trunk/reactos/base/applications/games/winmine/main.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/main.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/main.h [iso-8859-1] Mon Jan 6 20:51:41
2014
@@ -18,7 +18,13 @@
#pragma once
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#include <windef.h>
#include <winuser.h>
+
+#include "resource.h"
#define BEGINNER_MINES 10
#define BEGINNER_COLS 9