Einar Johan Trøan Sømåen
7a818009b4
WINTERMUTE: Clean out unused utils.
2012-07-23 02:23:14 +02:00
Einar Johan Trøan Sømåen
927eb9a9e8
WINTERMUTE: Some more BaseFileManager-cleanup
2012-07-23 02:05:37 +02:00
Einar Johan Trøan Sømåen
aac94209b3
WINTERMUTE: Clean up a few includes.
2012-07-23 01:54:47 +02:00
Einar Johan Trøan Sømåen
4b0ede4685
Rename BaseGame::SaveGame -> saveGame
2012-07-23 01:40:49 +02:00
Einar Johan Trøan Sømåen
d1f7730ec2
WINTERMUTE: Encapsulate BaseRenderer::_rectList and replace it by Common::Array
2012-07-23 01:30:11 +02:00
Einar Johan Trøan Sømåen
93864d4e39
WINTERMUTE: Remove Base as superclass for BaseImage
2012-07-23 01:08:57 +02:00
Einar Johan Trøan Sømåen
61e011ada9
WINTERMUTE: Reenable direct package-loading for now
2012-07-23 00:40:38 +02:00
Einar Johan Trøan Sømåen
8b6e4fc752
WINTERMUTE: Privatize/remove unused/internal functions in BaseFileManager
2012-07-23 00:14:34 +02:00
Einar Johan Trøan Sømåen
4f1b03eac1
WINTERMUTE: Remove Base as superclass for base_file_entry
2012-07-22 23:36:13 +02:00
Einar Johan Trøan Sømåen
a249b096c0
WINTERMUTE: Remove Base as superclass for base_package.
2012-07-22 23:26:18 +02:00
Einar Johan Trøan Sømåen
8c378f794e
WINTERMUTE: Wrap _name in base_named_object in getters/setters.
2012-07-22 23:17:32 +02:00
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