aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel
AgeCommit message (Collapse)Author
2010-11-28SWORD25: Fix warning: deref type-punned pointer breaks strict-aliasing rulesMax Horn
svn-id: r54550
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-10-28SWORD25: Comment out unused static variable.Johannes Schickel
svn-id: r53909
2010-10-28SWORD25: Standardised savegame filenames, start on advanced engine featuresPaul Gilbert
svn-id: r53901
2010-10-28SWORD25: Start to rename read/write methods of *PersistenceBlock classesMax Horn
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899
2010-10-28SWORD25: Get rid of CallbackRegistryMax Horn
svn-id: r53898
2010-10-25SWORD25: Add FIXME about savegame names; cleanupMax Horn
svn-id: r53839
2010-10-25SWORD25: Simplify FS 'wrapper' code a bit, add FIXME commentsMax Horn
The save system of this engine currently partially bypasses the SaveFileManager API, by (abusing) the fact that the Lua engine allows creating files in arbitrary places (it exposes fopen, fread, fwrite etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable. In addition, the filenames used for the savestates ("0.b25s") do not comply with our naming conventions for engine savestates. It should be possible to overcome all this, but it might require hacking the Lua engine; or we could try to replace some of the BS2.5 script functions with our own, dynamically. svn-id: r53838
2010-10-25SWORD25: Get rid of most of the 'kernel service/superclass' codeMax Horn
svn-id: r53835
2010-10-25SWORD25: Get rid of classes ScummVMWindow and WindowMax Horn
svn-id: r53832
2010-10-24SWORD25: Remove some dead code; cleanupMax Horn
svn-id: r53760
2010-10-24SWORD25: Replace ResourceManager's hash table by a Common::HashMapMax Horn
svn-id: r53759
2010-10-24SWORD25: Get rid of kernel/string.hMax Horn
svn-id: r53758
2010-10-20SWORD25: Added description field to savegamesPaul Gilbert
This stores the date and time of when the game was saved, since ScummVM doesn't support getting a file's age like the original engine did. svn-id: r53638
2010-10-20SWORD25: Fix to correctly write game state to savegame filesPaul Gilbert
svn-id: r53637
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Fix engine exit when running without theoradecEugene Sandulenko
svn-id: r53622
2010-10-19SWORD25: Simplify log listener code (and get rid of another global constructor)Max Horn
svn-id: r53610
2010-10-19SWORD25: Some code cleanupMax Horn
svn-id: r53608
2010-10-19SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD structMax Horn
svn-id: r53607
2010-10-19SWORD25: Optimize ReverseArray, move it to only place it is usedMax Horn
svn-id: r53606
2010-10-19SWORD25: Fix cppcheck warnings in BS_Log::LogPrefixPaul Gilbert
The LogPrefix method isn't currently used, but I'm fixing it just in case it's ever used again svn-id: r53602
2010-10-15SWORD25: Fix infinite recursionTorbjörn Andersson
If I understand this, we don't need to call Kernel::GetInstance() when we are already in the Kernel class. In this particular case, _RegisterScriptBindings() is called from the Kernel constructor, so it gets called again and again because _Instance hasn't yet been set. svn-id: r53512
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Semi-colon cleanup.Johannes Schickel
svn-id: r53446
2010-10-13SWORD25: Check if _LogFile has been created before flushing.Torbjörn Andersson
svn-id: r53445
2010-10-13Fixed ifdef. I'm too tired today :/Filippos Karapetis
svn-id: r53440
2010-10-13SWORD25: Hopefully fix compilation when libtheora is not presentFilippos Karapetis
svn-id: r53439
2010-10-13SWORD25: Renamed getInstance() -> instance()Max Horn
svn-id: r53430
2010-10-13SWORD25: Don't even compile theora related code when that lib is not presentMax Horn
svn-id: r53428
2010-10-13SWORD25: Renamed ENABLE_THEORADEC to USE_THEORADEC (like in configure)Filippos Karapetis
svn-id: r53418
2010-10-13SWORD25: Renamed ENABLE_THEORA to ENABLE_THEORADEC (like in configure)Filippos Karapetis
svn-id: r53417
2010-10-13SWORD25: Added a ENABLE_THEORA define inside fmv/theora_decoder.hFilippos Karapetis
This define can be used to disable building of the Theora decoder, and thus makes libtheora optional (therefore resolving an item in the Sword25 TODO). Disabling the Theora decoder will effectively disable the game's videos Note that running the game with the Theora decoder disabled is still untested svn-id: r53416
2010-10-13SWORD25: Force cast to uint instead of unsigned long longSven Hesse
As per Fingolfin's request, because apparently there's no long long in the C++ standard; and ScummVM's hashmap needs uint. svn-id: r53413
2010-10-13SWORD25: Resolve ambigous write() call on 64 bit systemsSven Hesse
svn-id: r53410
2010-10-13SWORD25: Cast the pointer to unsigned long longSven Hesse
...Instead of to uint, which fails on my 64 bit system where pointers are 64 bit, but normal ints 32 bit wide. svn-id: r53409
2010-10-13SWORD25: Fixed signed/unsigned bugFilippos Karapetis
svn-id: r53407
2010-10-13SWORD25: Get rid of kernel/bs_stdint.hMax Horn
svn-id: r53405
2010-10-13SWORD25: Get rid of Kernel::GetMicroTicks()Max Horn
svn-id: r53403
2010-10-13SWORD25: Enforced code naming conventions in math/*Eugene Sandulenko
svn-id: r53392
2010-10-13SWORD25: Enforced code naming conventions in script/*Eugene Sandulenko
svn-id: r53391
2010-10-13SWORD25: Enforced code naming conventions in sfx/ and reservice.hEugene Sandulenko
svn-id: r53390
2010-10-13SWORD25: Enforse code naming conventions in PackageManager and Sword25EngineEugene Sandulenko
svn-id: r53380
2010-10-13SWORD25: Return proper path separatorEugene Sandulenko
svn-id: r53379
2010-10-13SWORD25: Remove redundant codeEugene Sandulenko
svn-id: r53378
2010-10-12SWORD25: Further savegame work, including savegame screenshotsPaul Gilbert
This handles saving (but not yet re-loaded display) of screenshots into savegame files. It also changes the original engine behaviour of temporarily saving the screenshots in a file 'tmp.png' to keeping the raw PNG file data in a memory block. svn-id: r53373
2010-10-12SWORD25: Fix warningEugene Sandulenko
svn-id: r53368
2010-10-12SWORD25: Got rid of FMODExSound classEugene Sandulenko
svn-id: r53364
2010-10-12SWORD25: Got rid of OpenGLGfx classEugene Sandulenko
svn-id: r53356
2010-10-12SWORD25: Get rid of ScummVMInput classEugene Sandulenko
svn-id: r53354