Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
a6e5b97e9f
COMMON: Remove vfprintf call from XML parser
2011-06-06 11:19:09 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02: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
48d15398e5
SWORD25: Get rid of kernel/string.h
...
svn-id: r53758
2010-10-24 01:52:27 +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
ae78107e2a
SWORD25: Enforce code naming conventions in gfx/*
...
svn-id: r53625
2010-10-19 20:54:30 +00:00
Max Horn
36cd5caf95
COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::String
...
Almost all places where we used XMLParser::parseIntegerKey were using
it like this:
XMLParser::parseIntegerKey(str.c_str(), ...)
Since this makes the code harder to read, I overloaded the method to
also accept Commmon::String directly.
Also removed all .c_str() invocations where necessary.
svn-id: r53479
2010-10-15 12:19:13 +00:00
Max Horn
f52b31a05f
SWORD25: Typo, cleanup
...
svn-id: r53478
2010-10-15 12:18:41 +00:00
Max Horn
550073ee04
SWORD25: Do not use Kernel::GetService directly anymore
...
svn-id: r53477
2010-10-15 12:18:19 +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
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
Paul Gilbert
1d6aa4d306
SWORD25: Fixed memory leak
...
svn-id: r53279
2010-10-12 23:14:04 +00:00
Paul Gilbert
b294e88f7e
SWORD25: Converted FontResource to use ScummVM XML Parser
...
svn-id: r53277
2010-10-12 23:13:24 +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
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
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
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