Commit Graph
15 Commits
Author SHA1 Message Date
Eugene Sandulenko 12fadf713d SWORD25: Fixing bug #7041: SWORD25: Crash in final scene
The original was ignoring Lua errors in that scene and was
restoring the state with longjmp.

We are yet to see the platform compatibility, but Lua's code
is too tangled to make simple replacement with error() work.

Another possible alternative would be to rework the original
game scripts. We will do it if this commit is problematic.
2016-02-19 22:42:01 +01: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
Christoph Mallon a64b5e2a77 ALL: Use GCC_ATLEAST(). 2012-03-17 20:09:49 +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
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Max Horn 2c8a9b0e76 SWORD25: Avoid using strcoll 2011-05-26 08:14:57 +02:00
Matthew Hoops eea482fa43 ALL: behaviour -> behavior 2011-05-25 10:50:46 -04:00
md5 cd54d761e1 SWORD25 (LUA): Disabled a lot of non-portable LUA functions
sword25 doesn't use these (thankfully)
2011-05-14 14:58:29 +03:00
md5 dcf9daf4cf SWORD25 (LUA): Some compilation optimizations
For Android, define stroll() inside luaconf.h
For PS2, don't use the visibility attribute, as the PS2 gcc isn't
particularly happy about it...
2011-05-14 12:32:34 +03:00
Eugene Sandulenko 4bc730f256 SWORD25: Strip off unportable functions
svn-id: r55319
2011-01-19 07:40:10 +00:00
Ori Avtalion e6ae9c4d98 SWORD25: Use C-style comments in C files
svn-id: r53538
2010-10-16 12:04:22 +00:00
Ori Avtalion ea9679cf72 SWORD25: Update svn keywords
svn-id: r53537
2010-10-16 12:02:59 +00:00
Eugene Sandulenko ad5b74c9de SWORD25: Clean compile!
Under MinGW, with OpenGL and tinyxml.

svn-id: r53225
2010-10-12 22:38:23 +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 221fc150c6 SWORD25: Moving Lua one level up
svn-id: r53178
2010-10-12 21:47:06 +00:00