Commit Graph

18333 Commits

Author SHA1 Message Date
Paul Gilbert
8e5879eac0 SWORD25: Fixed warning
svn-id: r53306
2010-10-12 23:25:33 +00:00
Eugene Sandulenko
53ac47b955 SWORD25: update makefile with latest changes.
svn-id: r53305
2010-10-12 23:25:13 +00:00
Eugene Sandulenko
a5d895473c SWORD25: Implement image filpping
svn-id: r53304
2010-10-12 23:24:52 +00:00
Paul Gilbert
2b2330ce65 SWORD25: Movie playback now works
svn-id: r53303
2010-10-12 23:24:31 +00:00
Eugene Sandulenko
77cfc17075 SWORD25: Formatting fixes
svn-id: r53302
2010-10-12 23:23:48 +00:00
Eugene Sandulenko
3b80a93782 SWORD25: Put back changes accidentally removed in previous merge.
svn-id: r53301
2010-10-12 23:23:29 +00:00
Paul Gilbert
3d3f1db15c SWORD25: Merge of my pending changes to movie playback
svn-id: r53300
2010-10-12 23:23:10 +00:00
Eugene Sandulenko
579d872e96 SWORD25: Bugfixes for video playback.
svn-id: r53299
2010-10-12 23:22:46 +00:00
Eugene Sandulenko
f06db87a0e SWORD25: Implement playback. Blitting is TODO.
svn-id: r53298
2010-10-12 23:22:24 +00:00
Eugene Sandulenko
384468c014 SWORD25: Started to hook TheoraDecoder. Crashes at startup.
svn-id: r53297
2010-10-12 23:22:01 +00:00
Eugene Sandulenko
f71295ab6d Revert "SWORD25: Commit of in-progress MoviePlayer code"
This reverts commit cb95db7cc0.

svn-id: r53296
2010-10-12 23:21:28 +00:00
Paul Gilbert
cb95db7cc0 SWORD25: Commit of in-progress MoviePlayer code
Frames aren't being corrected decoded yet; still trying to locate the cause

svn-id: r53295
2010-10-12 23:20:33 +00:00
Paul Gilbert
ffce890f66 SWORD25: Bugfix to set _backSurface in alternate GLImage constructor
svn-id: r53294
2010-10-12 23:19:41 +00:00
Eugene Sandulenko
7a2142b8d6 SWORD25: Fix more warnings
svn-id: r53293
2010-10-12 23:19:21 +00:00
Eugene Sandulenko
deb7dcc8bb SWORD25: Fix warnings
svn-id: r53292
2010-10-12 23:18:58 +00:00
Paul Gilbert
4024caf768 SWORD25: Bugfix for clipping error causing crash
The CLIP() macro won't work as desired if the max value is less than the min value. Hence the need for the extra MAX() added into the two lines.

svn-id: r53291
2010-10-12 23:18:38 +00:00
Paul Gilbert
edfd2e6aca SWORD25: Corrected the definition of infinity constant
Previous string of ~(-1) was actually evaluating to 0, which was screwing up the path-finding algorithms

svn-id: r53290
2010-10-12 23:18:16 +00:00
Paul Gilbert
11219f12a6 SWORD25: Bugfix to walk path detection
svn-id: r53289
2010-10-12 23:17:58 +00:00
Eugene Sandulenko
1e8b91ef2b SWORD25: Partially unstubbed FindEmbeddedPNG so it is less noisy
svn-id: r53288
2010-10-12 23:17:40 +00:00
Eugene Sandulenko
e381bc3c14 SWORD25: char * -> byte * in image-related operations
svn-id: r53287
2010-10-12 23:17:19 +00:00
Eugene Sandulenko
a6d909c07f SWORD25: Implement image tinting.
svn-id: r53286
2010-10-12 23:16:44 +00:00
Eugene Sandulenko
18e2534b63 SWORD25: Fix color format
svn-id: r53285
2010-10-12 23:16:23 +00:00
Eugene Sandulenko
73ae6739a5 SWORD25: Finally fix alpha blending.
svn-id: r53284
2010-10-12 23:16:00 +00:00
Paul Gilbert
08237f5d98 SWORD25: Changed save path missing message to an error() call
svn-id: r53283
2010-10-12 23:15:39 +00:00
Paul Gilbert
cfc8f84c3e SWORD25: Fixed compiler warnings
svn-id: r53282
2010-10-12 23:15:18 +00:00
Paul Gilbert
5bd5790e57 SWORD25: Converted AnimationResource to use SCUMMVM XMLParser. Removed tinyxml library
svn-id: r53281
2010-10-12 23:14:56 +00:00
Paul Gilbert
ee753bf031 SWORD25: Bugfix so that EVENT_QUIT quits the game
svn-id: r53280
2010-10-12 23:14:23 +00:00
Paul Gilbert
1d6aa4d306 SWORD25: Fixed memory leak
svn-id: r53279
2010-10-12 23:14:04 +00:00
Eugene Sandulenko
e7c9014b05 SWORD25: A bit better alpha blending. Still incorrect
svn-id: r53278
2010-10-12 23:13:45 +00:00
Paul Gilbert
b294e88f7e SWORD25: Converted FontResource to use ScummVM XML Parser
svn-id: r53277
2010-10-12 23:13:24 +00:00
Paul Gilbert
2c62016838 SWORD25: Added GetXmlFile helper function
The XML files included with the game don't include an XML header line, which is required by the ScummVM XML parser. This helper function encapsulates the GetFile method to return a buffer that includes the required line at the start.

