D G Turner
54f25aa843
COMMON: Renamed Integer Log2 function from log2 to intLog2.
...
This avoids naming collisions with system libraries on some platforms
i.e. DS, DC where the log2 is realised by macro.
2011-07-19 02:29:13 +01:00
Sven Hesse
45f1f1275c
COMMON: Document the BitStream a bit more
2011-07-19 01:48:45 +02:00
clone2727
6370984b22
Merge pull request #50 from clone2727/bink
...
Add support for Bink video to SCUMM HE
2011-07-18 16:04:39 -07:00
Matthew Hoops
26d15ce675
COMMON: Fix comment
2011-07-18 11:53:47 -04:00
Matthew Hoops
87b4ef5547
COMMON: Update code from eos
2011-07-18 10:28:10 -04:00
Matthew Hoops
e6171fbb74
COMMON: Update class documentation to say they're now used by SCUMM
2011-07-18 10:21:20 -04:00
Matthew Hoops
c4d3a86010
COMMON: Remove USE_BINK checks from header files
2011-07-18 10:13:50 -04:00
Matthew Hoops
a50abde1b1
BUILD: Allow for disabling Bink support
2011-07-13 12:08:26 -04:00
Littleboy
8e75d9c84b
COMMON: Update documentation comment for TaskbarManager slot
2011-07-06 14:33:40 -04:00
Matthew Hoops
7dc7271316
COMMON: Remove unused vector2orientation function
2011-07-03 13:32:05 -04:00
Matthew Hoops
9dd8650872
COMMON: Cleanup BitStream
...
Fix mismatched new[]/free and restored a missing statement
2011-07-02 19:44:04 -04:00
Johannes Schickel
7e4224e52a
COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined.
2011-07-03 00:16:07 +02:00
Matthew Hoops
4ace7f626b
VIDEO: Add Bink video decoder
...
Based on eos' code which is in turn based on FFmpeg's code
2011-07-02 16:36:37 -04:00
Matthew Hoops
b44ea652ed
COMMON: Add DCT math code
...
Based on eos' code which is based on FFmpeg's code
2011-07-02 15:30:22 -04:00
Matthew Hoops
f311a7ee67
COMMON: Add RDFT math code
...
Based on eos' code which is based on FFmpeg's code
2011-07-02 15:28:09 -04:00
Matthew Hoops
3aefa913fa
COMMON: Add an FFT math handler
...
Based on eos' code which is based on FFmpeg's code
2011-07-02 15:23:49 -04:00
Matthew Hoops
0aa58b9033
COMMON: Add a Huffman bitstream decoder
...
Based on eos' code
2011-07-02 15:20:34 -04:00
Matthew Hoops
1d4ec6f1d1
COMMON: Add some simple math utilities
...
Based on eos' code
2011-07-02 15:15:04 -04:00
Matthew Hoops
6ff94e2554
COMMON: Add a BitStream class
...
Based on eos' BitStream
2011-07-02 15:08:02 -04:00
Ori Avtalion
aa0f307e06
ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
...
Silences the clang warning:
static data member specialization of '_singleton' must
originally be declared in namespace 'Common'; accepted as a C++0x
extension [-Wc++0x-extensions]
Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.
Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
Thierry Crozat
b35f4d31a6
COMMON: Look for translations.dat in Theme path before using SearchMan
2011-06-24 20:21:08 +01:00
Littleboy
b694a78f62
ANALYSIS: Add static casts to is* functions
...
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
Julien
53c4a190fc
COMMON: Add abort() to the list of forbidden symbols
2011-06-23 15:11:38 +08:00
Thierry Crozat
2109fc7a3c
COMMON: Improve loading of translations data file
...
Now if the header of the file is not correct it continues to look for a
valid file, while before if the first file found was obsolete or corrupted
translation was disabled even if a valid file was present in the search
path.
2011-06-22 22:48:08 +01:00
Eugene Sandulenko
33ce6e60fd
Merge pull request #26 from Littleboy/taskbar
...
Taskbar integration
2011-06-22 13:35:37 -07:00
Johannes Schickel
3b7c91f2a7
COMMON: Move HerculesDimensions enum to SCUMM.
...
The enum is only used inside the SCUMM engine so it is rather pointless to
keep it in common/util.h right now. Also if we really want it in some common
place it should probably be better in graphics/ too.
2011-06-21 16:59:50 +02:00
Willem Jan Palenstijn
5674dda4cc
COMMON: Fix conflicting comment
2011-06-20 16:27:12 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
b81207a04e
COMMON: Replace some vsnprintf/STRINGBUFLEN uses by vformat
2011-06-18 01:36:16 +02:00
Max Horn
e792adb1b8
COMMON: Add vformat() function (Common::String analog to vsprintf)
2011-06-18 01:36:15 +02:00
Max Horn
f7c1e7d002
COMMON: Remove default implementation of OSystem::logMessage
2011-06-17 20:50:41 +02:00
Eugene Sandulenko
94ad45b058
Merge pull request #30 from tsoliman/configure-enhancement-warning-clean
...
Configure enhancement warning clean
2011-06-17 10:19:57 -07:00
Max Horn
da3fff8ab3
COMMON: Make use of Common::parseBool
2011-06-17 10:38:16 +02:00
Tarek Soliman
4d0bba314d
ENGINES: Warn user about games marked with ADGF_UNSTABLE flags
...
ADGF_UNSTABLE is always warned about.
ADGF_TESTING is only warned about when running
configure with --enable-relase.
Both warnings are subject to the enable_wip_game_warning
config option.
2011-06-16 13:37:13 -05:00
Julien
599695bc4f
COMMON: Change TaskbarManager to the new module slot interface
2011-06-16 14:27:06 -04:00
Littleboy
9614834548
BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled
2011-06-16 14:23:28 -04:00
Littleboy
7458073bad
COMMON: Update TaskbarManager header with better documentation and examples of use
2011-06-16 14:23:20 -04:00
Littleboy
28aa4f0f33
COMMON: Add overall documentation to TaskbarManager interface
2011-06-16 14:23:17 -04:00
Littleboy
e1dc9cdc0b
BACKENDS: Add support for count status to TaskbarManager
...
- Show the number of found games when using the massadd dialog
2011-06-16 14:23:12 -04:00
Littleboy
cd7822a29f
BACKENDS: Add engine-level accessor for TaskbarManager
2011-06-16 10:35:24 -04:00
Littleboy
c0ec09ac66
BACKENDS: Implement Win32 taskbar progress state and recent list
2011-06-16 10:30:06 -04:00
Littleboy
71e457783e
BACKENDS: Add generic TaskbarManager class to handle taskbar integration
2011-06-16 10:26:51 -04:00
Max Horn
7be9a57524
COMMON: Fix code formatting, rename stuff for consistency
2011-06-15 23:21:54 +02:00
Vladimir
e4c9ae7a54
COMMON: fixed resize
2011-06-15 17:30:43 +02:00
Vladimir
e3178397ce
COMMON: added assign(T*, T*)
2011-06-15 17:29:52 +02:00
Thierry Crozat
38c9988938
COMMON: Fix crash in TranslationManager when reading long strings
...
It was writing data beyond the end of a buffer. This change makes
sure this does not happen. It only changes reading of the messages
since the language codes, charset names and contexts are always
much smaller than the buffer.
2011-06-14 23:15:50 +01:00
Max Horn
7ab553d72a
COMMON: Do not try to read from res forks of non-existant files
2011-06-10 22:30:03 +02:00
Max Horn
28c5d298f5
COMMON: Fix OSystem docs
2011-06-08 14:39:30 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
0b7f475e35
BACKENDS: Add OSystem::resetGraphicsScale() default implementation
2011-06-08 12:10:49 +02:00