26 Commits

Author SHA1 Message Date
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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Alyssa Milburn
8305f9c2a0 SWORD25: Simplify text rendering code slightly. 2011-04-14 21:08:52 +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
b2fa7e58a3 SWORD25: Start to rename read/write methods of *PersistenceBlock classes
All should be renamed to reduce risk of accidental incorrect use.

svn-id: r53899
2010-10-28 00:26:25 +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
Paul Gilbert
81f71f48c2 SWORD25: Fix Valgrind reported uninitialised errors
svn-id: r53565
2010-10-18 10:58:22 +00:00
Max Horn
550073ee04 SWORD25: Do not use Kernel::GetService directly anymore
svn-id: r53477
2010-10-15 12:18: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
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
Eugene Sandulenko
0cdb2ded85 SWORD25: unsigned char -> byte
svn-id: r53308
2010-10-12 23:26:48 +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
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
485ff15d23 SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/
svn-id: r53258
2010-10-12 22:53:49 +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
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
c1b5e5acb8 SWORD25: Fix warnings and compilation
svn-id: r53217
2010-10-12 22:28:54 +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