svn-id: r53276
2010-10-12 23:13:03 +00:00
Eugene Sandulenko
4d11cf941e SWORD25: Another attempt to implement alpha blending. Looks a bit better.
svn-id: r53275
2010-10-12 23:12:41 +00:00
Eugene Sandulenko
e9d6fa094e SWORD25: Fix colors
svn-id: r53274
2010-10-12 23:12:20 +00:00
Eugene Sandulenko
b9efb23e03 SWORD25: Fix image blitting width.
svn-id: r53273
2010-10-12 23:12:03 +00:00
Eugene Sandulenko
fccc44851f SWORD25: Attempt to implement alpha blending. Code disabled.
svn-id: r53272
2010-10-12 23:11:41 +00:00
Eugene Sandulenko
de0b8addc4 SWORD25: Fix stupid error in Blit(). Now it shows stuff!
svn-id: r53271
2010-10-12 23:11:18 +00:00
Eugene Sandulenko
bab1358e51 SWORD25: More tweaking to image Blit, doesn't assert anymore.
Though in fact it is all wrong now.

svn-id: r53270
2010-10-12 23:10:57 +00:00
Eugene Sandulenko
c51f4629cf SWORD25: Implement graphics Fill() method
svn-id: r53269
2010-10-12 23:10:36 +00:00
Eugene Sandulenko
f1e7fb28a0 SWORD25: Fix early engine quit. Now it runs, hurray!
svn-id: r53268
2010-10-12 23:10:15 +00:00
Eugene Sandulenko
c875856d20 SWORD25: Implemented script tracing
To turn on traces turn on debugchannel 'script' and then use
debug level as a bitmask:
  1 - show function calls
  2 - show function exits
  3 - show every line

svn-id: r53267
2010-10-12 23:09:53 +00:00
Eugene Sandulenko
4d678fc3b8 SWORD25: Fix warning
svn-id: r53266
2010-10-12 23:09:32 +00:00
Paul Gilbert
1d16dfd281 SWORD25: Refactored engine to remove BS_Rect class
svn-id: r53265
2010-10-12 23:09:12 +00:00
Paul Gilbert
0186984671 SWORD25: Fixed return value of AppEnd
svn-id: r53264
2010-10-12 23:08:12 +00:00
Paul Gilbert
9efd8bac26 SWORD25: Removed now redundant 'using namespace std' lines
svn-id: r53263
2010-10-12 23:07:55 +00:00
Eugene Sandulenko
3fb0e9383b SWORD25: Removed last traces of STL
svn-id: r53262
2010-10-12 23:07:29 +00:00
Eugene Sandulenko
b01994a53b SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.

svn-id: r53261
2010-10-12 22:59:01 +00:00
Sylvain Dupont
4c4e821326 TOON: Fixed bug #3085971 with missing "fail" sound sfx
Bug #3085971: "TOON: Missing sfx for invalid Flux request"

svn-id: r53260
2010-10-12 22:57:03 +00:00
Eugene Sandulenko
be44216e5c SWORD25: eliminated BS_ prefix in all but kernel/
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko
485ff15d23 SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/
svn-id: r53258
2010-10-12 22:53:49 +00:00
Eugene Sandulenko
e71337861f SWORD25: brought CallBackRegisry class to our naming standards
svn-id: r53257
2010-10-12 22:51:37 +00:00