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
7c992d6598
DETECTOR: Merge ADParams into AdvancedMetaEngine
2011-06-14 18:17:01 +02:00
Max Horn
3c0c14b4b5
TESTBED: Switch to alternate AdvancedMetaEngine, avoid ADParams
2011-06-10 22:15:45 +02:00
Max Horn
4827cc914a
ENGINES: Change incorrect use of 'target' to 'gameid'
2011-06-10 22:15:40 +02:00
Julien
55f46a1376
TESTBED: Fix GFXtests::HSVtoRGB() and caller
...
- update passed values and not local variables when s == 0
- initialize r, g, b values in palette rotation test instead of passing unitialized variables
2011-06-07 03:59:12 -04:00
Julien
3e1c4f8e16
TESTBED: Specialize call to enable() in MidiTestSuite constructor
2011-06-07 03:56:57 -04:00
Julien
fe9ee92b25
TESTBED: Cleanup boolean use in enable() function for fs and midi tests
2011-06-07 03:56:56 -04:00
Julien
063814b15c
TESTBED: Update some switch constructs for better control flow handling
2011-06-07 03:56:54 -04:00
Julien
04f4605f53
TESTBED: Rename error variable to err (was hiding error() symbol)
2011-06-07 03:56:52 -04:00
Julien
6362542836
TESTBED: Remove dead code, unused arguments and unreferenced symbols
2011-06-07 03:56:18 -04:00
Julien
08c01d116b
TESTBED: Add const modifiers to some parameters/functions
2011-06-07 03:52:15 -04:00
Max Horn
91b889e2d3
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
2011-06-04 11:55:56 +02:00
Willem Jan Palenstijn
87070cbdc8
TESTBED: Remove another static and a confusing comment
2011-06-03 14:42:25 +02:00
Willem Jan Palenstijn
b16d6e8bb2
TESTBED: Get rid of static local variable
...
It's not only against our coding guidelines, but also breaks running the
mutex test multiple times. It may or may not also be responsible for a
MSVC9 build failure reported on IRC.
2011-06-03 14:15:39 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
73f04118f3
COMMON: Rename Error to ErrorCode, introduce new Error class
2011-04-18 18:22:02 +02:00
Max Horn
8aa6d25c77
ALL: centerd -> centered
2011-04-14 14:42:21 +02:00
Max Horn
2e095e25f2
ALL: centre -> center
2011-04-14 14:34:28 +02:00
Max Horn
29847ea42d
AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclasses
...
Many engines follow the advice in audio/midiparser.h and create a
"pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny
subset of the MidiDriver capabilities, namely those found in
MidiDriver_BASE. So we try to subclass from that whenever possible; this
allows us to remove many stub methods, and enables further future
simplifications.
2011-03-23 15:25:47 +01:00
md5
8af0d35a5f
TESTBED: Changed usage of PI to M_PI (normally defined in math.h)
2011-03-19 02:32:53 +02:00
md5
8cfcf53b88
TESTBED: Update rotatePalette() to use an RGB palette
2011-03-04 11:44:30 +02:00
Johannes Schickel
22489cbf8e
TESTBED: Adapt documentation to the palette RGBA->RGB change.
2011-02-20 21:39:30 +01:00
Johannes Schickel
02f93b4aeb
TESTBED: Adapt to setPalette RGBA->RGB change.
2011-02-14 17:08:33 +01:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
427dc1ae93
GUI: Move major widgets to new directory gui/widgets
...
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
2010-11-16 10:11:57 +00:00
Max Horn
abe1959d36
COMMON: Simplify DECLARE_SINGLETON macro
...
This makes it possible to write
DECLARE_SINGLETON(foo);
instead of
DECLARE_SINGLETON(foo)
without causing a warning about an extra semicolon.
The extra semicolon helps some editors at parsing the C++ code.
svn-id: r54258
2010-11-16 08:23:13 +00:00
Max Horn
059944e59c
COMMON: Push #include audiocd.h in system.h out to .cpp files
...
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b
BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
...
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
2010-11-08 22:53:36 +00:00
Max Horn
18d40017e8
ENGINES: Unify code layout of all ADParams instances
...
svn-id: r54105
2010-11-07 01:01:18 +00:00
Max Horn
e27b05ef35
COMMON: Rename String::printf() to String::format()
...
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
2010-11-01 16:02:28 +00:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +00:00
Neeraj Kumar
a16832760b
1. Added ConfigParams Singelton class to eliminate use of configuration specific static variables.
...
2. Modified code to handle the change
3. Updated the previously merged obsolete copy of branch gsoc2010-testbed.
svn-id: r52973
2010-10-02 01:05:16 +00:00
Filippos Karapetis
6fed6a75d5
TESTBED: Fix warnings
...
svn-id: r52790
2010-09-18 09:52:05 +00:00
Neeraj Kumar
5c4f7ba267
TESTBED: fixed detection
...
svn-id: r52747
2010-09-16 12:45:09 +00:00
Matthew Hoops
161b2e6c79
TESTBED: Title capitalization and consistency
...
svn-id: r52686
2010-09-12 16:41:13 +00:00
Eugene Sandulenko
09ae34f4a4
TESTBED: Fix warnings
...
svn-id: r52685
2010-09-12 14:20:52 +00:00
Neeraj Kumar
81a646c9bd
TESTBED: added a README file, some description fixes
...
svn-id: r52134
2010-08-16 22:04:15 +00:00
Neeraj Kumar
5e26238916
TESTBED: disable aspect ratio correction while running scaling tests
...
svn-id: r52111
2010-08-16 04:27:05 +00:00
Neeraj Kumar
7f68e84293
TESTBED: modified the Keyboard test Look-up table to include all alphanumeric characters
...
svn-id: r52084
2010-08-14 09:06:06 +00:00
Neeraj Kumar
0a7bda50cc
TESTBED: formatting fix, deleted spaces/tabs at end of line
...
svn-id: r52081
2010-08-14 08:32:39 +00:00
Neeraj Kumar
169d1eb0cc
TESTBED: some more refinements with handling Quit events in GUI
...
svn-id: r52078
2010-08-14 06:06:41 +00:00
Neeraj Kumar
f9005dd4b3
TESTBED: display appropriate message at begining if game-data files are not found
...
svn-id: r52042
2010-08-12 15:19:04 +00:00
Neeraj Kumar
4c3ea30e32
TESTBED: disable tests when required data is not found
...
svn-id: r52041
2010-08-12 14:47:25 +00:00
Neeraj Kumar
f6a1cb991f
TESTBED: enable playing MIDI through testbed
...
svn-id: r52009
2010-08-11 21:52:28 +00:00
Neeraj Kumar
32553308cf
TESTBED: basic template for midi tests
...
svn-id: r51957
2010-08-10 20:20:28 +00:00
Neeraj Kumar
acb32580ce
TESTBED: Some more refinements to the GUI and mouse event tests
...
svn-id: r51946
2010-08-09 21:18:27 +00:00
Neeraj Kumar
4e92b3a17e
TESTBED: Some refinemnts related to skipping tests and display in GUI
...
svn-id: r51945
2010-08-09 20:10:53 +00:00