Commit Graph

18455 Commits

Author SHA1 Message Date
Eugene Sandulenko
e0b69a3061 SWORD25: Remove lua.c since it is not needed
svn-id: r53452
2010-10-13 22:23:09 +00:00
Max Horn
9ca0a6147b SWORD25: Get rid of (deprecated) access to libpng io_ptr
Unfortunately I cannot test this, so watch our for regressions.

svn-id: r53451
2010-10-13 22:18:57 +00:00
Max Horn
810f087599 SWORD25: Fix empty loop body & conversion warnings
svn-id: r53450
2010-10-13 22:18:32 +00:00
Torbjörn Andersson
e52b77dc7b SWORD25: Worked around crash in options dialog.
I don't really know if this is correct, but aesthetically it goes well
with how the scale factor is treated.

svn-id: r53447
2010-10-13 20:05:21 +00:00
Johannes Schickel
bc2781fdb3 SWORD25: Semi-colon cleanup.
svn-id: r53446
2010-10-13 20:04:50 +00:00
Torbjörn Andersson
bbbfdad458 SWORD25: Check if _LogFile has been created before flushing.
svn-id: r53445
2010-10-13 19:33:12 +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
2880ebdeb4 Fixed ifdef. I'm too tired today :/
svn-id: r53440
2010-10-13 17:45:20 +00:00
Filippos Karapetis
96e05a1ff9 SWORD25: Hopefully fix compilation when libtheora is not present
svn-id: r53439
2010-10-13 17:42:56 +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
9755c63292 SWORD25: Invoke parent's class copy constructor
svn-id: r53432
2010-10-13 15:41:55 +00:00
Max Horn
9b4d41d2d2 SWORD25: Convert object registries to singletons
svn-id: r53431
2010-10-13 15:41:34 +00:00
Max Horn
8f4f0d16fc SWORD25: Renamed getInstance() -> instance()
svn-id: r53430
2010-10-13 15:41:00 +00:00
Filippos Karapetis
17f9913a24 SWORD25: Oops, atan2() takes two arguments
svn-id: r53429
2010-10-13 15:06:14 +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
a3d3e94a8d SWORD25: Extended Mac OSX compilation fix for sqrtf and atan2f
svn-id: r53426
2010-10-13 14:40:32 +00:00
Filippos Karapetis
090540504d SWORD25: Hopefully fixed compilation under Mac OSX, Solaris and mingw32
Taken from sound/softsynth/mt32/tables.cpp lines 28-41 (thanks LordHoto)

svn-id: r53425
2010-10-13 14:33:47 +00:00
Filippos Karapetis
de3534fcd3 SWORD25: Include common/scummsys.h in places where USE_THEORADEC is used
svn-id: r53423
2010-10-13 14:13:48 +00:00
Filippos Karapetis
d83a70af43 SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure)
svn-id: r53418
2010-10-13 13:32:30 +00:00
Filippos Karapetis
f2d9319d9e SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure)
svn-id: r53417
2010-10-13 13:27:55 +00:00
Filippos Karapetis
681ec59292 SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.h
This define can be used to disable building of the Theora decoder, and thus makes
libtheora optional (therefore resolving an item in the Sword25 TODO). Disabling the
Theora decoder will effectively disable the game's videos

Note that running the game with the Theora decoder disabled is still untested

svn-id: r53416
2010-10-13 13:07:16 +00:00
Sven Hesse
ff0160050a SWORD25: Force cast to uint instead of unsigned long long
As per Fingolfin's request, because apparently there's no long long
in the C++ standard; and ScummVM's hashmap needs uint.

svn-id: r53413
2010-10-13 11:42:17 +00:00
Filippos Karapetis
c81da6dcb6 SWORD25: Silenced MSVC false positive about a potentially uninitialized variable
svn-id: r53412
2010-10-13 11:32:08 +00:00
Filippos Karapetis
80c7fcede0 SWORD25: Remove the unused LUA compiler
svn-id: r53411
2010-10-13 11:24:53 +00:00
Sven Hesse
ab57b38fdf SWORD25: Resolve ambigous write() call on 64 bit systems
svn-id: r53410
2010-10-13 11:22:52 +00:00
Sven Hesse
c86c0b6b96 SWORD25: Cast the pointer to unsigned long long
...Instead of to uint, which fails on my 64 bit system where pointers
are 64 bit, but normal ints 32 bit wide.

