Commit Graph

950 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
4c61cf042b WINTERMUTE: Fix a bunch of warnings 2012-06-25 15:48:00 +02:00
Einar Johan Trøan Sømåen
0fc175857a WINTERMUTE: Move the engine-log over to a debug-channel. 2012-06-25 15:26:33 +02:00
Einar Johan Trøan Sømåen
e68ab9b572 WINTERMUTE: Make the ClassRegistry clean up after itself when returning to launcher 2012-06-25 15:13:34 +02:00
Einar Johan Trøan Sømåen
d495c58897 WINTERMUTE: Get rid of a few warnings 2012-06-22 20:41:57 +02:00
Einar Johan Trøan Sømåen
9f2c5385ba WINTERMUTE: Rename Persist->persist 2012-06-22 20:06:12 +02:00
Einar Johan Trøan Sømåen
77c42af859 WINTERMUTE: Remove BEvent. 2012-06-22 18:59:19 +02:00
Einar Johan Trøan Sømåen
2e34a25040 WINTERMUTE: Get rid of the global constructions. 2012-06-22 18:56:10 +02:00
Einar Johan Trøan Sømåen
853e7c8900 WINTERMUTE: Fix another enum-warning. 2012-06-22 14:30:58 +02:00
Einar Johan Trøan Sømåen
759024d51a WINTERMUTE: Remove FontGlyphCache. 2012-06-22 14:15:25 +02:00
Einar Johan Trøan Sømåen
4e33b8ea75 WINTERMUTE: Run astyle on the source-files. 2012-06-22 14:10:08 +02:00
Einar Johan Trøan Sømåen
b06f4ac72c WINTERMUTE: Fix a few warnings in BPersistMgr 2012-06-22 13:59:28 +02:00
Einar Johan Trøan Sømåen
5a5fd609f1 WINTERMUTE: Rename the functions and arguments in BPersistMgr 2012-06-22 13:56:51 +02:00
Einar Johan Trøan Sømåen
9b26ea4f7f WINTERMUTE: Clean out a few debug-prints. 2012-06-22 11:18:57 +02:00
Einar Johan Trøan Sømåen
590cf7b5b1 WINTERMUTE: Reinitialize Theora-videos after load. 2012-06-22 11:04:55 +02:00
Einar Johan Trøan Sømåen
9ce1685bf5 WINTERMUTE: Remove AdActorDir and fix build 2012-06-22 10:34:50 +02:00
Einar Johan Trøan Sømåen
93f7bcdf28 WINTERMUTE: Fix a mistake in saving CVidTheora-objects (and strengthen the saving by putting in some more headers) 2012-06-22 10:12:11 +02:00
Einar Johan Trøan Sømåen
7d702c9595 WINTERMUTE: Use the fullscreen-setting from the launcher. 2012-06-21 18:49:30 +02:00
Einar Johan Trøan Sømåen
8c463aa58c WINTERMUTE: Fix loading of fonts from savegames. 2012-06-21 18:49:10 +02:00
Einar Johan Trøan Sømåen
e3a7921dff WINTERMUTE: Make sure the TGA-decoder returns false on error 2012-06-19 03:11:57 +02:00
Einar Johan Trøan Sømåen
c59507a6e9 WINTERMUTE: Add RTL-support. 2012-06-19 02:30:40 +02:00
Einar Johan Trøan Sømåen
721fd394de WINTERMUTE: Add a first attempt at load-from-launcher support 2012-06-19 02:02:20 +02:00
Einar Johan Trøan Sømåen
06e8306aab WINTERMUTE: Add savegame-thumbnail-support. 2012-06-18 19:11:15 +02:00
Einar Johan Trøan Sømåen
ece5997fc3 WINTERMUTE: Fix StringUtil::StartsWith 2012-06-18 18:39:28 +02:00
Einar Johan Trøan Sømåen
03aadc3ce1 WINTERMUTE: Handle empty strings properly in saves. 2012-06-16 16:53:33 +02:00
Einar Johan Trøan Sømåen
c12060ce93 WINTERMUTE: Save the VidTheoraPlayer-data too. 2012-06-16 16:39:51 +02:00
Einar Johan Trøan Sømåen
0f6a87ae95 WINTERMUTE: Make saves get listed properly 2012-06-16 16:39:02 +02:00
Einar Johan Trøan Sømåen
3d4495d1ce WINTERMUTE: A first attempt at getting savegames to work. 2012-06-16 04:26:56 +02:00
Einar Johan Trøan Sømåen
b8a7266c4e WINTERMUTE: Get rid of all system-headers BUT limits.h 2012-06-15 19:49:13 +02:00
Einar Johan Trøan Sømåen
0c84972294 WINTERMUTE: Change a few char* to Common::String in AdActor 2012-06-15 19:33:30 +02:00
Einar Johan Trøan Sømåen
850e237d31 WINTERMUTE: Get rid of rand/srand. 2012-06-15 19:19:09 +02:00
Einar Johan Trøan Sømåen
3d49eb1605 WINTERMUTE: Add a global g_wintermute. 2012-06-15 18:56:16 +02:00
Einar Johan Trøan Sømåen
4c1909db9a WINTERMUTE: Add untested mouse-wheel-handling. 2012-06-15 18:55:46 +02:00
Einar Johan Trøan Sømåen
bd31b5f201 WINTERMUTE: Move some of the initialization code over from PlatformSDL 2012-06-15 18:45:28 +02:00
Einar Johan Trøan Sømåen
e546237a23 WINTERMUTE: Clear up another few includes. 2012-06-15 02:17:36 +02:00
Einar Johan Trøan Sømåen
4b7201c7e1 WINTERMUTE: Alphabetize the includes in AdGame 2012-06-15 02:04:24 +02:00
Einar Johan Trøan Sømåen
0fedd08714 WINTERMUTE: Remove unused include in BGame.cpp 2012-06-15 02:00:44 +02:00
Einar Johan Trøan Sømåen
dba9123428 WINTERMUTE: Remove a bunch of commented-out includes. 2012-06-15 01:57:15 +02:00
Einar Johan Trøan Sømåen
dae2209e4c WINTERMUTE: Make factory-functions for the SX-classes, to avoid having to include all of them in BGame.cpp 2012-06-15 01:54:26 +02:00
Einar Johan Trøan Sømåen
bed4f81fc6 WINTERMUTE: Clean out some un-needed headers, and some FORBIDDEN_SYMBOL_EXCEPTIONs 2012-06-15 01:29:20 +02:00
Einar Johan Trøan Sømåen
41c3b57aad WINTERMUTE: Clean up the formatting in dctypes a bit 2012-06-15 00:57:58 +02:00
Einar Johan Trøan Sømåen
407a881800 WINTERMUTE: Clean up BFonTT a little. 2012-06-15 00:57:08 +02:00
Einar Johan Trøan Sømåen
cac5db7dfe WINTERMUTE: Clean up and refactor VidTheoraPlayer a bit. 2012-06-15 00:43:09 +02:00
Einar Johan Trøan Sømåen
a488db8f93 WINTERMUTE: Clear out a bunch of warning (mostly shadowed variables) 2012-06-15 00:28:59 +02:00
Einar Johan Trøan Sømåen
181414d749 WINTERMUTE: Warn about WAVE-files for now. 2012-06-14 22:51:53 +02:00
Einar Johan Trøan Sømåen
f7888fea6e WINTERMUTE: Add Ansi->ISO conversion for \' (quick hack to make J.U.L.I.A.-demo look right) 2012-06-14 18:08:12 +02:00
Einar Johan Trøan Sømåen
bcc93b735c WINTERMUTE: Use offsets correctly in BSurfaceSDL. 2012-06-14 18:07:23 +02:00
Einar Johan Trøan Sømåen
d8c33544b2 WINTERMUTE: Use fonts 1/3 larger than the engine asks for, to compensate for the difference in dpi between ScummVM and WME (with thanks to LordHoto for pointing this out). 2012-06-14 18:05:51 +02:00
Einar Johan Trøan Sømåen
24726c143a WINTERMUTE: Make VidTheoraPlayer::Stop actually do something. 2012-06-14 16:14:07 +02:00
Einar Johan Trøan Sømåen
fbc7191549 WINTERMUTE: Add a quick-fix to replace SDL_TEXTINPUT. 2012-06-14 16:13:26 +02:00
Einar Johan Trøan Sømåen
d14fd7b1a3 WINTERMUTE: Implement a bit more of the key-handling. 2012-06-14 12:59:06 +02:00
Einar Johan Trøan Sømåen
7f19595d91 WINTERMUTE: Fix SXString's - "Split" 2012-06-14 02:18:47 +02:00
Einar Johan Trøan Sømåen
c104688941 WINTERMUTE: Fix quite a lot of memory leaks. 2012-06-14 00:56:24 +02:00
Einar Johan Trøan Sømåen
076ed07e92 WINTERMUTE: Fix theora-playback with the new Rendering-changes. 2012-06-14 00:12:15 +02:00
Einar Johan Trøan Sømåen
84837f4bae WINTERMUTE: Implement SXDate 2012-06-13 22:37:13 +02:00
Einar Johan Trøan Sømåen
fb7423f47c WINTERMUTE: Fix a critical typo in II_ADD in ScScript 2012-06-13 21:09:42 +02:00
Einar Johan Trøan Sømåen
d4ac01148f WINTERMUTE: Add support for alpha-images in Theora-player. 2012-06-13 20:18:11 +02:00
Einar Johan Trøan Sømåen
c081d40c96 WINTERMUTE: Move image-loading to BImage, and cleanup some relevant code. 2012-06-13 20:17:36 +02:00
Einar Johan Trøan Sømåen
b8a6dce398 WINTERMUTE: Implement various functions in BRenderSDL. 2012-06-13 15:35:29 +02:00
Einar Johan Trøan Sømåen
879d6902f4 WINTERMUTE: Use the correct height for TTF-fonts. 2012-06-13 15:33:45 +02:00
Einar Johan Trøan Sømåen
0793c961a4 WINTERMUTE: Fix some memory-leaks in BSoundBuffer. 2012-06-12 19:50:36 +02:00
Einar Johan Trøan Sømåen
2e3aec48ad WINTERMUTE: Optimize the blitting in BSurfaceSDL by adding scale-caching, and alpha-less blits for completely opaque surfaces. 2012-06-12 19:49:58 +02:00
Einar Johan Trøan Sømåen
92b7703265 WINTERMUTE: Add some loop-support to BSoundBuffer. 2012-06-12 17:32:22 +02:00
Einar Johan Trøan Sømåen
fcb36b6b90 WINTERMUTE: Clear out the debug-printing, so that it's actually readable. 2012-06-12 16:15:53 +02:00
Einar Johan Trøan Sømåen
c2a2a816f1 WINTERMUTE: Make sure to NULL-out _theora in AdEntity. 2012-06-12 15:58:32 +02:00
Einar Johan Trøan Sømåen
eb6895ed6b WINTERMUTE: Add rewindability to Theora-Decoder
This currently just abuses the fact that reset() does a rewind instead of a proper reset().
2012-06-12 15:58:00 +02:00
Einar Johan Trøan Sømåen
c6c2cfab4e WINTERMUTE: Fix formatting. 2012-06-12 14:41:29 +02:00
Einar Johan Trøan Sømåen
3508829882 WINTERMUTE: Correct some math-errors in the debug-logging. 2012-06-12 14:22:54 +02:00
Einar Johan Trøan Sømåen
43da09f95b WINTERMUTE: Get rid of even more FORBIDDEN SYMBOLs 2012-06-11 19:22:03 +02:00
Einar Johan Trøan Sømåen
819d16ea9b WINTERMUTE: Get rid of all but one FORBIDDEN SYMBOL in BGame. 2012-06-11 19:14:25 +02:00
Einar Johan Trøan Sømåen
58b054ca97 WINTERMUTE: Stub out BRenderSDL::DumpData, to get rid of the FORBIDDEN_SYMBOL_EXCEPTIONs there 2012-06-11 18:47:21 +02:00
Einar Johan Trøan Sømåen
0b02dae394 WINTERMUTE: Let looping movies atleast stall at the end for now. 2012-06-11 16:41:59 +02:00
Einar Johan Trøan Sømåen
a522aa5f6c WINTERMUTE: Make AdEntity-Theora videos work properly. 2012-06-11 16:11:16 +02:00
Einar Johan Trøan Sømåen
63efd76192 WINTERMUTE: Make Theora-playback fail properly when THEORA isn't compiled in. 2012-06-11 15:35:32 +02:00
Einar Johan Trøan Sømåen
ef2eb685dd WINTERMUTE: Formatting in BRenderSDL 2012-06-11 15:31:48 +02:00
Einar Johan Trøan Sømåen
f7679dca8c WINTERMUTE: Align TTF's properly. 2012-06-08 18:44:57 +02:00
Einar Johan Trøan Sømåen
1d5e59766f WINTERMUTE: Move FORBIDDEN_SYMBOL_EXCEPTION out of the headers and into the CPP-files that still need it. 2012-06-08 18:29:48 +02:00
Einar Johan Trøan Sømåen
8adae39ca4 WINTERMUTE: Minor cleanup in includes in BSurfaceSDL 2012-06-08 01:21:19 +02:00
Einar Johan Trøan Sømåen
2e0b523d41 WINTERMUTE: VarName -> varName in BSurface/BSurfaceSDL 2012-06-08 01:19:26 +02:00
Einar Johan Trøan Sømåen
ed7b31f841 WINTERMUTE: Remember to free the image decoders after use. 2012-06-08 00:35:19 +02:00
Einar Johan Trøan Sømåen
088a6b7b45 WINTERMUTE: Avoid compilation errors if Theora isn't included. 2012-06-08 00:21:04 +02:00
Einar Johan T. Sømåen
1c18f0efdc WINTERMUTE: Add detection for german Dirty Split 2012-06-07 13:50:49 +02:00
Einar Johan T. Sømåen
9aa2d43fac WINTERMUTE: Fix BRenderSDL::Fill 2012-06-07 13:40:57 +02:00
Einar Johan T. Sømåen
6e04d78a36 WINTERMUTE: Fix compile on linux again. 2012-06-07 12:53:13 +02:00
Einar Johan Trøan Sømåen
ff28c0215b WINTERMUTE: Let SystemFontPath be empty for now. 2012-06-04 03:39:30 +02:00
Einar Johan Trøan Sømåen
22602f0561 WINTERMUTE: Add word-wrapping for TTF-fonts, as well as proper loading of fonts in game-folder. 2012-06-04 03:38:50 +02:00
Einar Johan Trøan Sømåen
81e57690b2 WINTERMUTE: Make BDiskFile reset it's files after testing for compression. 2012-06-04 03:36:50 +02:00
Einar Johan Trøan Sømåen
8add2f10e8 WINTERMUTE: Add missing break in event-handler switch-case. 2012-06-04 02:57:04 +02:00
Einar Johan Trøan Sømåen
31d0b89e82 WINTERMUTE: Reenable CBRenderSDL::Fill to let the screen be blanked for every frame
This makes J.U.L.I.A. look a lot better.
2012-06-04 01:55:23 +02:00
Einar Johan Trøan Sømåen
70427e6d7e WINTERMUTE: Make text-measuring work without FreeType2. 2012-06-03 23:57:31 +02:00
Einar Johan Trøan Sømåen
a3901c76fd WINTERMUTE: Make sprite-mirroring work correctly. 2012-06-03 23:12:32 +02:00
Einar Johan Trøan Sømåen
b830ae44ea WINTERMUTE: Fix a missing const that made Rosemary bug out in scripts. 2012-06-03 22:53:17 +02:00
Einar Johan Trøan Sømåen
311341bff0 WINTERMUTE: Correct RGBA->ARGB in BSurfaceSDL 2012-06-03 22:12:08 +02:00
Einar Johan Trøan Sømåen
9ea09aee24 WINTERMUTE: Don't error out on missing WeedResponses. 2012-06-03 21:53:11 +02:00
Einar Johan Trøan Sømåen
db2c12fb08 WINTERMUTE: Make BFontTT draw almost the right color. 2012-06-03 21:53:11 +02:00
Einar Johan Trøan Sømåen
b881ff7eef WINTERMUTE: Implement most of BSoundBuffer, to get sentences to play properly. 2012-06-03 21:52:52 +02:00
Einar Johan Trøan Sømåen
dbebaaf50d WINTERMUTE: Get a fallback font to at least draw something for BFontTT 2012-06-03 16:55:38 +02:00
Einar Johan Trøan Sømåen
c69f3bf8b6 WINTERMUTE: Add detection for the white chamber v1.7 2012-06-03 03:49:56 +02:00
Einar Johan Trøan Sømåen
d79549964c WINTERMUTE: Make the engine atleast register keypresses. 2012-06-03 03:16:57 +02:00
Einar Johan Trøan Sømåen
ca1e62035d WINTERMUTE: Add back Theora support to AdEntity. 2012-06-03 02:52:33 +02:00
Einar Johan Trøan Sømåen
9a3fdd4cc4 WINTERMUTE: Make Theora-playback behave a bit more as expected. 2012-06-03 02:33:10 +02:00
Einar Johan Trøan Sømåen
15796f0eed WINTERMUTE: Add JPEG-support to BSurfaceSDL 2012-06-03 02:32:36 +02:00
Einar Johan Trøan Sømåen
f0a0f5c35c WINTERMUTE: Actually register all DCPs. 2012-06-03 02:32:13 +02:00
Einar Johan Trøan Sømåen
9f66bed4b5 WINTERMUTE: Don't delete the fonts gotten from FontMan, they are const. 2012-06-03 01:16:20 +02:00
Einar Johan Trøan Sømåen
071c5a1d83 WINTERMUTE: Add detection for the J.U.L.I.A.-demo 2012-06-03 01:15:49 +02:00
Einar Johan Trøan Sømåen
af518b7433 WINTERMUTE: Clean up Theora support quite a bit. 2012-06-02 21:36:42 +02:00
Einar Johan Trøan Sømåen
a647ef3afb WINTERMUTE: Add hacky, but working video playback 2012-06-02 19:41:18 +02:00
Einar Johan Trøan Sømåen
cafdcd1c8a WINTERMUTE: Add in more of the missing Video-pieces, also, copy over the TheoraPlayer from SWORD25 2012-06-02 18:46:17 +02:00
Einar Johan Trøan Sømåen
74ff79e90b WINTERMUTE: Implement IsTransparentAtLite, to fix the BitmapFont-drawing. 2012-06-02 14:28:58 +02:00
Einar Johan Trøan Sømåen
e7a802700c WINTERMUTE: Add color-keying for BSurfaceSDL BMPs 2012-06-02 13:48:26 +02:00
Einar Johan Trøan Sømåen
2db2566055 WINTERMUTE: Convert 8bpp images to 32 bpp 2012-06-02 13:10:07 +02:00
Einar Johan Trøan Sømåen
5fd8d1360f WINTERMUTE: Mark BSaveThumbFile for future refactoring. 2012-06-02 13:10:05 +02:00
Einar Johan Trøan Sømåen
4a10bc8b14 WINTERMUTE: Revamp the file-system to deliver Common::-streams directly 2012-06-02 13:09:58 +02:00
Einar Johan Trøan Sømåen
afe5567421 WINTERMUTE: Start refactoring the file-files in Base. 2012-06-02 13:09:54 +02:00
Einar Johan Trøan Sømåen
5fde51cd23 WINTERMUTE: Protect CBFile's private members. 2012-06-02 13:09:50 +02:00
Einar Johan Trøan Sømåen
84601ca89e WINTERMUTE: Move the file-related classes into Base/file 2012-06-02 13:09:47 +02:00
Einar Johan Trøan Sømåen
b02b3ebb21 WINTERMUTE: Add folders for utils and video 2012-06-02 13:09:41 +02:00
Einar Johan Trøan Sømåen
221490a93d WINTERMUTE: Add subfolders for math, UI, tinyxml and Sys 2012-06-02 13:09:34 +02:00
Einar Johan Trøan Sømåen
e6729615ea WINTERMUTE: Move the B and Part files into Base/ 2012-06-02 13:09:24 +02:00
Einar Johan Trøan Sømåen
2317b3538f WINTERMUTE: Move all the Ad files to Ad/ 2012-06-02 13:09:20 +02:00
Einar Johan Trøan Sømåen
b1e4f58fed WINTERMUTE: Use const Common::String& for the file-accessors. 2012-06-02 13:07:45 +02:00
Einar Johan Trøan Sømåen
b94c379263 WINTERMUTE: Let blitting of non 32bpp surfaces fail with a warning instead of an error for now. 2012-06-02 13:07:42 +02:00
Einar Johan Trøan Sømåen
ed88f83d54 WINTERMUTE: Add detection for Rosemary 2012-06-02 13:07:40 +02:00
Einar Johan Trøan Sømåen
96a8874a92 WINTERMUTE: Use the resolution asked for by the engines. 2012-06-02 13:07:37 +02:00
Einar Johan Trøan Sømåen
79f86732b8 WINTERMUTE: Fix Windows build under MSVC2010 2012-06-02 13:07:29 +02:00
Einar Johan Trøan Sømåen
2f02bec21f WINTERMUTE: Add in, and stub the VideoPlayer-files 2012-06-02 13:07:22 +02:00
Einar Johan Trøan Sømåen
0cee403067 WINTERMUTE: Fix a few warnings. 2012-06-02 13:07:18 +02:00
Einar Johan Trøan Sømåen
bfcffbea60 WINTERMUTE: Fix Linux-build 2012-06-02 13:07:15 +02:00
Einar Johan Trøan Sømåen
03284a3f88 WINTERMUTE: Add TGA-support to BSurfaceSDL 2012-06-02 13:07:08 +02:00
Einar Johan Trøan Sømåen
c05059ea8a WINTERMUTE: Use AdvancedDetector, and add another game. 2012-06-02 13:05:54 +02:00
Einar Johan Trøan Sømåen
ebbf92578d WINTERMUTE: Re-enable scaling. 2012-06-02 13:05:52 +02:00
Einar Johan Trøan Sømåen
ae48c3f7e1 WINTERMUTE: Add transparentSurface internally for now, to allow alpha-blended blits. 2012-06-02 13:05:42 +02:00
Einar Johan Trøan Sømåen
a53fa953a4 WINTERMUTE: Don't use unsigned datatypes in rects. 2012-06-02 13:02:51 +02:00
Einar Johan Trøan Sømåen
753781f972 WINTERMUTE: Break the binary interface, to fix another truckload of warnings. 2012-06-02 13:02:47 +02:00
Einar Johan Trøan Sømåen
16f1a45844 WINTERMUTE: Fix more warnings, mostly missing switch-cases. 2012-06-02 13:02:42 +02:00
Einar Johan Trøan Sømåen
e13929b7f1 WINTERMUTE: Fix another bunch of warnings
Mostly SAFE_DELETE-macro removal
2012-06-02 13:02:35 +02:00
Einar Johan Trøan Sømåen
c97705cedf WINTERMUTE: Fix a few more warnings 2012-06-02 13:02:27 +02:00
Einar Johan Trøan Sømåen
e57364959f WINTERMUTE: Add protected to ScValue 2012-06-02 13:02:22 +02:00
Einar Johan Trøan Sømåen
7c8785d846 WINTERMUTE: Require 32bpp for now. 2012-06-02 13:02:19 +02:00
Einar Johan Trøan Sømåen
11aadc5690 WINTERMUTE: Solve some const-char related warnings. 2012-06-02 13:02:10 +02:00
Einar Johan Trøan Sømåen
25f08ba402 WINTERMUTE: Remove a few defines from wintypes.h 2012-06-02 13:02:01 +02:00
Einar Johan Trøan Sømåen
c9058b5448 WINTERMUTE: Remove a few of the __WIN32__ macros. 2012-06-02 13:01:53 +02:00
Einar Johan Trøan Sømåen
7616fabf67 WINTERMUTE: Make Sprites draw again. 2012-06-02 13:01:50 +02:00
Einar Johan Trøan Sømåen
987fd67ce0 WINTERMUTE: Handle a few more forbidden symbols. 2012-06-02 13:01:45 +02:00
Einar Johan Trøan Sømåen
0d9ec2a0a9 WINTERMUTE: Remove a few warnings. 2012-06-02 13:01:36 +02:00
Einar Johan Trøan Sømåen
ff1b42259a WINTERMUTE: Unify license-headers, and header-guards. 2012-06-02 13:01:27 +02:00
Einar Johan Trøan Sømåen
ba6a2ac66e WINTERMUTE: Run Astyle on code-files to reformat. 2012-06-02 13:01:15 +02:00
Einar Johan Trøan Sømåen
2ee58d2dc3 WINTERMUTE: Add const to even more char* (Possibly the last ones) 2012-06-02 12:59:27 +02:00
Einar Johan Trøan Sømåen
ded3c2a4b4 WINTERMUTE: Add const to even more char-pointers. 2012-06-02 12:59:18 +02:00
Einar Johan Trøan Sømåen
61945782d6 WINTERMUTE: Add const to almost all char *Filename instances.
Although done semi-automatically, almost all of these accesses don't need write-access
to the string, this simplifies debugging a bit, and opens the possibility of adding in
Common::String as a replacement down the line.

