Fix Windows build

This commit is contained in:
2015-01-10 00:29:25 -05:00
parent 9f57f35428
commit 1a7ff2c631
3 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
#include "boe.infodlg.h"
#include "boe.consts.h"
#include "spell.hpp"
#include "winutil.h"
#include "winutil.hpp"
// Include this last because some #defines in the Windows headers cause compile errors in my headers.
// Fortunately they're on symbols not used in this file, so this should work.
@@ -272,7 +272,7 @@ void showMenuBar() {
DrawMenuBar(mainPtr.getSystemHandle());
}
#include "cursors.h"
#include "cursors.hpp"
LRESULT CALLBACK menuProc(HWND handle, UINT message, WPARAM wParam, LPARAM lParam) {
if(message == WM_COMMAND) {

View File

@@ -4,7 +4,7 @@
#include <SFML/Graphics/RenderWindow.hpp>
#include "Resource.h"
#include "universe.h"
#include "winutil.h"
#include "winutil.hpp"
// Include this last because some #defines in the Windows headers cause compile errors in my headers.
// Fortunately they're on symbols not used in this file, so this should work.
@@ -132,7 +132,7 @@ void menu_activate() {
DrawMenuBar(mainPtr.getSystemHandle());
}
#include "cursors.h"
#include "cursors.hpp"
LRESULT CALLBACK menuProc(HWND handle, UINT message, WPARAM wParam, LPARAM lParam) {
if(message == WM_COMMAND) {

View File

@@ -4,7 +4,7 @@
#include <SFML/Graphics/RenderWindow.hpp>
#include "Resource.h"
#include "scenario.h"
#include "winutil.h"
#include "winutil.hpp"
// Include this last because some #defines in the Windows headers cause compile errors in my headers.
// Fortunately they're on symbols not used in this file, so this should work.
@@ -211,7 +211,7 @@ void shut_down_menus(short mode) {
DrawMenuBar(mainPtr.getSystemHandle());
}
#include "cursors.h"
#include "cursors.hpp"
LRESULT CALLBACK menuProc(HWND handle, UINT message, WPARAM wParam, LPARAM lParam) {
if(message == WM_COMMAND) {