Commit Graph

950 Commits

Author SHA1 Message Date
Tobia Tesan
23d9d5b509 WINTERMUTE: Remove fixedPath snippet
fixedPath is apparently never used anywhere else in the class and this
loop can cause the next one to never get to run.
2013-07-13 12:40:01 +02:00
Eugene Sandulenko
49210a803a Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Einar Johan Trøan Sømåen
e26fb8e7d2 WINTERMUTE: Add detection for J.U.L.I.A. (Greenlight Demo) 2013-06-26 01:59:31 +02:00
Einar Johan Trøan Sømåen
b490801e64 WINTERMUTE: Set language of James Peris to unknown for now.
The selection is done via registry, so no easy fix is available yet.
2013-06-19 00:42:17 +02:00
Einar Johan Trøan Sømåen
7ffaa3936d WINTERMUTE: Add detection for James Peris: No License Nor Control (demo) 2013-06-19 00:15:33 +02:00
Einar Johan Trøan Sømåen
e61f1bd091 WINTERMUTE: Add detection for Des Reves Elastiques Avec Mille Insectes Nommes Georges
With the accents removed to avoid breaking encoding.
2013-06-18 23:05:21 +02:00
Einar Johan Trøan Sømåen
4f98984fbd WINTERMUTE: Add detection entry for The Trader of Stories (Demo) 2013-06-18 22:29:13 +02:00
Einar Johan Trøan Sømåen
c3022b537a WINTERMUTE: Minor formatting fix. 2013-06-18 22:27:19 +02:00
Einar Johan Trøan Sømåen
1e1e502628 WINTERMUTE: Add detection entry for Beyond the Threshold. 2013-06-18 22:15:09 +02:00
Einar Johan Trøan Sømåen
6db82968fb Revert "WINTERMUTE: Prevent warning about duplicate files when autodetecting."
This reverts commit 4401f40f72.
2013-06-18 22:05:15 +02:00
Einar Johan Trøan Sømåen
7cc19bf29d WINTERMUTE: Avoid explicitly including <math.h> 2013-06-18 01:35:49 +02:00
Tobia Tesan
4401f40f72 WINTERMUTE: Prevent warning about duplicate files when autodetecting.
Removed a call to BaseFileManager::registerPackages() in
WintermuteEngine::getGameInfo(), as the constructor for BaseFileManager
already calls registerPackages() once; another call should thus be
superfluous.
2013-06-06 23:34:06 +02:00
Tobia Tesan
4105805505 WINTERMUTE: Fix for unnecessary "WARNING: getChildren() failed for path:"
FSNode::getChildren() was called assuming that it returns 0 iff success.
Actually, it's the other way around.
2013-06-06 23:33:50 +02:00
Einar Johan T. Sømåen
81282b52e7 WINTERMUTE: Fix erroneous _gameRef in BaseQuickMSG
CID 1002323
2013-05-23 14:03:06 +02:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Einar Johan Trøan Sømåen
182c1a1ff5 WINTERMUTE: Cap the renderqueue to 800. 2013-04-23 11:28:18 +02:00
Einar Johan Trøan Sømåen
86b93a84c9 WINTERMUTE: Fix non-dirty-rect render-path. 2013-04-23 11:28:18 +02:00
Einar Johan Trøan Sømåen
6434258722 WINTERMUTE: Mark Chivalry as ADGF_TESTING. 2013-04-22 16:24:26 +02:00
Einar Johan Trøan Sømåen
0695739239 WINTERMUTE: Use the theme-path to find scummodern.zip 2013-04-22 16:14:11 +02:00
Einar Johan Trøan Sømåen
b97edfcbe0 WINTERMUTE: Fix the final int->int32 to allow AmigaOS4-compile. 2013-04-21 00:24:02 +02:00
Einar Johan Trøan Sømåen
f1c3869669 WINTERMUTE: Fix ScriptExtDate-saving (bump savegame-version to 1.2.1).
This also fixes int->int32 in ScriptExtDate::transfer.
2013-04-20 18:32:42 +02:00
Einar Johan Trøan Sømåen
d8eff7be22 WINTERMUTE: Change ScriptValue to use int32. 2013-04-20 18:18:54 +02:00
Einar Johan Trøan Sømåen
51e17d9f86 WINTERMUTE: Further reduce the amount of int->int32-confusion. 2013-04-20 18:11:47 +02:00
Einar Johan Trøan Sømåen
2625f3931a WINTERMUTE: Fix a few more int->int32's spotted by fuzzie. 2013-04-20 17:37:19 +02:00
Einar Johan Trøan Sømåen
839c16e848 WINTERMUTE: Let TMEMBER_INT take int32, not int. 2013-04-20 17:16:56 +02:00
Einar Johan Trøan Sømåen
2a2264dc61 WINTERMUTE: Use int32 in coll_templ.h 2013-04-20 17:11:09 +02:00
Einar Johan Trøan Sømåen
c5bd3ecb13 WINTERMUTE: Change more int's to int32s. 2013-04-19 18:20:43 +02:00
Einar Johan Trøan Sømåen
9184bb5c24 WINTERMUTE: Add overrides to Font-classes. 2013-04-19 18:15:25 +02:00
Einar Johan Trøan Sømåen
a2fb3dfe9e WINTERMUTE: Replace a few more ints by int32s. 2013-04-19 18:13:42 +02:00
Einar Johan Trøan Sømåen
315550c0f8 WINTERMUTE: Change transfer(int *val) to transfer(int32 *val) 2013-04-19 17:29:34 +02:00
Einar Johan Trøan Sømåen
72d0affe01 WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid overload-misses. 2013-04-19 17:17:53 +02:00
Einar Johan Trøan Sømåen
60a474d452 WINTERMUTE: Initialize member _gameRef in SaveThumbHelper 2013-04-19 17:17:41 +02:00
Johannes Schickel
2785c3a528 Merge pull request #322 from fingolfin/fix-clang-warnings
Fix clang warnings
2013-04-19 06:43:47 -07:00
Strangerke
caa04fb8bf JANITORIAL: Add a CRLF at the end of the file to fix compilation using MSVC (complete previous commit) 2013-04-19 00:02:51 +02:00
Strangerke
69dd65aa93 JANITORIAL: Add a CRLF at the end of the file to fix compilation using MSVC 2013-04-19 00:00:25 +02:00
Max Horn
2a10f6a97f WINTERMUTE: Do not us char literals to index an array
This silences a clang warning
2013-04-18 23:50:20 +02:00
Max Horn
b791edabf7 ENGINES: Remove a bunch of unused private member variables
All instances uncovered by clang warnings.
2013-04-18 23:50:20 +02:00
Einar Johan Trøan Sømåen
6c55213cd5 WINTERMUTE: Add 'override' to most Script-related functions. 2013-04-18 18:04:51 +02:00
Einar Johan Trøan Sømåen
b6242d0ea5 WINTERMUTE: Use int32 instead of int in classes. 2013-04-18 17:45:50 +02:00
Einar Johan Trøan Sømåen
a00c372f9e WINTERMUTE: Get Renderer from BaseEngine, not BaseGame in BaseClasses. 2013-04-18 12:31:27 +02:00
Einar Johan Trøan Sømåen
8bcaf3e06c WINTERMUTE: Use BaseEngine for Logging, not _gameRef in base-classes. 2013-04-18 12:24:42 +02:00
Einar Johan Trøan Sømåen
a4f7763579 WINTERMUTE: Avoid including BaseGame in PartEmitter. 2013-04-18 12:17:58 +02:00
Einar Johan Trøan Sømåen
e5b2107704 WINTERMUTE: Avoid including BaseGame in BaseSoundManager. 2013-04-18 12:15:05 +02:00
Einar Johan Trøan Sømåen
32ace5f9d2 WINTERMUTE: Avoid including BaseGame in BaseFader. 2013-04-18 12:13:12 +02:00
Einar Johan Trøan Sømåen
8f25b651e8 WINTERMUTE: Split the timers from BaseGame into a separate class. 2013-04-18 12:10:40 +02:00
Einar Johan Trøan Sømåen
7ee757366b WINTERMUTE: Avoid including BaseGame in BaseViewport. 2013-04-18 11:19:26 +02:00
Einar Johan Trøan Sømåen
a8f4f20f38 WINTERMUTE: Avoid including BaseGame in BaseFrame. 2013-04-18 11:13:32 +02:00
Einar Johan Trøan Sømåen
4783d643f6 WINTERMUTE: Constify AdRotLevel 2013-04-18 10:13:02 +02:00
Einar Johan Trøan Sømåen
d926b47186 WINTERMUTE: Constify AdResponse/AdResponseBox/AdResponseContext. 2013-04-18 10:13:02 +02:00
Einar Johan Trøan Sømåen
9dea64209d WINTERMUTE: Add more const to AdResponseBox 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
b71570b4c8 WINTERMUTE: Improve const-usage in VideoTheoraPlayer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
76d9256679 WINTERMUTE: Protect more members in BaseRenderer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
3597f7596d WINTERMUTE: Constify _width and _height in BaseRenderer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
5f5b415289 WINTERMUTE: Increase const-usage. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
7f4b95b3f8 WINTERMUTE: Use only const BaseGame-ref in SaveThumbHelper. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
411b7128ab WINTERMUTE: Rename base_save_thumb_helper.cpp to match class-hierarchy. 2013-04-17 21:21:16 +02:00
Einar Johan Trøan Sømåen
e1bce6377d WINTERMUTE: Detach BaseSaveThumbHelper from inheritance tree. 2013-04-17 21:21:16 +02:00
Einar Johan Trøan Sømåen
95164a8f24 WINTERMUTE: Avoid including BaseGame in BaseRegion. 2013-04-17 20:06:53 +02:00
Einar Johan Trøan Sømåen
769b1084ab WINTERMUTE: Privatize even more members in BaseGame. 2013-04-17 20:02:08 +02:00
Einar Johan Trøan Sømåen
fd7c38f6d8 WINTERMUTE: Privatize thumbnail sizes in BaseGame. 2013-04-17 19:57:39 +02:00
Einar Johan Trøan Sømåen
122279a10a WINTERMUTE: Privatize more members of BaseGame. 2013-04-17 19:51:57 +02:00
Einar Johan Trøan Sømåen
cbae39ab87 WINTERMUTE: Move settings from BaseGame to separate struct. 2013-04-17 19:42:05 +02:00
Einar Johan Trøan Sømåen
75443da53f WINTERMUTE: Use strlcpy instead of strcpy in AdScene::loadBuffer() 2013-04-17 17:15:31 +02:00
Einar Johan Trøan Sømåen
3ff6af3dde WINTERMUTE: Use strlcpy instead of strcpy in SXString::scCallMethod() 2013-04-17 17:11:44 +02:00
Einar Johan Trøan Sømåen
6ccfac7e33 WINTERMUTE: Avoid dereferncing null-pointer in TransparentSurface 2013-04-17 17:08:58 +02:00
Einar Johan Trøan Sømåen
c303428f48 WINTERMUTE: Avoid div-by-zero in SystemClassRegistry::loadInstances() 2013-04-17 17:02:09 +02:00
Einar Johan Trøan Sømåen
136931d7c7 WINTERMUTE: Avoid div-by-zero in SystemClassRegistry::loadTable 2013-04-17 17:00:44 +02:00
Einar Johan Trøan Sømåen
d7531327d1 WINTERMUTE: Check results while traversing file-system. 2013-04-17 16:54:27 +02:00
Einar Johan Trøan Sømåen
167c9f534b WINTERMUTE: Avoid passing BasePoint by value in Scene::getPath() 2013-04-17 16:47:27 +02:00
Einar Johan Trøan Sømåen
c93a9c4805 WINTERMUTE: Avoid passing BasePoint by-value 2013-04-17 16:45:14 +02:00
Einar Johan Trøan Sømåen
5be672a8f4 WINTERMUTE: Add sanity check to VideoTheoraPlayer 2013-04-17 16:40:38 +02:00
Einar Johan Trøan Sømåen
23b8b66fcb WINTERMUTE: Remove unused member _volumeOriginal 2013-04-17 16:32:49 +02:00
Einar Johan Trøan Sømåen
faf688a252 WINTERMUTE: Initialize _savedTimeStamp and _savedPlayTime 2013-04-17 16:20:20 +02:00
Einar Johan Trøan Sømåen
ad5ef64b86 WINTERMUTE: Replace strcat with strlcat in BaseGame::displayDebugInfo 2013-04-17 16:13:18 +02:00
Einar Johan Trøan Sømåen
3185e91576 WINTERMUTE: Use strlcat/strlcpy in BaseGame::setWindowTitle 2013-04-17 16:09:35 +02:00
Einar Johan Trøan Sømåen
a69512a0c2 WINTERMUTE: Avoid passing BasePoint by value. 2013-04-17 16:05:20 +02:00
Einar Johan Trøan Sømåen
8430c491f0 WINTERMUTE: Replace strcpy by strlcpy in BaseFileManager 2013-04-17 15:35:09 +02:00
Einar Johan Trøan Sømåen
4ab80160da WINTERMUTE: Add a sanity check for _game. 2013-04-17 15:25:10 +02:00
Einar Johan Trøan Sømåen
c64386fe88 WINTERMUTE: Initialize _gameDescription in default-constructor. 2013-04-17 15:17:56 +02:00
Willem Jan Palenstijn
250967a63f WINTERMUTE: Fix warnings and improve const-correctness 2013-04-15 20:44:41 +02:00
Willem Jan Palenstijn
d4982381d2 WINTERMUTE: Fix side effect of assert 2013-04-15 20:36:03 +02:00
Einar Johan Trøan Sømåen
3ea0e7c68c WINTERMUTE: Fix leak on incomplete image load. 2013-04-15 18:57:46 +02:00
Einar Johan Trøan Sømåen
92dd483e9e WINTERMUTE: Fix comparison in renderTicket. 2013-04-15 18:57:41 +02:00
JenniBee
a8a7276c18 WINTERMUTE: Add detection entry for Dreamscape 2013-04-14 10:54:49 -04:00
JenniBee
dab51f1d89 WINTERMUTE: Add Reversion: The Escape 1.3 and fix previous detection entires. 2013-04-14 01:50:23 -04:00
JenniBee
848f44f72a WINTERMUTE: Added detection entries for Reversion: The Meeting 2013-04-13 15:27:52 -04:00
Einar Johan Trøan Sømåen
5bd1bf1d6d WINTERMUTE: Use {} instead of () in detection entries, fix build. 2013-04-13 14:49:34 +02:00
Einar Johan Trøan Sømåen
875cfa6e58 Merge pull request #295 from JenniBee/wintermute_md5_checksum
WINTERMUTE: added md5 checksum for version 1.1 of Reversion: The Escape
2013-04-13 05:37:13 -07:00
JenniBee
08520377da WINTERMUTE: Fixed the Reversion 1.1 Entries 2013-04-13 02:05:21 -04:00
JenniBee
f9e436a1b7 WINTERMUTE: added md5 checksums for version 1.1 of Reversion: The Escape 2013-04-07 14:16:44 -04:00
anotherguest
f9247f0bce WINTERMUTE: Use template with MIN 2013-04-04 15:39:54 +02:00
Filippos Karapetis
4990bdfbe5 WINTERMUTE: Add a console command, "dump_file", to dump resource files to disk 2013-03-30 21:21:51 +02:00
D G Turner
69ba094f60 WINTERMUTE: Really fix build breakage...
strlcpy() needed qualification of Common namespace.
2013-03-24 19:04:36 +00:00
D G Turner
502cde4fa0 WINTERMUTE: Fix build breaking missing header declaration.
This is required to declare the strlcpy() function.
2013-03-24 18:56:48 +00:00
Einar Johan Trøan Sømåen
ef61c64f3f WINTERMUTE: Detach BaseQuickMsg from the class-hierarchy. (Remove useless inheritance) 2013-03-24 19:02:34 +01:00
Einar Johan Trøan Sømåen
d136e20d6e WINTERMUTE: Replace WMELite's String-Split-function with code from WME. 2013-03-24 18:55:33 +01:00
Einar Johan Trøan Sømåen
f17d69f23e WINTERMUTE: Fix random crash after save/load. 2013-03-24 18:31:01 +01:00
Einar Johan Trøan Sømåen
7d0d498a56 WINTERMUTE: Add detection entries for Carol Reed 4-9 (renaming East Side Story to Carol Reed 4) 2013-03-24 17:41:10 +01:00
Einar Johan Trøan Sømåen
dedde93d1e WINTERMUTE: Avoid REQUIRING wintermute.zip during detection. 2013-03-24 17:41:10 +01:00
Einar Johan Trøan Sømåen
511f833032 WINTERMUTE: Use case-insensitive path-lookup when opening DiskFiles. 2013-02-06 13:40:36 +01:00
Einar Johan Trøan Sømåen
09303f6d1a WINTERMUTE: Get rid of BaseImage.h inclusion in BaseGame. 2013-02-06 13:40:36 +01:00
Einar Johan Trøan Sømåen
74e32bd332 WINTERMUTE: Privatize a few more members in BaseGame. 2013-02-06 13:40:35 +01:00
Einar Johan Trøan Sømåen
cef07f30d8 WINTERMUTE: Avoid applying color-keys to ALL images with bpp >= 3. 2013-02-01 02:06:07 +01:00
Einar Johan Trøan Sømåen
d12a0e1423 WINTERMUTE: Apply color-key if no alpha-channel is present
(Instead of using the bpp to detect it).
2013-02-01 01:55:16 +01:00
Einar Johan Trøan Sømåen
6b614f8ff5 WINTERMUTE: Avoid using ldepxf/frexpf 2013-02-01 00:48:47 +01:00
Einar Johan Trøan Sømåen
fcc33c22d8 WINTERMUTE: Force the screen to black after loading/saving. 2013-02-01 00:48:30 +01:00
Einar Johan Trøan Sømåen
0407906bfa WINTERMUTE: Redo the way floats are saved, break savegame compatibility with WME Lite completely.
(This also breaks compatibility with savegames from ScummVM prior to this commit, AND resets the
Savegame-version, older savegames will have differing MAGIC-numbers in their headers, and will thus
not be recognized).
2013-01-31 23:59:21 +01:00
Einar Johan Trøan Sømåen
9eff1e514f WINTERMUTE: Move Resources out of binary and into wintermute.zip 2013-01-28 09:20:14 +01:00
Einar Johan Trøan Sømåen
980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen
798b440256 WINTERMUTE: Replace a few NULLs with nullptr. 2013-01-26 17:36:20 +01:00
Einar Johan Trøan Sømåen
8469b866cf WINTERMUTE: Add override-tags to most of the overriden functions in base/gfx. 2013-01-26 17:29:38 +01:00
Einar Johan Trøan Sømåen
3b77a97b40 WINTERMUTE: Don't cast bool to pointer. 2013-01-26 13:44:46 +01:00
Einar Johan Trøan Sømåen
454542eba1 WINTERMUTE: Even more formatting fixes. 2013-01-24 20:27:03 +01:00
Einar Johan Trøan Sømåen
c239b868da WINTERMUTE: More formatting fixes. 2013-01-24 20:17:17 +01:00
Einar Johan Trøan Sømåen
5d4d65d6d9 JANITORIAL: Fix ){ -> ) { 2013-01-24 20:15:13 +01:00
Einar Johan Trøan Sømåen
2507b5db8d WINTERMUTE: Fix formatting in persistent.h 2013-01-24 18:46:32 +01:00
Einar Johan Trøan Sømåen
487539f102 WINTERMUTE: Remove commented out code. 2013-01-24 18:39:57 +01:00
Einar Johan Trøan Sømåen
1fee32ce45 WINTERMUTE: Return something from repeatLastDisplayOp 2013-01-24 18:24:47 +01:00
Einar Johan Trøan Sømåen
199425562e WINTERMUTE: Fix a leak in sound-file loading. 2013-01-24 17:49:24 +01:00
Einar Johan Trøan Sømåen
17809d0fb3 WINTERMUTE: Delete the _dirtyRect-field of BaseRenderOSystem in the destructor. 2013-01-24 17:27:50 +01:00
Einar Johan Trøan Sømåen
5453f7f7e6 WINTERMUTE: Delete the renderTickets when deleting BaseRenderOSystem 2013-01-24 17:24:31 +01:00
Einar Johan Trøan Sømåen
9d7bcd4aaa WINTERMUTE: Initialize debugger-variables in WinterMuteEngine. 2013-01-24 17:18:42 +01:00
Einar Johan Trøan Sømåen
426dda70e1 WINTERMUTE: Don't scale 2Bpp images with code aimed at 4Bpp 2013-01-24 17:14:51 +01:00
Einar Johan Trøan Sømåen
a1a6354687 WINTERMUTE: Don't scroll as fast as the scripts actually ask for. 2013-01-24 16:12:35 +01:00
Einar Johan Trøan Sømåen
e829a57762 WINTERMUTE: Fix scrollspeed (and break character animation the same way WME Lite does) 2013-01-24 15:12:02 +01:00
Einar Johan Trøan Sømåen
2e8e3ae13e WINTERMUTE: Don't draw tickets instantly. 2013-01-24 15:11:56 +01:00
Einar Johan Trøan Sømåen
519821b53b WINTERMUTE: Further improve UITiledImage-drawing. 2013-01-24 15:11:28 +01:00
Einar Johan Trøan Sømåen
5ba950c8a4 WINTERMUTE: Add the possibility of enabling/disabling FPS from Debugger. 2013-01-23 11:32:06 +01:00
Einar Johan Trøan Sømåen
efbe9bdae1 WINTERMUTE: Add in debugger-console, enabled by Ctrl-d 2013-01-23 11:18:44 +01:00
Einar Johan Trøan Sømåen
6476ba33d2 WINTERMUTE: Fix double delete of TTFs. 2013-01-23 01:40:13 +01:00
Einar Johan Trøan Sømåen
53f0871b07 WINTERMUTE: Store savegame-thumbs in game-specific sizes too. 2013-01-23 01:32:51 +01:00
Einar Johan Trøan Sømåen
57bc6374f4 WINTERMUTE: Use FreeSans from ScummModern.zip if the requested font is unavailable.
Right now this is the ONLY replacement in place, but Arial is also the default font for WME, so it should cover most cases.
2013-01-23 00:34:04 +01:00
Einar Johan Trøan Sømåen
2c2fe9e941 WINTERMUTE: Correct a delete/delete[]-mismatch pointed out by valgrind 2013-01-22 23:38:00 +01:00
Filippos Karapetis
338c88e5c2 WINTERMUTE: Fix incorrect reversion of code in BaseRenderOSystem::drawLine() 2013-01-23 00:25:38 +02:00
Filippos Karapetis
03634d0833 WINTERMUTE: Fix invalid reads and crashes in BaseRenderOSystem::drawSurface() 2013-01-23 00:21:32 +02:00
Einar Johan Trøan Sømåen
d52ad7e0eb WINTERMUTE: Use prefix-operators on iterators. 2013-01-22 23:00:47 +01:00
Einar Johan Trøan Sømåen
ff1e91226d WINTERMUTE: Allow users to enable the FPS-counter in the GUI, and disable MT32-settings. 2013-01-22 22:05:20 +01:00
Einar Johan Trøan Sømåen
4095b76939 WINTERMUTE: Silence a warning. 2013-01-22 20:58:23 +01:00
Einar Johan Trøan Sømåen
bede97c52c WINTERMUTE: Store larger thumbnails (Bump Savegame-version to 1.2.0.0) 2013-01-22 20:58:12 +01:00
Einar Johan Trøan Sømåen
c6df5f9994 WINTERMUTE: Mark drawLine as unused with dirty-rects. 2013-01-22 19:53:55 +01:00
Einar Johan Trøan Sømåen
d322592037 WINTERMUTE: Guard ConfMan a bit better. 2013-01-22 19:18:29 +01:00
Einar Johan Trøan Sømåen
472f722556 WINTERMUTE: Store MasterVolume in % instead of 0-255 to ConfMan. 2013-01-22 16:43:31 +01:00
Einar Johan Trøan Sømåen
4ba603807a WINTERMUTE: Add a hack to skip a single frame after saving/loading. (Fix Bug: #3592874) 2013-01-22 16:24:49 +01:00
Einar Johan Trøan Sømåen
6a972052ad WINTERMUTE: Remove unneccessary include. 2013-01-22 15:52:54 +01:00
Einar Johan Trøan Sømåen
9ec8c509da WINTERMUTE: Lie to the scripts about the exact master volume-% to avoid round-off-issues.
(Fix Bug #3592875)
2013-01-22 15:42:56 +01:00
Einar Johan Trøan Sømåen
7143eaed89 WINTERMUTE: Properly create WAV-substreams, (fix bug #3592165) 2013-01-22 15:10:01 +01:00
Johannes Schickel
4a7ddc6956 WINTERMUTE: Fix const away cast warning. 2013-01-09 08:18:05 +01:00
Einar Johan Trøan Sømåen
c93a7c3921 WINTERMUTE: Actually lock the framerate at 60fps. 2012-12-16 23:38:09 +01:00
Einar Johan Trøan Sømåen
127afbac8c WINTERMUTE: Don't check the entire ticket-queue for every ticket. 2012-12-16 23:13:58 +01:00
Einar Johan Trøan Sømåen
6d79a66766 WINTERMUTE: Move draw-code to render_ticket.cpp 2012-12-16 23:13:58 +01:00
Einar Johan Trøan Sømåen
7bbd26c9a8 WINTERMUTE: Fix a memory-leak in the thumb-nail loading. 2012-12-13 23:27:38 +01:00
Einar Johan Trøan Sømåen
d6ec8c1947 WINTERMUTE: Split renderTicket into a separate file. 2012-12-13 23:24:37 +01:00
Einar Johan Trøan Sømåen
61f387190c WINTERMUTE: Avoid unneccessary alpha-blits when using dirty-rects. 2012-12-13 22:17:36 +01:00
Einar Johan Trøan Sømåen
18a10a7744 WINTERMUTE: Scale thumbs to kThumbNailWidth/kThumbNailHeight 2012-12-13 21:35:37 +01:00
Einar Johan Trøan Sømåen
7319ccd84f WINTERMUTE: Implement simple sprite-batching to speed up tileImage-drawing. 2012-12-13 21:08:12 +01:00
Einar Johan Trøan Sømåen
9f9b6e2af8 WINTERMUTE: Further optimize drawTicket-checking. 2012-12-13 20:55:49 +01:00
Einar Johan Trøan Sømåen
af857147c2 WINTERMUTE: Privatize members in UITiledImage 2012-12-13 20:55:17 +01:00
Einar Johan Trøan Sømåen
e30271e6f6 WINTERMUTE: Correct the char-code check in BaseKeyboardState 2012-12-13 20:40:40 +01:00
Einar Johan Trøan Sømåen
c785a2bca6 WINTERMUTE: Check renderTicket-owner before anything else. 2012-12-13 20:34:45 +01:00
Einar Johan Trøan Sømåen
aebdeb183f WINTERMUTE: Use ascii for detecting printable-characters instead of Keycode. 2012-12-13 20:12:08 +01:00
Matthew Hoops
00e5169991 WINTERMUTE: Fix a gcc warning 2012-12-09 21:58:39 -05:00
Einar Johan Trøan Sømåen
c9c90e925a WINTERMUTE: Privatize members in AdObject. 2012-12-09 18:10:07 +01:00
Einar Johan Trøan Sømåen
8f33a2ea0b WINTERMUTE: Privatize members in AdSceneState 2012-12-09 17:06:13 +01:00
Einar Johan Trøan Sømåen
4985a89b36 WINTERMUTE: Mark savedGameExt and localSaveDir for eventual removal. 2012-12-09 16:53:33 +01:00
Einar Johan Trøan Sømåen
6a0f72bee0 WINTERMUTE: Remove unused include in BaseGame 2012-12-09 16:50:12 +01:00
Einar Johan Trøan Sømåen
9bd16b80c9 WINTERMUTE: Remove code moved in previous commit. 2012-12-09 16:45:20 +01:00
Einar Johan Trøan Sømåen
6bde2926c1 WINTERMUTE: Move "GetSoundLength" to BaseGameMusic 2012-12-09 16:41:18 +01:00
Einar Johan Trøan Sømåen
115e60e7cb WINTERMUTE: Split out the music-related functionality of BaseGame to a separate class. 2012-12-09 16:31:47 +01:00
Einar Johan Trøan Sømåen
83ecd85e78 WINTERMUTE: Only warn about drawLine once. 2012-12-09 12:54:52 +01:00
Einar Johan Trøan Sømåen
2ede3f58a0 WINTERMUTE: Privatize members of AdResponseBox 2012-12-09 12:49:23 +01:00
Einar Johan Trøan Sømåen
7ff74312a0 WINTERMUTE: Make AdScaleLevel::getScale() const. 2012-12-09 12:27:27 +01:00
Einar Johan Trøan Sømåen
ae4380b88f WINTERMUTE: Make getters const in AdRegion 2012-12-09 12:26:43 +01:00
Einar Johan Trøan Sømåen
233ca0be4a WINTERMUTE: Privatize members in AdEntity 2012-12-09 12:25:20 +01:00
Einar Johan Trøan Sømåen
32e63091d6 WINTERMUTE: Privatize AdScaleLevel and AdWaypointGroup's members. 2012-12-09 12:18:38 +01:00
Einar Johan Trøan Sømåen
0e93e898c5 WINTERMUTE: Privatize members in AdRegion 2012-12-09 12:13:04 +01:00
Einar Johan Trøan Sømåen
8d866683d9 WINTERMUTE: Fix the rest of the Common:sort comparators. 2012-12-09 11:08:04 +01:00
Einar Johan Trøan Sømåen
517980d43e WINTERMUTE: Use uint32 to fix warning in drawTickets() 2012-12-09 01:04:12 +01:00
Einar Johan Trøan Sømåen
e489b69324 WINTERMUTE: Fix Object-sorting in scenes. 2012-12-09 01:03:36 +01:00
Einar Johan Trøan Sømåen
0d52e27be2 WINTERMUTE: Add another detection-entry for Chivalry is not Dead 2012-12-05 12:14:29 +01:00
Einar Johan Trøan Sømåen
997386d15c WINTERMUTE: Enable dirty rects by default. 2012-12-03 11:33:11 +01:00
Einar Johan Trøan Sømåen
53512b0841 WINTERMUTE: Const-ify member-functions that obviously should be const. 2012-12-03 10:42:58 +01:00
Einar Johan Trøan Sømåen
7071acfa47 WINTERMUTE: Privatize members in BaseKeyboardState 2012-12-03 10:17:39 +01:00
Einar Johan Trøan Sømåen
ea024cd203 WINTERMUTE: Avoid including script_ext_math.h in base_game.cpp 2012-12-02 20:46:26 +01:00
Einar Johan Trøan Sømåen
d54df32483 WINTERMUTE: Fix a warning from buildbot. 2012-12-02 08:38:20 +01:00
Einar Johan Trøan Sømåen
1ac6936a75 WINTERMUTE: Correct wrong logic in last commit. 2012-12-02 08:34:55 +01:00
Einar Johan Trøan Sømåen
2c1eb9d0f5 WINTERMUTE: Make dirty rect-rendering available in config-file. 2012-12-02 08:29:48 +01:00
Einar Johan Trøan Sømåen
ecb88fe342 WINTERMUTE: Fix a warning. 2012-12-02 08:00:04 +01:00
Einar Johan Trøan Sømåen
9d42b57c36 WINTERMUTE: Draw invalid tickets too (as they must have become invalid AFTER their draw-call) 2012-12-02 07:59:35 +01:00
Einar Johan Trøan Sømåen
72b198b752 WINTERMUTE: Reset renderTicket-system on SaveGame-load 2012-12-02 07:55:59 +01:00
Einar Johan Trøan Sømåen
c00ee9d801 WINTERMUTE: Reset _wantsDraw when no part of the screen is dirty. 2012-12-02 07:54:51 +01:00
Einar Johan Trøan Sømåen
4efd40e41e WINTERMUTE: Make the TTF-cache actually use LRU. 2012-12-02 07:25:12 +01:00
Einar Johan Trøan Sømåen
228785eda2 WINTERMUTE: Convert ' correctly from CP1252 2012-10-23 03:05:17 +02:00
Einar Johan Trøan Sømåen
4aa1c63eb1 WINTERMUTE: Add a hack to allow videos to loop 2012-10-23 02:34:27 +02:00
Einar Johan Trøan Sømåen
4ba8819582 WINTERMUTE: Avoid using __DATE__ and __TIME__ in-engine 2012-10-22 23:01:00 +02:00
Einar Johan Trøan Sømåen
afc21941e3 WINTERMUTE: Make scGetProperty use Common::String& instead of const char* 2012-09-29 00:47:12 +02:00
Einar Johan Trøan Sømåen
67a7f5b306 WINTERMUTE: Privatize variables in BaseQuickMsg 2012-09-28 23:57:42 +02:00
Einar Johan Trøan Sømåen
03e7bffc77 WINTERMUTE: Privatize variables in BaseRegion and BaseSubFrame 2012-09-28 23:55:41 +02:00
Einar Johan Trøan Sømåen
b31d6212ff WINTERMUTE: Privatize variables in BaseFrame and BaseSprite 2012-09-28 23:43:43 +02:00
Einar Johan Trøan Sømåen
f6d7d05343 WINTERMUTE: Privatize variables in BaseFader 2012-09-28 23:43:35 +02:00
Einar Johan Trøan Sømåen
ee4a92cce5 WINTERMUTE: Privatise member-variables in BaseDynamicBuffer 2012-09-28 15:42:08 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Willem Jan Palenstijn
edeedc3cc5 WINTERMUTE: Fix leak 2012-09-24 19:25:31 +02:00
Torbjörn Andersson
f437e1df32 WINTERMUTE: Remove unnecessary semicolons. 2012-09-24 00:11:49 +02:00
Einar Johan Trøan Sømåen
b1ec9280fd WINTERMUTE: Disable aspect-ratio correction for now. 2012-09-15 18:05:18 +02:00
Einar Johan Trøan Sømåen
f33884b020 WINTERMUTE: Remove a few more unused includes. 2012-09-11 03:40:56 +02:00
Einar Johan Trøan Sømåen
8c864170a4 WINTERMUTE: Remove unneccessary includes of base_file.h 2012-09-11 03:11:02 +02:00
Einar Johan Trøan Sømåen
ef021656b8 WINTERMUTE: Alphabetize the includes in Ad/ 2012-09-11 03:03:17 +02:00
Einar Johan Trøan Sømåen
2a6e551695 WINTERMUTE: Only include base_renderer.h where needed 2012-09-11 02:51:33 +02:00
Einar Johan Trøan Sømåen
74d521485f WINTERMUTE: Remove engine-specific README 2012-09-07 01:56:28 +02:00
Willem Jan Palenstijn
b4090ead4d WINTERMUTE: Convert CRLF to LF 2012-09-04 22:17:23 +02:00
Johannes Schickel
df80820184 Revert "WINTERMUTE: Fix compilation when vorbis isn't available"
This reverts commit 4cfd906cec.

We now have vorbis as a hard requirement for Wintermute. Also somaen said this
commit causes issues, so we agreed on reverting this hack.
2012-09-04 20:38:22 +02:00
Johannes Schickel
a8518eebe6 Revert "WINTERMUTE: Remove extra semicolon."
This reverts commit 9989a4f3da.
Note: Don't blind fix warnings of broken builds.

Conflicts:
	engines/wintermute/base/base_keyboard_state.cpp
2012-09-04 19:51:33 +02:00
Johannes Schickel
e8f2742cc7 WINTERMUTE: Replace VKeyCodes constant names.
This is a purely cosmetical change, which should help compilation on systems,
which use VK_* for internal constants. This should help compilation for WinCE.
2012-09-04 19:43:15 +02:00
Johannes Schickel
9989a4f3da WINTERMUTE: Remove extra semicolon. 2012-09-04 19:41:58 +02:00
Filippos Karapetis
4cfd906cec WINTERMUTE: Fix compilation when vorbis isn't available 2012-09-04 20:27:19 +03:00
Filippos Karapetis
00ad58c29b WINTERMUTE: Fix a warning with MSVC 2012-09-04 20:10:30 +03:00
Einar Johan Trøan Sømåen
7b17d8060d WINTERMUTE: Fix various comments. 2012-09-01 14:04:23 +02:00
Einar Johan Trøan Sømåen
4a6c031e31 WINTERMUTE: Fix a regression from the getSize()->size() change. 2012-08-31 21:50:12 +02:00
Einar Johan Trøan Sømåen
e067520bb9 WINTERMUTE: Use tabs in enums 2012-08-31 21:03:29 +02:00
Einar Johan Trøan Sømåen
59b1bbfa15 WINTERMUTE: Even more fixes to header-guards. 2012-08-31 20:52:23 +02:00
Einar Johan Trøan Sømåen
fb367d1ac3 WINTERMUTE: Fix a type in the header-guard-fix for base_active_rect.h 2012-08-31 20:14:34 +02:00
Einar Johan Trøan Sømåen
313376c329 WINTERMUTE: Fix a warning I missed in the last commit. 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen
7027741de7 WINTERMUTE: Fix warnings 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen
158a206086 WINTERMUTE: Use ++it instead of it++ 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen
8cf7d765c0 WINTERMUTE: General cleanup 2012-08-31 20:00:40 +02:00
Einar Johan Trøan Sømåen
07c27b775c WINTERMUTE: Cleanup the header-guards. 2012-08-31 20:00:32 +02:00
Einar Johan Trøan Sømåen
2fd38f47e0 WINTERMUTE: Replace col_templ's getSize with Common::Array::size() 2012-08-31 19:23:41 +02:00
Einar Johan Trøan Sømåen
969f4d5947 WINTERMUTE: Take int32 as parameters in Rect32. 2012-08-31 17:37:25 +02:00
Einar Johan Trøan Sømåen
8a212c3b6c WINTERMUTE: Add namespacing to the UTF-conversion code 2012-08-31 17:29:16 +02:00
Einar Johan Trøan Sømåen
b01f09e82f WINTERMUTE: Use <math.h> instead of <cmath> 2012-08-31 17:28:37 +02:00
Einar Johan Trøan Sømåen
d5f92497e6 WINTERMUTE: Correct some endif-comments. 2012-08-31 17:16:49 +02:00
Einar Johan Trøan Sømåen
2d70964e9c WINTERMUTE: Use tabs instead of spaces in ad_types.h 2012-08-31 17:15:03 +02:00
Einar Johan Trøan Sømåen
06caf2da98 WINTERMUTE: Use tabs instead of spaces for indenting dctypes.h 2012-08-31 17:10:01 +02:00
Einar Johan Trøan Sømåen
3dc5d32e85 WINTERMUTE: Replace qsort with Common::sort 2012-08-31 16:55:17 +02:00
Einar Johan Trøan Sømåen
71981aaecf WINTERMUTE: Simplify getNodeForRelativePath 2012-08-31 16:34:12 +02:00
Einar Johan Trøan Sømåen
764ca7a51a WINTERMUTE: Fix some of the clang++ warnings listed by LordHoto 2012-08-31 14:21:33 +02:00
Einar Johan Trøan Sømåen
2039ea6b8d WINTERMUTE: Fix g++ warnings listed by LordHoto 2012-08-31 14:01:18 +02:00
Einar Johan Trøan Sømåen
16b27090b1 WINTERMUTE: Update to use new TGA-decoder and new Video-system 2012-08-31 13:49:38 +02:00
Einar Johan Trøan Sømåen
246109839b WINTERMUTE: Be case-insensitive when testing for sound-format. 2012-08-19 23:49:29 +02:00
Einar Johan Trøan Sømåen
eacb0b1698 WINTERMUTE: Make use of the wday-field in dates, instead of a wrong mday-value. 2012-08-15 02:36:08 +02:00
Einar Johan Trøan Sømåen
10ca0f136d WINTERMUTE: Clear out some commented-out code. 2012-08-15 02:35:11 +02:00
Einar Johan Trøan Sømåen
e01dc47414 WINTERMUTE: Fill the screen with fillRect for now. 2012-08-14 18:20:12 +02:00
Einar Johan Trøan Sømåen
f37e8fbdb1 WINTERMUTE: Clean out some comments in the theora player 2012-08-14 18:19:10 +02:00
Einar Johan Trøan Sømåen
83344a5aef WINTERMUTE: Adjust a few warnings. 2012-08-14 17:27:28 +02:00
Einar Johan Trøan Sømåen
209488c6cf WINTERMUTE: Save the loop-state of sounds properly. 2012-08-14 17:26:46 +02:00
Einar Johan Trøan Sømåen
fb566386c7 WINTERMUTE: Write alpha properly on big-endian platforms. 2012-08-13 22:33:35 +02:00
Einar Johan Trøan Sømåen
c96ccaa1c3 WINTERMUTE: Add detection for Italian, English and Russian Dead City. 2012-08-13 04:59:17 +02:00
Einar Johan Trøan Sømåen
589094e63a WINTERMUTE: Clean out commented-out code from detection 2012-08-13 04:43:14 +02:00
Einar Johan Trøan Sømåen
101ad689c5 WINTERMUTE: Add language-filtering for Czech, Italian, Polish and Russian.
No detection-support is added for those languages at this point though.
2012-08-13 04:37:07 +02:00
Einar Johan Trøan Sømåen
a370350691 WINTERMUTE: Readd support for save/load-images. 2012-08-13 03:54:34 +02:00