Einar Johan Trøan Sømåen
f6a5a2a0d5
WINTERMUTE: Wrap away base_script_holder's _filename field in getters/setters, avoiding direct writes.
2012-07-22 22:55:54 +02:00
Einar Johan Trøan Sømåen
30ada3c13f
WINTERMUTE: Check for failure when decoding images.
2012-07-22 22:31:02 +02:00
Einar Johan Trøan Sømåen
803c421553
WINTERMUTE: Fix a few issues in PathUtil, mainly getFileNameWithoutExtension was off by one
2012-07-22 22:30:24 +02:00
Einar Johan Trøan Sømåen
4c3421288d
WINTERMUTE: Add an audio-debug-channel and reduce the use of warning()
2012-07-22 22:29:07 +02:00
Einar Johan Trøan Sømåen
3bcbd1881c
WINTERMUTE: Avoid opening files when checking hasFile()
2012-07-22 22:27:07 +02:00
Einar Johan Trøan Sømåen
6fb641111f
WINTERMUTE: Use only alphanumerics in fallback-gameids.
2012-07-22 21:02:57 +02:00
Einar Johan Trøan Sømåen
a549977cff
WINTERMUTE: Use FSNodes to parse relative paths used by the games.
2012-07-22 21:02:25 +02:00
Einar Johan Trøan Sømåen
c8b1c74724
WINTERMUTE: Add in a fallback-detector for unknown games. (flagged as "fangame" for now)
...
This does a minimal engine-startup to open any dcp's and get the proper "startup.settings"-file,
and then get the name/caption fields from that file. There are currently no handling of localized
strings used there (base_string_table would be the culprit). And, there is also no secondary
checks for language (but for that matter, there is no support for chosing language if multiple
exist at this point either).
2012-07-22 07:28:17 +02:00
Einar Johan Trøan Sømåen
742521c20d
WINTERMUTE: Redo base_file_manager, to use FSLists for registering/opening packages.
...
This is helpfull for consistency between registering and lookup, and allows for explicit removal/adding
of sub_paths for the engine. But most importantly it keeps the loading consistent and non-duplicated
for detection.
2012-07-22 07:24:48 +02:00
Einar Johan Trøan Sømåen
f54f262bb5
WINTERMUTE: Fix a few signed/unsigned and float->int warnings.
2012-07-21 21:17:08 +02:00
Einar Johan Trøan Sømåen
b5a07fef8e
WINTERMUTE: Get rid of the C-prefix for class-definitions.
2012-07-21 21:01:47 +02:00
Einar Johan Trøan Sømåen
2e82471240
WINTERMUTE: Get rid of #pragma once.
2012-07-21 19:50:08 +02:00
Einar Johan Trøan Sømåen
6e780b04dc
WINTERMUTE: Fix a few Upper_case filenames that got missed in the last commit.
2012-07-21 19:37:05 +02:00
Einar Johan Trøan Sømåen
5683f07633
WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
...
This is mostly a lead-up to namespacing the Ad/Base folders, and then
possibly removing the prefixes from the files, it also has the added
benefit of getting rid of the odd case-typos that makes for issues
on platforms that don't ignore case.
2012-07-21 19:15:33 +02:00
Einar Johan Trøan Sømåen
0622b2c5b8
WINTERMUTE: Readd the endian-independence for blitting.
2012-07-20 20:39:21 +02:00
Einar Johan Trøan Sømåen
d31b4883a6
WINTERMUTE: Disable ansiToWide for now, as the current implementation was wrong.
...
An odd side-effect was that the script-function SetHoverCursor in AdItem would
rename it's filenames from "folder\subfolder\filename.ext" to "folder'subfolder'filename.ext"
2012-07-20 14:24:07 +02:00
Einar Johan Trøan Sømåen
b618f7985f
WINTERMUTE: Decrement tickets when reinserting a ticket that has swapped places.
2012-07-20 03:53:13 +02:00
Einar Johan Trøan Sømåen
958cb16f9e
WINTERMUTE: Silence a few signed/unsigned warnings.
2012-07-20 02:44:15 +02:00
Einar Johan Trøan Sømåen
df115ce8d4
WINTERMUTE: Move the detection-entries over to detection_tables.h
2012-07-20 02:26:20 +02:00
Einar Johan Trøan Sømåen
c648eb2b5e
WINTERMUTE: Move BFileEntry and BPackage into base/file
2012-07-20 00:53:38 +02:00
Einar Johan Trøan Sømåen
3ad839b32c
WINTERMUTE: Rename PlatformSDL->platform_osystem
2012-07-20 00:45:20 +02:00
Einar Johan Trøan Sømåen
6a54365483
WINTERMUTE: Add a few missed path-changes (lowercasing folders)
2012-07-19 19:44:46 +02:00
Einar Johan Trøan Sømåen
2292318026
WINTERMUTE: Cleanup some includes in persistency related classes.
2012-07-19 19:40:18 +02:00
Einar Johan Trøan Sømåen
113961fd2a
WINTERMUTE: Change all folder-names to lowercase.
2012-07-19 19:29:15 +02:00
Einar Johan Trøan Sømåen
a3e8ad4c52
WINTERMUTE: Move all the gfx-related files to a subfolder, and rename SDL->OSystem
2012-07-19 19:17:05 +02:00
Einar Johan Trøan Sømåen
def3cd9257
WINTERMUTE: Replace a few non-persistent CBArrays with Common::Array
2012-07-19 18:41:54 +02:00
Einar Johan Trøan Sømåen
73feff111a
WINTERMUTE: Correct 2 savegame-issues
2012-07-19 18:11:23 +02:00
Einar Johan Trøan Sømåen
9c0aff9d8b
WINTERMUTE: Remove SXStore from module.mk
2012-07-19 17:18:56 +02:00
Einar Johan Trøan Sømåen
49bac1ab4a
WINTERMUTE: Use correct case for Rect32.h includes.
2012-07-19 17:06:45 +02:00
Einar Johan Trøan Sømåen
c61ffeac76
WINTERMUTE: Move a few noisy warnings over to debug-channels.
2012-07-18 19:38:19 +02:00
Einar Johan Trøan Sømåen
b02711c4cb
WINTERMUTE: Use saveFileMan for removing saveFiles.
2012-07-18 19:30:24 +02:00
Einar Johan Trøan Sømåen
28794036ed
WINTERMUTE: Make savegames use targetName as prefix.
2012-07-18 19:25:27 +02:00
Einar Johan Trøan Sømåen
b42dae6a30
WINTERMUTE: Remove some useless spaces.
2012-07-18 18:41:58 +02:00
Einar Johan Trøan Sømåen
018d8a068f
WINTERMUTE: Rename the variables in BGame::LastClickInfo
2012-07-18 18:34:45 +02:00
Einar Johan Trøan Sømåen
136ae9857f
WINTERMUTE: Rename ERRORCODE (formerly HRESULT) to bool
2012-07-18 18:31:56 +02:00
Einar Johan Trøan Sømåen
95c0efb937
WINTERMUTE: Rename _dEBUG_ -> _debug
2012-07-18 18:28:38 +02:00
Einar Johan Trøan Sømåen
301af17d4c
WINTERMUTE: Rename the Game-variable to _gameRef/gameRef
2012-07-18 18:25:09 +02:00
Einar Johan Trøan Sømåen
23c9bff226
WINTERMUTE: Add detection for Reversion, Dead City and East Side Story (demo)
2012-07-18 17:57:05 +02:00
Einar Johan Trøan Sømåen
88e2285149
WINTERMUTE: Disable dirty rects for now.
2012-07-18 17:00:39 +02:00
Einar Johan Trøan Sømåen
33994420c1
WINTERMUTE: Add detection for The Box
2012-07-18 17:00:22 +02:00
Einar Johan Trøan Sømåen
1973d745af
WINTERMUTE: Add detection for Hamlet or the last game without MMORPS features, shaders and product placement
2012-07-18 16:43:11 +02:00
Einar Johan Trøan Sømåen
bcb32c4e1f
WINTERMUTE: Make Image-decoder-selection case-insensitive
2012-07-18 16:42:52 +02:00
Einar Johan Trøan Sømåen
6d43745e36
WINTERMUTE: Alphabetize detection-tables.
2012-07-18 16:31:02 +02:00
Einar Johan Trøan Sømåen
701def717f
WINTERMUTE: Add detection for Actual Destination, Mirage and Ghost in the Sheet-demo
2012-07-18 16:28:16 +02:00
Einar Johan Trøan Sømåen
19720786a0
WINTERMUTE: Use proper gameids in detection.
2012-07-18 16:15:31 +02:00
Einar Johan Trøan Sømåen
2cac6deb94
WINTERMUTE: Select PixelFormat for BFonTT depending on if we actually have a TTF, or a fallback.
2012-07-18 13:01:17 +02:00
Einar Johan Trøan Sømåen
9a37c9805f
WINTERMUTE: Decrement the following tickets when removing an unused ticket.
2012-07-18 13:00:43 +02:00
Einar Johan Trøan Sømåen
764b7edee4
WINTERMUTE: Put some useable data in the BMP-headers used in saves, so the code can double as debug-dumps for graphics.
2012-07-18 12:48:37 +02:00
Einar Johan Trøan Sømåen
8d375f054f
WINTERMUTE: Fix a VarName->varName in BFileManager
2012-07-17 23:40:30 +02:00
Einar Johan Trøan Sømåen
90024a502a
WINTERMUTE: Remove TSeek enum
2012-07-17 23:20:52 +02:00