Commit Graph

52 Commits

Author SHA1 Message Date
Filippos Karapetis
160517da93 SWORD25: Simplified the YUV->RGBA conversion code
svn-id: r55469
2011-01-23 16:14:51 +00:00
Filippos Karapetis
00a0f8d15d SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
svn-id: r55462
2011-01-23 14:49:50 +00:00
David Turner
7ad677afc8 SWORD25: Added basic debugging console to engine (Command Key Disabled)
Since SWORD25 uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.

However, this is not currently usable as the command key code is commented out.
This is due to the event loop which reads keyboard input being buried 2 object layers below the Engine VM object and I am unsure how the engine development team would want this exposed / interfaced.

svn-id: r54184
2010-11-10 04:30:24 +00:00
Max Horn
cf3551525f SWORD25: Get rid of CallbackRegistry
svn-id: r53898
2010-10-28 00:25:33 +00:00
Max Horn
90dcc8c91a SWORD25: Get rid of classes ScummVMWindow and Window
svn-id: r53832
2010-10-25 21:51:11 +00:00
Max Horn
7cc8811a5c SWORD25: Merge classes PNGLoader, ImageLoader and ImageLoaderManager
This looses some flexibility when it comes to supporting other image
formats. But since the game does not use other image formats, this seems
rather irrelevant, compared to how much simpler the code now is.

svn-id: r53755
2010-10-24 01:32:15 +00:00
Max Horn
1e16d576ca SWORD25: Merge B25SLoader into PNGLoader
svn-id: r53754
2010-10-24 01:31:30 +00:00
Eugene Sandulenko
bbd95da899 SWORD25: Fix engine exit when running without theoradec
svn-id: r53622
2010-10-19 20:52:06 +00:00
Eugene Sandulenko
3feac393b0 SWORD25: Renamed Lua .c files to .cpp and make it compilable
svn-id: r53568
2010-10-18 17:12:00 +00:00
Matthew Hoops
f9910fd0ee SWORD25: Don't compile lua.c
lua.c has its own main function which we don't want. Compiling this in for me gives me a Lua console on startup (which probably isn't a good thing).

svn-id: r53442
2010-10-13 18:13:24 +00:00
Filippos Karapetis
a52f986125 SWORD25: Use $(CXX) -x c to build C files (hopefully this fixes compilation)
svn-id: r53438
2010-10-13 17:33:13 +00:00
Filippos Karapetis
737c2dd0ba SWORD25: Partially revert commit #53389 and add the custom rule for C files
again, so that LUA can be compiled. It's a hack but at least it allows
compilation of C files for now

svn-id: r53437
2010-10-13 17:05:44 +00:00
Max Horn
fa8275f27b SWORD25: Don't even compile theora related code when that lib is not present
svn-id: r53428
2010-10-13 15:00:51 +00:00
Filippos Karapetis
80c7fcede0 SWORD25: Remove the unused LUA compiler
svn-id: r53411
2010-10-13 11:24:53 +00:00
Eugene Sandulenko
9a5415e6f9 SWORD25: Remove custom .c builiding rules
svn-id: r53389
2010-10-13 00:06:53 +00:00
Eugene Sandulenko
3439819232 SWORD25: Add path to art.h include
svn-id: r53386
2010-10-13 00:05:33 +00:00
Eugene Sandulenko
0603a58845 SWORD25: Merged all art* code and cleaned it up
svn-id: r53384
2010-10-13 00:04:40 +00:00
Eugene Sandulenko
f85139bbfa SWORD25: Remove redundant code
svn-id: r53378
2010-10-13 00:01:40 +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
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
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
94f1a8be03 SWORD25: Added minimal subset of libart inplace
svn-id: r53328
2010-10-12 23:40:27 +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
53ac47b955 SWORD25: update makefile with latest changes.
svn-id: r53305
2010-10-12 23:25:13 +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
5bd5790e57 SWORD25: Converted AnimationResource to use SCUMMVM XMLParser. Removed tinyxml library
svn-id: r53281
2010-10-12 23:14:56 +00:00
Eugene Sandulenko
5cf67ce36f SWORD25: Stubbed FMODExSound class
svn-id: r53233
2010-10-12 22:42:22 +00:00
Eugene Sandulenko
9be75f0acc SWORD25: Added missing file
svn-id: r53232
2010-10-12 22:42:01 +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
d50dcb80ad SWORD25: Linking fixes.
svn-id: r53226
2010-10-12 22:38:49 +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
a17ec87b7d SWORD25: Number of compilation and warning fixes
svn-id: r53219
2010-10-12 22:30:57 +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
9b3e26e7a2 SWORD25: Start for VideoDecoder-compatible Theora player.
svn-id: r53206
2010-10-12 22:22:33 +00:00
Paul Gilbert
ea29e41b86 SWORD25: Reimplemented package manager for ScummVM using Common::Archive
svn-id: r53194
2010-10-12 22:15:42 +00:00
Eugene Sandulenko
11b485122c SWORD25: get rid of custom md5.cpp and Windows-specific debug stuff
All version ID generation is useless for ScummVM as we have our own clear
versions. Thus removing all of that.

svn-id: r53191
2010-10-12 22:14:14 +00:00
Paul Gilbert
878f5a49f7 SWORD25: Implemented ScummVM version of BS_FileSystemUtil interface
svn-id: r53186
2010-10-12 22:01:08 +00:00
Paul Gilbert
ee24f79ca1 SWORD25: Added and fixed the remaining engine setup/execution/free code
svn-id: r53185
2010-10-12 22:00:10 +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
1af6e17b0e SWORD25: Remove main_win.cpp
svn-id: r53177
2010-10-12 21:40:43 +00:00
Eugene Sandulenko
c939bc753e SWORD25: Remove memorydumper which is Windows-specific
svn-id: r53176
2010-10-12 21:40:24 +00:00