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
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
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
a5d895473c
SWORD25: Implement image filpping
...
svn-id: r53304
2010-10-12 23:24:52 +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
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
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
cfc8f84c3e
SWORD25: Fixed compiler warnings
...
svn-id: r53282
2010-10-12 23:15:18 +00:00
Eugene Sandulenko
e7c9014b05
SWORD25: A bit better alpha blending. Still incorrect
...
svn-id: r53278
2010-10-12 23:13:45 +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
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
Paul Gilbert
1d16dfd281
SWORD25: Refactored engine to remove BS_Rect class
...
svn-id: r53265
2010-10-12 23:09:12 +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
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
b65284078a
SWORD25: Debug output for image blitting
...
svn-id: r53253
2010-10-12 22:49:27 +00:00
Eugene Sandulenko
a87dbb4c60
SWORD25: Actually blit images to screen.
...
svn-id: r53250
2010-10-12 22:48:22 +00:00
Eugene Sandulenko
2be2f8331b
SWORD25: Get rid of glsprites library
...
svn-id: r53231
2010-10-12 22:41:44 +00:00
Eugene Sandulenko
23eace8f7d
SWORD25: Next step of graphics code conversion.
...
Now it does not depend on glsprite library and may even show something
svn-id: r53229
2010-10-12 22:40:20 +00:00
Eugene Sandulenko
fd40021a72
SWORD25: Started rewriting gfx subsystem
...
svn-id: r53227
2010-10-12 22:39:23 +00:00
Eugene Sandulenko
ad5b74c9de
SWORD25: Clean compile!
...
Under MinGW, with OpenGL and tinyxml.
svn-id: r53225
2010-10-12 22:38:23 +00:00
Eugene Sandulenko
47904bc7b2
SWORD25: Mass-astyle.
...
svn-id: r53222
2010-10-12 22:35:55 +00:00
Eugene Sandulenko
a17ec87b7d
SWORD25: Number of compilation and warning fixes
...
svn-id: r53219
2010-10-12 22:30:57 +00:00
Eugene Sandulenko
de0fe1db49
SWORD25: Mass-putting of all files in gfx/ into Sword25 namespace
...
svn-id: r53214
2010-10-12 22:27:03 +00:00
Eugene Sandulenko
293bf95c01
SWORD25: Replacing headers with ScummVM ones plus original (C)
...
svn-id: r53188
2010-10-12 22:13:00 +00:00
Eugene Sandulenko
e8bca8b8fe
SWORD25: Fixed rest of the include paths
...
svn-id: r53181
2010-10-12 21:52:41 +00:00
Eugene Sandulenko
a683a420a9
SWORD25: Importing original sources
...
svn-id: r53171
2010-10-12 21:38:20 +00:00