This DOES change quite a bit of code, and has regressions wrt drawing, probably some
super-classes don't fully match their sub-classes wrt virtual functions any more.
2012-06-02 12:59:09 +02:00
Einar Johan Trøan Sømåen
7bd6151127 WINTERMUTE: Add empty virtual destructors to the Debugger-classes, to silence a few warnings. 2012-06-02 12:59:02 +02:00
Einar Johan Trøan Sømåen
076cd93d21 WINTERMUTE: Preliminary fontwork. 2012-06-02 12:58:53 +02:00
Einar Johan Trøan Sømåen
6faf92bfda WINTERMUTE: Fix a few swtich-related warnings in PlatformSDL. 2012-06-02 12:56:35 +02:00
Einar Johan Trøan Sømåen
26226afc5a WINTERMUTE: Fix a few warnings in BRenderSDL.h 2012-06-02 12:56:30 +02:00
Einar Johan Trøan Sømåen
6acc470bc6 WINTERMUTE: Disable fonts, and remove FreeType2. 2012-06-02 12:56:05 +02:00
Einar Johan Trøan Sømåen
7339ca988f WINTERMUTE: Fix StringUtil::EndsWith 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
ffffd68f19 WINTERMUTE: Make CBSoundBuffer initialize it's SoundHandle. 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
ab98efe595 WINTERMUTE: Make ScEngine use Common::String to avoid some double-frees. 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
d4fd90e064 WINTERMUTE: Fix font-related crash. 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
858989a685 WINTERMUTE: Comment out Mac OS X specific code. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
d2d43da4f0 WINTERMUTE: Cleanup the includes in Platform SDL
This should remove the last SDL-include in-engine
2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
4cf1d67140 WINTERMUTE: Remove a few SDL-includes. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
2e12f9fe4d WINTERMUTE: Initial conversion of events from SDL2->OSystem 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
f07690cb96 WINTERMUTE: Make the messiest warnings warn just once. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
b6f512f392 WINTERMUTE: Some refactoring in BSoundMgr. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
23dd928733 WINTERMUTE: Add in basic sound-support.
Right now, all that is supported is triggering OGG-files,
the choice of codec is hardcoded, and stopping/pausing etc isn't added in.
2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
0b8ac2f3b4 WINTERMUTE: Add a simple alpha-hack for rendering.
This is not pretty, but atleast it shows the entire first screen for 'Dirty Split' drawing fine.
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
9355850d07 WINTERMUTE: Make the engine atleast draw something. 2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
21033f631f WINTERMUTE: Cleanup the debug-warnings a bit. 2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
e31f23d75d WINTERMUTE: Make the mainloop run after initialization. 2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
620b45e517 WINTERMUTE: Start work on porting BRenderSDL away from SDL2
In particular this stubs away a few troublesome SDL-calls, that stopped us
from getting the engine to start right now.
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
66602bcd9c WINTERMUTE: Silence an error when trying to set window-title
Currently we don't set the window-title anyhow, so why trigger an error about
the text-encoding?
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
ecc03331db WINTERMUTE: Correct assumptions about PathUtil::GetExtension
This puts it in line with Common::lastPathComponent, i.e. not including the '.'
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
2f7fe9f443 WINTERMUTE: Make BPkgFiles use SubStreams for non-compressed files too.
Since we already do the assumption that we don't need to do the same package-seeks
for compressed files, this assumption needs to be carried for uncompressed files too.
2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
466596eae4 WINTERMUTE: Make BSurfaceSDL init its filename again. 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
59dffd5e86 WINTERMUTE: Correct the default-resolution to 640x480 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
cb06258124 WINTERMUTE: Avoid touching SDL_Quit in-engine 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
3a3304e324 WINTERMUTE: Make BPkgFile use zlib-streams and substreams.
Note that there is still much that could be simplified here by using
substreams more extensively, instead of the specific WinterMute-solutions
that are currently in place for dcp-files.
2012-06-02 12:42:08 +02:00
Eugene Sandulenko
28c78b956d WINTERMUTE: Mass rename m_FooBar -> _fooBar 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
84fd9d0dac WINTERMUTE: Add in the Particle-stuff, now everything links, and the AdGame-constructor starts. 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
a5d992d513 WINTERMUTE: Add the missing TinyXML-parts 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
f4b95a0d73 WINTERMUTE: Remove STL from ScValue 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
5b01f6a284 WINTERMUTE: Add BKeyboardState to build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
46458bfc00 WINTERMUTE: Add BDiskFile to build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
fd3e4b7a92 WINTERMUTE: Stub and add BRenderSDL to the build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
f32d924017 WINTERMUTE: Add BSurfaceSDL to build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
403839cd70 WINTERMUTE: Add crc to the build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
85adc3a3ba WINTERMUTE: Add ScEngine, ScValue, SXStore, SXString, SXFile and PlatformSDL to build 2012-06-02 12:41:15 +02:00
Einar Johan Trøan Sømåen
a7c12a7bd1 WINTERMUTE: Add simple detection for WinterMute 2012-06-02 12:12:37 +02:00
Einar Johan Trøan Sømåen
afee4aeacc WINTERMUTE: One big and ugly commit that resolves most of the forbidden-symbols.
The StringUtils aren't complete or tested, and the SysClasses are a hack,
and there are a few "FORBIDDEN_SYMBOL_EXCEPTIONS".