svn-id: r53409
2010-10-13 11:22:19 +00:00
Filippos Karapetis
a876494fe7 SWORD25: Stop using class names as variable names
svn-id: r53408
2010-10-13 11:20:49 +00:00
Filippos Karapetis
59c6223d49 SWORD25: Fixed signed/unsigned bug
svn-id: r53407
2010-10-13 11:18:34 +00:00
Max Horn
85fa23afbe SWORD25: Get rid of kernel/bs_stdint.h
svn-id: r53405
2010-10-13 10:51:20 +00:00
Max Horn
02322c562c SWORD25: Get rid of Kernel::GetMicroTicks()
svn-id: r53403
2010-10-13 10:41:30 +00:00
Paul Gilbert
655e4a961a LURE: Bugfix for characters getting stuck in Abbey doorway
svn-id: r53402
2010-10-13 10:12:35 +00:00
Lars Persson
c0e2f1c6f8 TOON: Updated code to build properly for WINSCW and GCCE(symbian)
Added templates to MAX & MIN functions. Correct usage of OpcodeV2(instead of Opcode)
Match implementation with function definition. (int32 is not == int on all platforms)

svn-id: r53401
2010-10-13 07:14:38 +00:00
David Turner
6527c01cb5 GOB: Add Debug Console.
This allows interactive control of debug flags and variables and provides a base to allow
for commands to aid in tracking down script bugs which are tricky to replicate.

svn-id: r53398
2010-10-13 03:49:54 +00:00
Matthew Hoops
07abe3d603 SCI: Add detection for Hoyle4 Mac
svn-id: r53397
2010-10-13 03:28:59 +00:00
Eugene Sandulenko
eb66750137 SWORD25: Enforce code naming conventions in gfx/animation*
svn-id: r53393
2010-10-13 00:10:18 +00:00
Eugene Sandulenko
063cb5d84c SWORD25: Enforced code naming conventions in math/*
svn-id: r53392
2010-10-13 00:09:32 +00:00
Eugene Sandulenko
54ccc8f4c9 SWORD25: Enforced code naming conventions in script/*
svn-id: r53391
2010-10-13 00:08:28 +00:00
Eugene Sandulenko
1e15d8efb7 SWORD25: Enforced code naming conventions in sfx/ and reservice.h
svn-id: r53390
2010-10-13 00:07:27 +00:00
Eugene Sandulenko
9a5415e6f9 SWORD25: Remove custom .c builiding rules
svn-id: r53389
2010-10-13 00:06:53 +00:00
Eugene Sandulenko
bf22def884 SWORD25: Enforce code naming conventions in fmv/*
svn-id: r53388
2010-10-13 00:06:37 +00:00
Eugene Sandulenko
7bcfe1f195 SWORD25: Remove standalone SWF rendering tool
svn-id: r53387
2010-10-13 00:06:12 +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
56e05f93a3 SWORD25: Stop polluting global namespace
svn-id: r53385
2010-10-13 00:05:09 +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
91d1d9eb09 SWORD25: Fix startup
svn-id: r53383
2010-10-13 00:04:04 +00:00
Eugene Sandulenko
5790f2a8a1 SWORD25: Add proper copyrights to gfx/image/art*
svn-id: r53382
2010-10-13 00:03:47 +00:00
Eugene Sandulenko
1855cee5e3 SWORD25: Loading >200kb file in memory is no more ugly
svn-id: r53381
2010-10-13 00:03:10 +00:00
Eugene Sandulenko
8582c1ad57 SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine
svn-id: r53380
2010-10-13 00:02:51 +00:00
Eugene Sandulenko
736ae4c07a SWORD25: Return proper path separator
svn-id: r53379
2010-10-13 00:01:59 +00:00