Eugene Sandulenko
f85139bbfa
SWORD25: Remove redundant code
...
svn-id: r53378
2010-10-13 00:01:40 +00:00
Eugene Sandulenko
2143afde6c
SWORD25: Add support for language patch
...
svn-id: r53377
2010-10-13 00:01:04 +00:00
Eugene Sandulenko
d7c6d615bb
SWORD25: Fixed vector renderer. Yay!
...
svn-id: r53376
2010-10-13 00:00:41 +00:00
Eugene Sandulenko
7c1b37e150
SWORD25: Fix transparency effects
...
svn-id: r53375
2010-10-13 00:00:20 +00:00
Paul Gilbert
3e84d4fe73
SWORD25: Implemented thumbnail loading for savegame list
...
svn-id: r53374
2010-10-12 23:59:49 +00:00
Paul Gilbert
80521ed5dd
SWORD25: Further savegame work, including savegame screenshots
...
This handles saving (but not yet re-loaded display) of screenshots into savegame files. It also changes the original engine behaviour of temporarily saving the screenshots in a file 'tmp.png' to keeping the raw PNG file data in a memory block.
svn-id: r53373
2010-10-12 23:59:23 +00:00
Eugene Sandulenko
1e07d9561f
SWORD25: Add standalone SWF renderer
...
svn-id: r53372
2010-10-12 23:58:51 +00:00
Eugene Sandulenko
b2003364ff
SWORD25: Fix freeze with sound code. Now game is really playable.
...
svn-id: r53371
2010-10-12 23:57:45 +00:00
Eugene Sandulenko
08ce5575fa
SWORD25: Put all sound-related debug output under debug flag.
...
svn-id: r53370
2010-10-12 23:57:26 +00:00
Eugene Sandulenko
017d461b3a
SWORD25: Fix bug with script debug flags
...
svn-id: r53369
2010-10-12 23:57:05 +00:00
Eugene Sandulenko
2a918b794a
SWORD25: Fix warning
...
svn-id: r53368
2010-10-12 23:56:47 +00:00
Eugene Sandulenko
38d84fd767
SWORD25: Further work on sound.
...
Have difficulties with understanding how mainmenu sound is stopped.
Currently it is not. Must be some trickery with object creation.
svn-id: r53367
2010-10-12 23:56:28 +00:00
Eugene Sandulenko
3e637a8341
SWORD25: Initial work on sound
...
svn-id: r53366
2010-10-12 23:56:07 +00:00
Eugene Sandulenko
951549a298
SWORD25: Fix hangup
...
svn-id: r53365
2010-10-12 23:55:44 +00:00
Eugene Sandulenko
573dafefbb
SWORD25: Got rid of FMODExSound class
...
svn-id: r53364
2010-10-12 23:55:24 +00:00
Eugene Sandulenko
56aac421eb
SWORD25: Rename GLImage to RenderedImage
...
svn-id: r53363
2010-10-12 23:54:47 +00:00
Eugene Sandulenko
cefa844b51
SWORD25: Rename GLImage to RenderedImage
...
svn-id: r53362
2010-10-12 23:54:30 +00:00
Eugene Sandulenko
e975cc057d
SWORD25: Rename GLImage to RenderedImage
...
svn-id: r53361
2010-10-12 23:54:07 +00:00
Eugene Sandulenko
cd453b3d01
SWORD25: Rename glimage.* to renderedimage.*
...
svn-id: r53360
2010-10-12 23:53:41 +00:00
Eugene Sandulenko
97164f058c
SWORD25: Adjust the paths accordingly
...
svn-id: r53359
2010-10-12 23:53:07 +00:00
Eugene Sandulenko
2b81beea69
SWORD25: Remove opengl/ directory
...
svn-id: r53358
2010-10-12 23:52:37 +00:00
Eugene Sandulenko
7dfea5ee4d
SWORD25: Moved glimage and swimage to image/
...
svn-id: r53357
2010-10-12 23:52:13 +00:00
Eugene Sandulenko
69cae2e7dd
SWORD25: Got rid of OpenGLGfx class
...
svn-id: r53356
2010-10-12 23:51:36 +00:00
Eugene Sandulenko
1aa907e815
SWORD25: Remove unnecessary executable flags
...
svn-id: r53355
2010-10-12 23:51:04 +00:00
Eugene Sandulenko
c59603ddba
SWORD25: Get rid of ScummVMInput class
...
svn-id: r53354
2010-10-12 23:50:19 +00:00
Eugene Sandulenko
ccb1644568
SWORD25: Got rid of ScummVMPackageManager
...
svn-id: r53353
2010-10-12 23:49:42 +00:00
Eugene Sandulenko
d5ec19960d
SWORD25: Make full transparency check earlier
...
svn-id: r53352
2010-10-12 23:49:12 +00:00
Paul Gilbert
5c228cea0b
SWORD25: Fixes to the savegame saving code
...
svn-id: r53351
2010-10-12 23:48:50 +00:00
Paul Gilbert
cf664780cb
SWORD25: Bugfix to not draw off-screen images
...
svn-id: r53350
2010-10-12 23:48:32 +00:00
Paul Gilbert
3fe2778970
SWORD25: Fix to array reversal, fixing path-finding
...
svn-id: r53349
2010-10-12 23:48:09 +00:00
Paul Gilbert
3e9610c601
SWORD25: Fix for path-finding
...
svn-id: r53348
2010-10-12 23:47:48 +00:00
Paul Gilbert
21fe28dbef
SWORD25: Fix for blitting images with negative offsets
...
svn-id: r53347
2010-10-12 23:47:26 +00:00
Eugene Sandulenko
e0cd481d95
SWORD25: Confirmed correctness of vector images alpha blending
...
svn-id: r53346
2010-10-12 23:47:05 +00:00
Eugene Sandulenko
72104f0f0f
SWORD25: Remove unneeded file
...
svn-id: r53345
2010-10-12 23:46:42 +00:00
Eugene Sandulenko
61c7cc13b0
SWORD25: Fixed debug output in GLImage::blit()
...
svn-id: r53344
2010-10-12 23:46:22 +00:00
Eugene Sandulenko
0716b8c1bb
SWORD25: Fix vectorimage transparency
...
svn-id: r53343
2010-10-12 23:46:02 +00:00
Eugene Sandulenko
099406e15e
SWORD25: Implement original hack with skipping green lines
...
svn-id: r53342
2010-10-12 23:45:41 +00:00
Eugene Sandulenko
a248e0b3f1
SWORD25: Fix bug with some vector frames not showing up.
...
svn-id: r53341
2010-10-12 23:45:20 +00:00
Eugene Sandulenko
2fce44d335
SWORD25: Further fixes for vectorimage rendering
...
svn-id: r53340
2010-10-12 23:44:59 +00:00
Eugene Sandulenko
af1fcbf71d
SWORD25: Major bugfix for vector renderer. Only minor glitches are left
...
svn-id: r53339
2010-10-12 23:44:36 +00:00
Eugene Sandulenko
e5ac21dcac
SWORD25: Fix some warnings
...
svn-id: r53338
2010-10-12 23:44:14 +00:00
Paul Gilbert
30f199a5a4
SWORD25: Fix memory leak in transparency commit
...
At the point where the alpha value was checked, a scaled image surface may have already been created, which needs to be freed.
svn-id: r53337
2010-10-12 23:43:44 +00:00
Eugene Sandulenko
cbe304c3ae
SWORD25: Implement transparent bg color for images
...
svn-id: r53336
2010-10-12 23:43:24 +00:00
Paul Gilbert
1f184fd5a9
SWORD25: Memory leak fixes
...
svn-id: r53335
2010-10-12 23:43:03 +00:00
Paul Gilbert
25bb8b6243
SWORD25: Compilation fix
...
svn-id: r53334
2010-10-12 23:42:39 +00:00
Paul Gilbert
f5a822c340
SWORD25: Added de-allocation of data on image load error
...
svn-id: r53333
2010-10-12 23:42:18 +00:00
Paul Gilbert
d84400d507
SWORD25: Initialise image data block in constructor
...
svn-id: r53332
2010-10-12 23:41:57 +00:00
Paul Gilbert
07a8c87efc
SWORD25: Added scaling support
...
svn-id: r53331
2010-10-12 23:41:36 +00:00
Eugene Sandulenko
795a6110cb
SWORD25: Fix warnings
...
svn-id: r53330
2010-10-12 23:41:13 +00:00
Eugene Sandulenko
72dc197885
SWORD25: Fix compilation
...
svn-id: r53329
2010-10-12 23:40:51 +00:00
Eugene Sandulenko
94f1a8be03
SWORD25: Added minimal subset of libart inplace
...
svn-id: r53328
2010-10-12 23:40:27 +00:00
Paul Gilbert
49decb9dc5
SWORD25: Another memory leak fix
...
svn-id: r53327
2010-10-12 23:39:15 +00:00
Paul Gilbert
5d7922d052
SWORD25: Fix memory leak
...
svn-id: r53326
2010-10-12 23:38:55 +00:00
Paul Gilbert
3fc518cd0c
SWORD25: Replaced some free's with delete[]
...
svn-id: r53325
2010-10-12 23:38:37 +00:00
Paul Gilbert
b922b58f8d
SWORD25: Fix for using uninitialised doubles
...
svn-id: r53324
2010-10-12 23:38:16 +00:00
Eugene Sandulenko
7db8be5d4d
SWORD25: bugfix for vector images
...
svn-id: r53323
2010-10-12 23:37:56 +00:00
Eugene Sandulenko
7ad20e3337
SWORD25: Further fixes to vector images. Still not finished.
...
svn-id: r53322
2010-10-12 23:37:35 +00:00
Eugene Sandulenko
a773c7a842
SWORD25: Further attempt to fix vector rendering
...
svn-id: r53321
2010-10-12 23:37:13 +00:00
Eugene Sandulenko
5d98d85a09
SWORD25: fix line drawing in vector images
...
svn-id: r53320
2010-10-12 23:36:52 +00:00
Eugene Sandulenko
e844de5141
SWORD25: Started rewriting vector renderer into proper one
...
Previous attempt was all wrong, as it completely incorrectly
interpreted SWF shape data.
svn-id: r53319
2010-10-12 23:36:25 +00:00
Eugene Sandulenko
5f8739209b
SWORD25: Fix pen width for vector images
...
svn-id: r53318
2010-10-12 23:35:57 +00:00
Eugene Sandulenko
feefc111dd
SWORD25: code formatting
...
svn-id: r53317
2010-10-12 23:35:37 +00:00
Eugene Sandulenko
1041335d34
SWORD25: partial fix for vector image rendering
...
svn-id: r53316
2010-10-12 23:35:14 +00:00
Eugene Sandulenko
bd3c4f2ae5
SWORD25: Fix crashes with vector renderer. Still no gfx.
...
svn-id: r53315
2010-10-12 23:34:47 +00:00
Eugene Sandulenko
7032c209a7
SWORD25: Initial code for vector image rendering. Crashes badly.
...
svn-id: r53314
2010-10-12 23:34:25 +00:00
Eugene Sandulenko
5f83fd1954
SWORD25: Load and parse vector images
...
Libart is temporary solution.
svn-id: r53313
2010-10-12 23:33:51 +00:00
Eugene Sandulenko
dcf70dc6a6
SWORD25: Remove redundant colorspace defines and code.
...
svn-id: r53312
2010-10-12 23:33:23 +00:00
Eugene Sandulenko
99e8337e63
SWORD25: Fix bug in SWF parser
...
svn-id: r53311
2010-10-12 23:32:55 +00:00
Eugene Sandulenko
06bce68860
SWORD25: Comply to the code conventions for several classes
...
svn-id: r53310
2010-10-12 23:32:32 +00:00
Eugene Sandulenko
086f5961b6
SWORD25: unsigned int -> uint
...
svn-id: r53309
2010-10-12 23:30:00 +00:00
Eugene Sandulenko
0cdb2ded85
SWORD25: unsigned char -> byte
...
svn-id: r53308
2010-10-12 23:26:48 +00:00
Eugene Sandulenko
56878b0e62
SWORD25: Got rid of custom typedefs
...
svn-id: r53307
2010-10-12 23:25:54 +00:00
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