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
Neeraj Kumar
37d28b35b9
TESTBED: added checks to make sure the object is acquired before use, fixed a typo
...
svn-id: r51841
2010-08-07 21:01:31 +00:00
Neeraj Kumar
dab72c519c
TESTBED: fixed default disabling of FS testsuite when game data files are not found
...
svn-id: r51840
2010-08-07 20:35:50 +00:00
Neeraj Kumar
a4a28eb16e
TESTBED: fix in fs tests
...
svn-id: r51837
2010-08-07 16:17:12 +00:00
Neeraj Kumar
7e126ed299
TESTBED: Merged changes from trunk to my branch
...
svn-id: r51798
2010-08-06 20:13:41 +00:00
Neeraj Kumar
6c0855f3d3
TESTBED: playing audio output with variable sample rates
...
svn-id: r51766
2010-08-05 21:36:17 +00:00
Neeraj Kumar
fee1bb28bd
TESTBED: added audiocd test sound tracks as the testbed engine data
...
svn-id: r51713
2010-08-03 20:26:28 +00:00
Neeraj Kumar
9dbe6fdb07
TESTBED: Implemented audioCD tests
...
svn-id: r51711
2010-08-03 19:24:09 +00:00
Neeraj Kumar
717e5f619b
TESTBED: implemented the exit dialog using ListWidget
...
svn-id: r51602
2010-08-01 23:26:38 +00:00
Neeraj Kumar
d628562071
TESTBED: fixed a typo, due to which the config file size was increasing if a rerun is made from the current menu
...
svn-id: r51568
2010-08-01 08:56:24 +00:00
Neeraj Kumar
9d6d0f8b35
TESTBED: added code to enable the mixer to simultaneously play channels, pause/unpause some of them using GUI, couple of fixes as well
...
svn-id: r51515
2010-07-30 20:10:30 +00:00
Neeraj Kumar
a6e84128c9
TESTBED: generalized the GUI, added code for the end text gui message and option to rerun tests
...
svn-id: r51507
2010-07-30 13:54:25 +00:00
Neeraj Kumar
4814db3a6a
TESTBED: implemented gui of Sound Subsystem tests
...
svn-id: r51468
2010-07-29 13:09:14 +00:00
Neeraj Kumar
890ec11a49
TESTBED: added finish zone in mouse event tests
...
svn-id: r51365
2010-07-27 12:56:30 +00:00
Neeraj Kumar
26c0547e67
TESTBED: Updated the progress bar to show count of enabled test/testsuites instead of entire list size
...
svn-id: r51351
2010-07-27 09:32:19 +00:00
Neeraj Kumar
39780f4a68
TESTBED: implemented some sample beeps using PCSpeaker emulator for testing sound subsystem
...
svn-id: r51333
2010-07-26 20:59:50 +00:00
Neeraj Kumar
a9941138da
TETBED: fixed the boundary error in palette rotation, added colored progress bar now
...
svn-id: r51284
2010-07-25 20:50:59 +00:00
Neeraj Kumar
62e6780188
TESTBED: minor addition of code to enable logging
...
svn-id: r51279
2010-07-25 19:01:22 +00:00
Neeraj Kumar
184b704ddf
TESTBED: removed unnecessary code from config file implementation
...
svn-id: r51267
2010-07-24 22:32:08 +00:00
Neeraj Kumar
c675c1fe29
TESTBED: added a test for checking cursor trails in the GUI, fixed some display stuff
...
svn-id: r51263
2010-07-24 22:01:15 +00:00
Neeraj Kumar
89988af11d
TESTBED: reimplemented the config functionality using ConfigFile Class
...
svn-id: r51258
2010-07-24 21:02:21 +00:00
Neeraj Kumar
3f2527a48a
Implemented selection of tests using a config file, config file layout resembles to that of .scummvmrc on linux
...
svn-id: r51248
2010-07-24 16:05:19 +00:00
Neeraj Kumar
12275cd36e
TESTBED: some changes in interaction messages, couple of fixes
...
svn-id: r51160
2010-07-22 19:59:11 +00:00
Neeraj Kumar
c030858cf1
TESTBED: added deselect capabilty in GUI, removed redundant code, testsuites now all enabled by default
...
svn-id: r51155
2010-07-22 17:59:59 +00:00
Neeraj Kumar
f6be0274df
TESTBED: added preface to tests, can skip tests now.
...
svn-id: r51073
2010-07-20 20:20:44 +00:00
Neeraj Kumar
f3defb0de1
added code to display progress of the engine so far
...
svn-id: r51038
2010-07-19 21:12:17 +00:00
Neeraj Kumar
7065c87a0d
replaced use of snprintf by String::printf
...
svn-id: r51030
2010-07-19 14:54:25 +00:00
Neeraj Kumar
d2fc68222b
fixed some typos
...
svn-id: r51000
2010-07-18 18:11:37 +00:00
Neeraj Kumar
0ae45ed7ed
fixed a minor typo
...
svn-id: r50986
2010-07-18 09:50:05 +00:00
Neeraj Kumar
f17c363683
Selected entries are now marked as '(selected)', toggled by double click
...
svn-id: r50985
2010-07-18 09:34:31 +00:00
Neeraj Kumar
b6c2be3bb9
Some more improvements in the TestbedListWidget and added description method in testsuite class
...
svn-id: r50984
2010-07-18 09:08:18 +00:00
Neeraj Kumar
07a9a03587
a few more modifications in the testsuite selection widget
...
svn-id: r50983
2010-07-18 07:53:05 +00:00
Neeraj Kumar
fd157b47a3
Implemented scrollable checkbox like behaviour using ListWidget
...
svn-id: r50971
2010-07-17 22:32:31 +00:00
Neeraj Kumar
407d65068a
separated testsuite configuration to another class
...
svn-id: r50918
2010-07-15 18:51:56 +00:00
Max Horn
12ebe8065e
Fix warnings
...
svn-id: r50899
2010-07-14 22:43:59 +00:00
Jordi Vilalta Prat
555acf4ba1
Some code formatting fixes
...
svn-id: r50893
2010-07-14 19:44:51 +00:00
Jordi Vilalta Prat
0b3201e5e3
Whitespace cleanup (mainly spaces and tabs at the end of line)
...
svn-id: r50885
2010-07-14 14:12:42 +00:00
Neeraj Kumar
85958744a2
Added code to enable testsuite selection using checkboxes
...
svn-id: r50850
2010-07-13 19:26:45 +00:00
Neeraj Kumar
570560e9b5
improved the scaling test to have a rectangle of estimated size of scaled cursor the scaled cursor should entirely cover that estimated rectangle
...
svn-id: r50802
2010-07-11 16:50:18 +00:00
Neeraj Kumar
f9c03dc8db
a correction in palette rotations
...
svn-id: r50797
2010-07-11 06:48:28 +00:00
Neeraj Kumar
424c13e9f4
switched testbed detection code to advance detector, doesn't bails out when game data not found
...
svn-id: r50789
2010-07-10 19:24:12 +00:00
Neeraj Kumar
d3c42b71ba
restore initial palettes when done with rotation
...
svn-id: r50749
2010-07-08 20:35:05 +00:00
Neeraj Kumar
333f704513
implemented rainbow palette rotation
...
svn-id: r50748
2010-07-08 20:30:11 +00:00
Neeraj Kumar
71f0f1b251
commented out rotation as of now, avoids 6s delay which shows blank
...
svn-id: r50740
2010-07-07 20:40:54 +00:00
Neeraj Kumar
00fc80b8d5
Added code to draw rainbow palette using HSV and converting it to RGB
...
svn-id: r50739
2010-07-07 20:31:28 +00:00
Neeraj Kumar
f145391abb
some minor fixes in cursor handling
...
svn-id: r50726
2010-07-06 16:30:42 +00:00
Neeraj Kumar
deb2c189c7
added code to revert back to 8bpp from other formats
...
svn-id: r50714
2010-07-05 23:02:43 +00:00
Neeraj Kumar
9241e47e9a
Added couple of checks in Event handling
...
svn-id: r50713
2010-07-05 21:49:15 +00:00
Neeraj Kumar
f470baa314
made Quit and RTL features working
...
svn-id: r50711
2010-07-05 21:29:15 +00:00
Neeraj Kumar
96dad5be41
fixed a typo in keyborad events
...
svn-id: r50658
2010-07-04 22:27:06 +00:00
Neeraj Kumar
9aae29b8d3
added code for mouse and kbd events
...
svn-id: r50633
2010-07-03 21:14:44 +00:00
Neeraj Kumar
5457144f13
added processing of quit event
...
svn-id: r50590
2010-07-02 07:51:44 +00:00
Neeraj Kumar
9a4bd4220f
testbed now keeps a list of executed testsuites
...
svn-id: r50545
2010-07-01 12:30:56 +00:00
Neeraj Kumar
68d691bc3e
removed all printfs, added logging feature in form of logPrintf
...
svn-id: r50512
2010-06-29 22:46:56 +00:00
Neeraj Kumar
e022dd7013
added template code for testing events
...
svn-id: r50459
2010-06-28 20:55:28 +00:00
Neeraj Kumar
e3806003ed
completed the datetime/timer/mutex tests
...
svn-id: r50455
2010-06-28 18:14:16 +00:00
Neeraj Kumar
ef1ba0ea15
added code to test timers and mutexes, some issues with mutexes present although
...
svn-id: r50444
2010-06-28 12:58:14 +00:00
Neeraj Kumar
cf3d5c2774
added files for misc tests, implemented the datetime test
...
svn-id: r50400
2010-06-27 21:09:57 +00:00
Neeraj Kumar
cea663adb6
renamed the guards in header files
...
svn-id: r50344
2010-06-26 21:28:50 +00:00
Neeraj Kumar
e537ce48bb
split testsuite.h into testsuite.cpp
...
svn-id: r50322
2010-06-26 14:29:50 +00:00
Neeraj Kumar
3cc204f461
the ScummVM header included to all source files
...
svn-id: r50320
2010-06-26 13:07:13 +00:00
Neeraj Kumar
ba36675351
completed the savefile tests
...
svn-id: r50319
2010-06-26 12:30:57 +00:00
Neeraj Kumar
82bfb7b7bf
added savegame tests
...
svn-id: r50290
2010-06-25 21:03:53 +00:00
Neeraj Kumar
6e27ad3b2b
some more refinements to FS and GFX tests
...
svn-id: r50286
2010-06-25 20:26:54 +00:00
Neeraj Kumar
bc3a7ba915
improved the pixel and other gfx tests
...
svn-id: r50264
2010-06-25 14:49:11 +00:00
Neeraj Kumar
1e22436686
added code to test 16+ bit pixel formats
...
svn-id: r50257
2010-06-25 03:48:28 +00:00
Neeraj Kumar
b243a93932
added palette rotation test
...
svn-id: r50220
2010-06-24 15:27:28 +00:00
Neeraj Kumar
f444d45116
some more filesystem related tweaks
...
svn-id: r50167
2010-06-22 20:49:38 +00:00
Neeraj Kumar
0012b23e84
modified the filesystem test, added a script to directly create the game-data-directory, no zip file required
...
svn-id: r50140
2010-06-22 14:39:51 +00:00
Neeraj Kumar
e86f732a7b
crash with 3x sacling with cursors of odd dimmensions
...
svn-id: r50123
2010-06-21 21:26:07 +00:00
Neeraj Kumar
6110f16b29
fixed couple of leaks in testbed/fs.cpp, removed some unecesarry code from graphics.cpp/graphics.h
...
svn-id: r50119
2010-06-21 19:09:19 +00:00
Neeraj Kumar
492f743d47
some more changes with GFX and FS tests
...
svn-id: r50064
2010-06-19 20:50:10 +00:00
Neeraj Kumar
7b8693757c
added testcase for writing files in the filesystem
...
svn-id: r50009
2010-06-18 08:45:57 +00:00
Neeraj Kumar
fb210bd45f
added a FS test to open and read a file from the game-data dir
...
svn-id: r49948
2010-06-17 20:24:01 +00:00
Neeraj Kumar
f3dcd38c74
few fixes in GFX tests, added template for FS tests
...
svn-id: r49925
2010-06-17 11:23:51 +00:00
Neeraj Kumar
569caaf14e
some changes in scaling and overlay
...
svn-id: r49904
2010-06-16 13:10:59 +00:00
Neeraj Kumar
46a555d638
some changes in the display texts
...
svn-id: r49893
2010-06-15 20:57:20 +00:00
Neeraj Kumar
5534caa65d
added/fixed some features in palettized cursors/aspect ratio correction etc.
...
svn-id: r49891
2010-06-15 20:32:46 +00:00
Neeraj Kumar
af60633d68
added some features suggested by jordi, needs more work although
...
svn-id: r49668
2010-06-14 20:15:15 +00:00
Neeraj Kumar
889013b546
some minor change as per CFC
...
svn-id: r49645
2010-06-14 05:39:10 +00:00
Neeraj Kumar
3c511eab1a
added code for testing shake, focus, overlay, scaling, need to fix more some of these although
...
svn-id: r49634
2010-06-13 19:19:06 +00:00