ShaharAriel
278b467f60
SWORD25: Apply code review suggestion
2022-10-18 17:37:55 +02:00
Shahar Ariel
20821f96ed
SWORD25: Add hebrew support
...
changes:
* use unicode-bidi for hebrew text
* add detection of hebrew patch to detection table
2022-10-18 17:37:55 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Cameron Cawley
eca80c8635
SWORD25: Use more constants for handling colours
2021-08-07 19:19:56 +03:00
Tkachov
9515d07f00
SWORD25: Fixed "Resource not released" warnings [GSoC]
...
(Look https://sourceforge.net/p/scummvm/bugs/6980/ )
The warning messages were appearing because when PRECACHE_RESOURCES is
not defined, ResourceManager's `requestResource()` was used to manually
"cache" them. When you do that, ResourceManager "locks" the resource
once, so you must `release()` it later.
Resources were not released, and warnings appeared. When you
`release()` resource, it still is loaded ("cached"). Resource's
`getLockCount()` is 0, though, so it might be unloaded by
ResourceManager if there is a lot of resources.
2016-03-04 22:21:11 +06:00
Eugene Sandulenko
aa74254f23
SWORD25: Translate comments
2015-11-17 23:28:57 +01:00
Eugene Sandulenko
4dc23ea289
SWORD25: Fix text rendering
2015-11-17 23:17:20 +01:00
Eugene Sandulenko
5c706dde27
SWORD25: Switch to common TransparentSurface
2014-06-15 15:43:25 +03:00
Johannes Schickel
bad7cdd3a6
SWORD25: Make GPL headers consistent in themselves.
2014-02-18 02:39:38 +01:00
D G Turner
7e62442376
SWORD25: And even more fixes for Amiga OS 4 compilation.
2013-09-29 02:33:02 +01:00
D G Turner
03965ba855
SWORD25: Even more fixes for Amiga OS 4 compilation.
2013-09-29 00:45:43 +01:00
johndoe123
4fc57dac8f
SWORD25: Fix blitting code
...
- Rename collectRenderQueue to preRender
- Only do forceRefresh() in Panel::setColor() and Text::setText() if the new values are different
- Move child object resorting from RenderObject::render() into RenderObject::preRender()
2013-04-20 00:34:32 +02:00
johndoe123
0a0b2f397b
SWORD25: Optimize graphics drawing code
2013-04-17 12:41:49 +02:00
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