Commit Graph

26147 Commits

Author SHA1 Message Date
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