aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-08-20SCUMM: Fix compilation when translation support is disabled.Johannes Schickel
For this I added a convenience version of getLanguageYesNo, which works on the currently setup GUI translation language. All other code which requires this acan also use it instead of having to worry about the USE_TRANSLATION and thus having two code paths.
2011-08-20I18N: Added comments to some of obscure translatable stringsEugene Sandulenko
2011-08-20COMMON: Implemented functions for determining localized Y/N equivalentEugene Sandulenko
2011-08-20COMMON: Restore locale <-> Common::Language conversion utilsEugene Sandulenko
This reverts commit 284b49aabc54590e1444f06561a815c2a3c5de7e.
2011-08-19COMMON: intLog2 uses _BitScanReverse on MSVCBertrand Augereau
2011-08-18COMMON: Slight formatting fix.Johannes Schickel
2011-08-14RECORDER: Lower I/O in recorderEugene Sandulenko
2011-08-09RECORDER: Defer mutex deletion to destructor.Johannes Schickel
Since we now call deinit after a game has been run, otherwise RTL would be broken. See bug report #3388982 "valgrind errors when doing multiple RTL".
2011-08-09RECORDER: Implement time compensation for playbackEugene Sandulenko
2011-08-08RECORDER: Give name to recoder priority. Added middle button storing.Eugene Sandulenko
2011-08-08RECORDER: Restore event recorder functionality.Eugene Sandulenko
It was badly broken after refactoring into EventObserver. Fitst, deinit() method was never called which lead to bad record files. Then, the concept of counting pollEvent() calls was ignored. Introduced dispatchPoll() method of EventObserver which is implemented in EventRecorder. It counts calls so is able to inject events at more proper time. Additionally now event times are recorded.
2011-08-08RECORDER: Add some debug outputEugene Sandulenko
2011-08-07COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).Christoph Mallon
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07COMMON: Remove implicit conversion from ScopedPtr<T> to T*.Christoph Mallon
2011-08-07COMMON: Make constants actually const.Christoph Mallon
2011-08-07COMMON: Correct error message.Christoph Mallon
The message displays bytes, but capacity is the count of objects, so multiply by their size.
2011-08-07COMMON: Use correct format specifier.Christoph Mallon
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon
2011-08-07COMMON: Use ScopedPtr<> to simplify resource management.Christoph Mallon
2011-08-07COMMON: Simplify initialization of z_stream struct.Christoph Mallon
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-06COMMON: Add notifyError() and clearError() to the TaskbarManager, used to ↵Littleboy
notify the user that an error happened through the taskbar icon
2011-08-06OSYSTEM: Mention that our OSystem graphics API is not thread safe.Johannes Schickel
Based on f621f6a5059ec619ae9ea1045548e62a27e99ab4 and the fact that our OpenGL based backends do not (and sometimes cannot easily) implement it in a thread safe manner.
2011-08-06COMMON: Change param type of processDelayMillis to fix build.Alyssa Milburn
2011-08-06COMMON: Corrected Previous Commit.D G Turner
Common::String class is in common/str.h, not string.h...
2011-08-06COMMON: Fix Missing Dependency In Timer Header.D G Turner
This should fix the PSP build.
2011-08-06RECORDER: Added stub for delayMillis() processingEugene Sandulenko
2011-08-06JANITORIAL: Remove SVN keywordsEugene Sandulenko
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-08-04COMMON: Initialize more z_stream fields before calling inflateInit2.Alyssa Milburn
The zlib documentation and examples claim this is needed, as spotted by LordHoto.
2011-08-02Merge pull request #52 from CeRiAl/macosx-sparkleOystein Eftevaag
MACOSX: Add Sparkle support
2011-07-24COMMON: Limited gcc specific intLog2 to gcc 3.4 or newer.Johannes Schickel
Older gcc versions did not include __builtin_clz, which made the PS2 port fail to compile, since it uses 3.2.2.
2011-07-24COMMON: Add an optimized intLog2 implementation for gcc using __builtin_clz.Johannes Schickel
This is done as discussed here: https://github.com/scummvm/scummvm/commit/54f25aa84373715001c56155673fb59cfe44b573
2011-07-24COMMON: Let intLog2 return an int instead of uint32, since it should return ↵Johannes Schickel
-1 for 0.
2011-07-19MACOSX/UPDATES: Streamline UpdateManagerCeRiAl
Moved UpdateManager related code from backends/modular-backend.* to common/system.*. Added switch --enable/disable-updates to be able to disable updates support generally.
2011-07-19MACOSX: Add Sparkle supportCeRiAl
2011-07-19JANITORIAL: Fix MSVC warningsLittleboy
- Conversion from double to float - Unary minus operator applied to unsigned type - ARRAYSIZE redefinition
2011-07-19COMMON: Fix some formattingMatthew Hoops
2011-07-19COMMON: Move cosine/sine tables out of header filesMatthew Hoops
Access is now restricted to using the getSineTable()/getCosineTable() helper functions.
2011-07-19COMMON: Renamed Integer Log2 function from log2 to intLog2.D G Turner
This avoids naming collisions with system libraries on some platforms i.e. DS, DC where the log2 is realised by macro.
2011-07-19COMMON: Document the BitStream a bit moreSven Hesse
2011-07-18Merge pull request #50 from clone2727/binkclone2727
Add support for Bink video to SCUMM HE
2011-07-18COMMON: Fix commentMatthew Hoops
2011-07-18COMMON: Update code from eosMatthew Hoops
2011-07-18COMMON: Update class documentation to say they're now used by SCUMMMatthew Hoops
2011-07-18COMMON: Remove USE_BINK checks from header filesMatthew Hoops
2011-07-13BUILD: Allow for disabling Bink supportMatthew Hoops
2011-07-06COMMON: Update documentation comment for TaskbarManager slotLittleboy
2011-07-03COMMON: Remove unused vector2orientation functionMatthew Hoops