Expect this commit to need a bunch of cleanup going forwards.
2012-06-02 12:12:36 +02:00
Einar Johan Trøan Sømåen
f33e2d1824 WINTERMUTE: Silence a few SAFE_DELETE-related warnings. 2012-06-02 12:12:34 +02:00
Einar Johan Trøan Sømåen
4b2b236abd WINTERMUTE: Add most of the missing classes to the build. 2012-06-02 12:12:33 +02:00
Einar Johan Trøan Sømåen
d5b4474c36 WINTERMUTE: Make BGame almost compilable 2012-06-02 12:12:32 +02:00
Einar Johan Trøan Sømåen
ff64c8d107 WINTERMUTE: Add most of the Ad-Classes to module.mk 2012-06-02 12:12:31 +02:00
Einar Johan Trøan Sømåen
2b586a768f WINTERMUTE: Add the AD-classfiles 2012-06-02 12:12:29 +02:00
Einar Johan Trøan Sømåen
5a2cf6f36f WINTERMUTE: Add the UI-classes. 2012-06-02 12:12:27 +02:00
Einar Johan Trøan Sømåen
c609c778cc WINTERMUTE: Add most of the B-classes to module.mk 2012-06-02 12:12:24 +02:00
Einar Johan Trøan Sømåen
b602b51160 WINTERMUTE: Add the files for the rest of the B-classes. 2012-06-02 12:12:22 +02:00
Einar Johan Trøan Sømåen
72a44cdc7b WINTERMUTE: Add the script-classes 2012-06-02 12:12:20 +02:00
Einar Johan Trøan Sømåen
997c5df430 WINTERMUTE: Add BBase and BParser, and make them compile. 2012-06-02 12:12:18 +02:00
Einar Johan Trøan Sømåen
ec5f5c739e WINTERMUTE: Add in the engine-shell from the ScummVM-wiki 2012-06-02 12:12:17 +02:00