From 0031c41db855ac4bebd05ca1b2c1fa6694242979 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 2 May 2013 18:26:58 -0400 Subject: COMMON: Change kPlatformPC to kPlatformDOS "PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows. --- engines/agi/preagi_winnie.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/agi/preagi_winnie.cpp') diff --git a/engines/agi/preagi_winnie.cpp b/engines/agi/preagi_winnie.cpp index 06a6988bc5..bbe9ddd0c6 100644 --- a/engines/agi/preagi_winnie.cpp +++ b/engines/agi/preagi_winnie.cpp @@ -90,7 +90,7 @@ void WinnieEngine::parseObjHeader(WTP_OBJ_HDR *objHdr, byte *buffer, int len) { uint32 WinnieEngine::readRoom(int iRoom, uint8 *buffer, WTP_ROOM_HDR &roomHdr) { Common::String fileName; - if (getPlatform() == Common::kPlatformPC) + if (getPlatform() == Common::kPlatformDOS) fileName = Common::String::format(IDS_WTP_ROOM_DOS, iRoom); else if (getPlatform() == Common::kPlatformAmiga) fileName = Common::String::format(IDS_WTP_ROOM_AMIGA, iRoom); @@ -123,7 +123,7 @@ uint32 WinnieEngine::readRoom(int iRoom, uint8 *buffer, WTP_ROOM_HDR &roomHdr) { uint32 WinnieEngine::readObj(int iObj, uint8 *buffer) { Common::String fileName; - if (getPlatform() == Common::kPlatformPC) + if (getPlatform() == Common::kPlatformDOS) fileName = Common::String::format(IDS_WTP_OBJ_DOS, iObj); else if (getPlatform() == Common::kPlatformAmiga) fileName = Common::String::format(IDS_WTP_OBJ_AMIGA, iObj); @@ -1118,7 +1118,7 @@ void WinnieEngine::drawRoomPic() { bool WinnieEngine::playSound(ENUM_WTP_SOUND iSound) { // TODO: Only DOS sound is supported, currently - if (getPlatform() != Common::kPlatformPC) { + if (getPlatform() != Common::kPlatformDOS) { warning("STUB: playSound(%d)", iSound); return false; } -- cgit v1.2.3