Johannes Schickel
5afa6f97f4
SWORD25: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Eugene Sandulenko
6dc3768faa
SWORD25: Fix compilation on some 32-bit systems
2013-07-15 19:19:45 +03:00
Eugene Sandulenko
b7e3d52abc
SWORD25: Replace Pluto with Tamed Pluto for increased compatibility
...
Still saves are incompatible but at least this now has enhanced
debugging capabilities.
2013-07-15 19:02:34 +03:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Eugene Sandulenko
4a62d6c25a
Merge pull request #320 from johndoe123/sword25-gfx
...
SWORD25: Optimized graphics drawing
2013-05-06 03:49:21 -07:00
Eugene Sandulenko
3c0c6a5cb1
SWORD25: Plug memory leak. CID 1003589
2013-04-24 01:23:31 +03: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
Max Horn
cdfd5f85c8
ENGINES: Silence clang warning about unused private member _vm
...
This affects the Console / debugger classes of multiple engines.
An alternative solution would have been to remove the unused _vm
member vars. However, it seems likely that in the future, the _vm
member could be useful for methods added to the console. So instead,
we add a simple assert(_vm) to silence the clang warning.
2013-04-18 23:50:19 +02:00
johndoe123
176a3babc5
Merge branch 'master' of github.com:scummvm/scummvm into sword25-gfx
2013-04-18 19:08:22 +02:00
Max Horn
4a55f52818
SWORD25: Silence warning in the Lua code
...
This fixes warnings like this that crop up when compiling sword25
with Apple clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
2013-04-18 17:09:32 +02:00
johndoe123
e935f85366
SWORD25: Change absolute Z calculation to match that of absolute x/y; remove old comment
2013-04-17 19:54:39 +02:00
johndoe123
0a0b2f397b
SWORD25: Optimize graphics drawing code
2013-04-17 12:41:49 +02:00
Filippos Karapetis
6286779d0a
SWORD25: Fix some spacing in LUA
2013-02-03 18:18:43 +02:00
Filippos Karapetis
afdb28b4e9
SWORD25: Replace calls to LUAI_THROW() with error() in LUA
...
This removes one of the uses of setjmp(), but its use in LUAI_TRY still
remains
2013-02-03 18:17:02 +02:00
Johannes Schickel
fe1a779441
SWORD25: Silence C++11 narrowing warnings.
2013-01-09 07:24:37 +01:00
Johannes Schickel
2773f5d7af
COMMON: Forbid symbols for the rest of is* from ctype.h.
...
I also moved the isprint case to the correct position.
This adds a FIXME to our lua code from sword25, which uses iscntrl directly.
2012-12-13 21:08:48 +01:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops
857b92f8ff
Merge pull request #268 from clone2727/video-rewrite
...
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
upthorn
f34924bc39
SWORD25: Fix loading savegames on 64-bit archs.
2012-08-20 21:15:46 +02:00
Alyssa Milburn
b1af75f2c3
SWORD25: Improve sound persistence.
...
Keep track of volume/panning state, and don't restart sounds which already
finished playing.
2012-08-20 21:14:10 +02:00
Matthew Hoops
92432a136b
VIDEO: Convert TheoraDecoder to the new AdvancedVideoDecoder API
2012-08-13 16:25:03 -04:00
Matthew Hoops
7831225b28
VIDEO: Move TheoraDecoder to video/
2012-08-12 08:58:00 -04:00
Johannes Schickel
5f65cf9679
SWORD25: Get rid of casts on OSystem::copyRectToScreen calls.
2012-06-16 02:39:00 +02:00
Strangerke
04b6af9176
SWORD25: Janitorial: Apply coding conventions
2012-06-13 09:40:11 +02:00
Matthew Hoops
10f7e805c2
VIDEO: Add volume/balance control to VideoDecoder
2012-05-28 14:00:16 -04:00
Matthew Hoops
9e330174c8
VIDEO: Change getElapsedTime() into getTime()
...
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
D G Turner
b7a5573dda
SWORD25: Correct stack dump debug function output.
...
This was introduced by the change from C++ output streams (<<) to
Common::String output. Thanks to salty-horse for finding this.
2012-04-22 14:36:51 +01:00
Johannes Schickel
0e17497110
SWORD25: Do not cast away const qualifier.
2012-04-05 00:40:30 +02:00
Matthew Hoops
a658fc660e
GRAPHICS: Move PNG to the ImageDecoder interface
2012-03-20 01:06:48 +01:00
Christoph Mallon
a64b5e2a77
ALL: Use GCC_ATLEAST().
2012-03-17 20:09:49 +01:00
Christoph Mallon
75efdd2d84
JANITORIAL: Replace (x ? false : true) by !(x).
2012-03-13 15:43:36 +01:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +01:00
Willem Jan Palenstijn
9ffe3e11d9
Merge pull request #182 from fingolfin/forbid-ctype
...
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Johannes Schickel
21fb4af154
SWORD25: Return 0 instead of false in Screenshot::createThumbnail.
...
This should "fix" a g++ warning.
2012-01-29 16:33:43 +01:00
D G Turner
7a0aabccbe
SWORD25: Reduce usage of 'goto'.
...
Have refrained from changing the usage of 'goto' in the embedded LUA
interpreter code for the time being, as this is still in flux due to
the savegame issues.
2011-12-08 19:24:42 +00:00
Christoph Mallon
a78b2d777d
JANITORIAL: Remove extra semicolons.
2011-11-27 12:54:22 +01:00
Filippos Karapetis
52ee29d5cd
SWORD25: Add the Hungarian "psylog" version from bug #3428644
2011-11-26 22:28:41 +02:00
Filippos Karapetis
5e8d52562d
SWORD25: Fixed the language of the Croatian version
2011-11-18 17:52:27 +02:00
Johannes Schickel
61795739f8
COMMON: Rename Common::set_to to Common::fill.
...
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Strangerke
0af96cd379
LAUNCHER: Add GUIO_NOASPECT to sword25
2011-10-24 00:39:31 +02:00
Eugene Sandulenko
32972a5ffb
AD: Switched rest of the engines to new GUIO
2011-10-23 17:53:13 +01:00
Filippos Karapetis
e95bc9d7b0
SWORD25: Make sure that id is always initialized in playSoundEx()
2011-08-07 16:05:54 +03:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Christoph Mallon
bf580e6e6b
JANITORIAL: Add missing NL at EOF.
2011-08-07 13:53:33 +02:00
Eugene Sandulenko
18cbb63cba
SWORD25: Removed custom endianness code in persistence code
...
This is first step towards making saves portable. Binary footprint
left intact, so the saves are compatible.
2011-07-10 18:11:00 +03:00
Eugene Sandulenko
1c711da8fc
SWORD25: Fix regression introduced in 5dd8f2575b0f
...
Janitorial removed function call which had a side effect.
Thus the actor image load code crashed.
2011-07-10 18:10:58 +03:00