Commit Graph

70 Commits

Author SHA1 Message Date
Johannes Schickel
571fa94310 TESTBED: Fix "if" formatting. 2012-08-09 03:27:21 +02:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +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
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
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
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
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
02f93b4aeb TESTBED: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:33 +01:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +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
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
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
0a7bda50cc TESTBED: formatting fix, deleted spaces/tabs at end of line
svn-id: r52081
2010-08-14 08:32:39 +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
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
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
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
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
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
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
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
f470baa314 made Quit and RTL features working
svn-id: r50711
2010-07-05 21:29:15 +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
3cc204f461 the ScummVM header included to all source files
svn-id: r50320
2010-06-26 13:07:13 +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