Matthew Hoops
9539017ee3
ALL: initialise -> initialize
2011-05-25 11:17:11 -04:00
Max Horn
fb31fa2d6a
SWORD25: Name the random source
2011-05-17 12:17:28 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Alyssa Milburn
a762173794
SWORD25: Always create the MoviePlayer, even without USE_THEORADEC.
2011-04-14 18:45:45 +02:00
Filippos Karapetis
c63ff39a7f
SWORD25: Resources are now cleaned up correctly
...
The original checked the total amount of memory occupied by all resources. This has been
changed to a maximum number of simultaneous resources instead, so the game resources
are no longer leaked. Also disabled the unused or debug functions getUsedMemory(),
setMaxMemoryUsage(), setMaxMemoryUsage(), isLogCacheMiss(), setLogCacheMiss(). Performed
some cleanup on code related to the above.
svn-id: r55594
2011-01-28 16:54:55 +00:00
Filippos Karapetis
a2f9600179
SWORD25: Disabled the mechanism which precaches all of the game's resources on startup.
...
This reduced the initial memory used by 100MB for me, though the game keeps allocating
new resources in each scene without deleting them, because of the missing functionality in
getUsedMemory(). This change also slightly reduces the loading time on game startup.
svn-id: r55593
2011-01-28 16:13:12 +00:00
Filippos Karapetis
1250785822
SWORD25: Replaced BS_ASSERT() with assert()
...
svn-id: r55464
2011-01-23 15:01:24 +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
Max Horn
e761f76653
SWORD25: Get rid of most of the 'kernel service/superclass' code
...
svn-id: r53835
2010-10-25 22:41:25 +00:00
Max Horn
90dcc8c91a
SWORD25: Get rid of classes ScummVMWindow and Window
...
svn-id: r53832
2010-10-25 21:51:11 +00:00
Eugene Sandulenko
6629efc676
SWORD25: Enforced code formatting rules in rest of the engine
...
svn-id: r53626
2010-10-19 21:03:33 +00:00
Eugene Sandulenko
bbd95da899
SWORD25: Fix engine exit when running without theoradec
...
svn-id: r53622
2010-10-19 20:52:06 +00:00
Max Horn
d6b7ebab16
SWORD25: Some code cleanup
...
svn-id: r53608
2010-10-19 09:44:13 +00:00
Max Horn
ddf0a3d80c
SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD struct
...
svn-id: r53607
2010-10-19 09:43:53 +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
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
Max Horn
02322c562c
SWORD25: Get rid of Kernel::GetMicroTicks()
...
svn-id: r53403
2010-10-13 10:41:30 +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
086f5961b6
SWORD25: unsigned int -> uint
...
svn-id: r53309
2010-10-12 23:30:00 +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
a1d22a063b
SWORD25: Fix warnings
...
svn-id: r53254
2010-10-12 22:50:28 +00:00
Eugene Sandulenko
72130c284d
SWORD25: Fix couple more warnings
...
svn-id: r53236
2010-10-12 22:43:36 +00:00
Eugene Sandulenko
47904bc7b2
SWORD25: Mass-astyle.
...
svn-id: r53222
2010-10-12 22:35:55 +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
e8bca8b8fe
SWORD25: Fixed rest of the include paths
...
svn-id: r53181
2010-10-12 21:52:41 +00:00
Eugene Sandulenko
2cbeeb1e97
SWORD25: Removed cpuinfo.cpp file
...
svn-id: r53173
2010-10-12 21:39:16 +00:00
Eugene Sandulenko
a683a420a9
SWORD25: Importing original sources
...
svn-id: r53171
2010-10-12 21:38:20 +00:00