aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
AgeCommit message (Collapse)Author
2015-01-07SWORD25: Remove unused codeRichieSams
The original idea was to keep the code variation and pick the best one. However, these two methods we're portable enough for our needs.
2015-01-04SWORD25: Commend unused and unportable functionsEugene Sandulenko
2015-01-04SWORD25: Hopefully fix compilation errorsEugene Sandulenko
2015-01-04SWORD25: Fix warningEugene Sandulenko
2014-12-30SWORD25: Remove the option to persist a double as a stringRichieSams
Since the current method *should* be more accurate
2014-12-30SWORD25: Change function names to use persist instead of serializeRichieSams
Same argument as in 97c35714ce3986b99848a780f6b195a63f8910b7. To match the rest of the SWORD25 code base
2014-12-30SWORD25: Add Pluto copyright message to new persistence codeRichieSams
Since the code is based off the Pluto code
2014-12-30SWORD25: Correct include guards to reflect the changes to the file namesRichieSams
2014-12-30SWORD25: Remove old lua persistence filesRichieSams
2014-12-30SWORD25: Fix how nils are persistedRichieSams
The unpersist code expects nils to be represented as an index with value 0. The persist code incorrectly wrote out this data
2014-12-30SWORD25: Rename double serialization file to better represent what it isRichieSams
AKA functions, rather than a class
2014-12-30SWORD25: Rename lua serialization functions to use 'persist' in order to ↵RichieSams
match the rest of the engine
2014-12-30SWORD25: Move all lua serialization helper functions to their own fileRichieSams
2014-12-19SWORD25: Fix code formattingAdrian Astley
... with AStyle
2014-12-19SWORD25: Re-write the pluto unserializing function(s)Adrian Astley
2014-12-19SWORD25: Move common functions to their own set of files so they can be sharedAdrian Astley
2014-12-19SWORD25: Create a function for serializing lua objectsAdrian Astley
This function is very similar to the Pluto function. However, this code is much cleaner and is endian-safe
2014-12-19SWORD25: Create a set of functions for manually serializing a doubleAdrian Astley
Since we can't assume IEEE.
2014-12-07SWORD25: Disable unused codeFilippos Karapetis
Thanks to fingolfin for pointing out this unused code
2014-10-28SWORD25: Remove trailing whitespaceFilippos Karapetis
2014-09-12SWORD25: Make save files x32/x64 agnosticAdrian Astley
2014-04-28Merge pull request #426 from sunmax/masterEugene Sandulenko
PS2: Pull request to master for latest PS2 code
2014-02-18SWORD25: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-19PS2: modified sword25 loslib.cpp to support PS2Max Lingua
2013-11-24SWORD25: Janitorial - Fix spacing errorsStrangerke
2013-11-04SWORD25: Revert "Fix compilation on some 32-bit systems"Willem Jan Palenstijn
This reverts commit 6dc3768faaa272a12e3c6e7ce0965905338132ad. This commit was the wrong fix to the compilation problem later fixed by 8e9aefbf6edafa9eed41bd90e5579e5bcde34b03.
2013-09-27SWORD25: Remove explictit #includesEugene Sandulenko
Makes Coverity happier.
2013-07-15SWORD25: Fix compilation on some 32-bit systemsEugene Sandulenko
2013-07-15SWORD25: Replace Pluto with Tamed Pluto for increased compatibilityEugene Sandulenko
Still saves are incompatible but at least this now has enhanced debugging capabilities.
2013-04-18SWORD25: Silence warning in the Lua codeMax Horn
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-02-03SWORD25: Fix some spacing in LUAFilippos Karapetis
2013-02-03SWORD25: Replace calls to LUAI_THROW() with error() in LUAFilippos Karapetis
This removes one of the uses of setjmp(), but its use in LUAI_TRY still remains
2012-12-13COMMON: Forbid symbols for the rest of is* from ctype.h.Johannes Schickel
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-08-20SWORD25: Fix loading savegames on 64-bit archs.upthorn
2012-03-17ALL: Use GCC_ATLEAST().Christoph Mallon
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
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-15ALL: Avoid using is* macros from ctype.hMax Horn
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.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-07JANITORIAL: Add missing NL at EOF.Christoph Mallon
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
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-18SWORD25: Fix locale-related bug when reading the volume settingseriktorbjorn
I don't really like this, but I can't think of any better way. It seems that Lua doesn't like decimal comma at all, so we have to format the volume settings with a decimal point instead. Otherwise, all I'll ever get is either full volume or no volume, with nothing in between.
2011-06-18SWORD25: Fix getting volume settings from config fileeriktorbjorn
The tests had been inverted, so that if there were config file settings it would use the default settings instead.
2011-06-06COMMON: Make more symbols forbiddenMax Horn
2011-05-26SWORD25 (LUA): Removed unused code for handling precompiled LUA sciptsmd5
2011-05-26SWORD25: Fix warning: double format, float arg on DCMax Horn
2011-05-26SWORD25: Avoid using strcollMax Horn