48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Eugene Sandulenko
0a7cdd7128 SWORD25: Fix valgrind warning
svn-id: r53255
2010-10-12 22:50:47 +00:00
Eugene Sandulenko
a1d22a063b SWORD25: Fix warnings
svn-id: r53254
2010-10-12 22:50:28 +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
f4024d7d14 SWORD25: Fix initialization.
svn-id: r53245
2010-10-12 22:46:35 +00:00
Eugene Sandulenko
2be2f8331b SWORD25: Get rid of glsprites library
svn-id: r53231
2010-10-12 22:41:44 +00:00
Eugene Sandulenko
fa224de16f SWORD25: Temporarily added tinyxml code
To speedup linking, added the code. It has to be replaced with our
XML parser.

svn-id: r53230
2010-10-12 22:41:04 +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
ab85540a1b SWORD25: More compilation fixes
Now almost everything compiles fine. Several files were tricked
and there are references to tinyxml.h and of course fmod and agg.

OpenGL gfx renderer removed from the project, we need to create
our own from the scratch.

svn-id: r53224
2010-10-12 22:37:13 +00:00
Eugene Sandulenko
7257ee345b SWORD25: More compilation fixes
svn-id: r53223
2010-10-12 22:36:30 +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
6dcf9f0ee5 SWORD25: std::string -> Common::String in gfx/
svn-id: r53218
2010-10-12 22:29:37 +00:00
Eugene Sandulenko
c1b5e5acb8 SWORD25: Fix warnings and compilation
svn-id: r53217
2010-10-12 22:28:54 +00:00
Paul Gilbert
87553862d9 SWORD25: Converted remainder of Kernel/ folder
svn-id: r53216
2010-10-12 22:28:21 +00:00
Eugene Sandulenko
bf53914c2a SWORD25: Fix compilation and several warnings
svn-id: r53215
2010-10-12 22:27:32 +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
Paul Gilbert
ccba0891fd SWORD25: Converted further files from old hashmap.h to Common::HashMap
This commit includes a class pointer hash function added in objectregistry.h that should be double-checked to see if it's correct.

svn-id: r53211
2010-10-12 22:24:37 +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
Paul Gilbert
e78b19a650 SWORD25: Converted kernel/kernel.cpp to compile under ScummVM
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation.
The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files.

svn-id: r53184
2010-10-12 21:55:38 +00:00
Eugene Sandulenko
69b618a8f5 SWORD25: Compilation fixes
Majority of files now compile under Windoze.

svn-id: r53182
2010-10-12 21:54:21 +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
65da804f58 SWORD25: Path fixes for includes
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko
a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00