aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
2003-08-24use less generic file name for settings.dat, I assume filenames > 8.3 are ok ↵Jonathan Gray
for everyone? svn-id: r9849
2003-08-24make settings use SaveFileManager stuff as wellJonathan Gray
svn-id: r9848
2003-08-24fix strange keyboard issues by passing the game the values it wantsJonathan Gray
svn-id: r9847
2003-08-24be more tolerant of files being in different spots, and living on case ↵Jonathan Gray
sensitive filesystems svn-id: r9846
2003-08-24this should be signedJonathan Gray
svn-id: r9845
2003-08-24correct slashes in pathsJonathan Gray
svn-id: r9844
2003-08-24bring up the restore game menu when any -x param is specified, this is nicer ↵Jonathan Gray
than telling it to load a slot as it validates the saves and doesn't try to load a non existent save etc, its also similiar to what the original did (any command line params at all would load the restore menu) svn-id: r9843
2003-08-24we don't need to be told when we've hit a keyJonathan Gray
svn-id: r9842
2003-08-24return read error in PlayCompSpeech for now so we get subtitlesJonathan Gray
svn-id: r9841
2003-08-24work around compiler bug in GCC 2.95.xMax Horn
svn-id: r9836
2003-08-23SetPalette conflicts with an OS symbol on OS XMax Horn
svn-id: r9829
2003-08-23fix a resman method and make saving work using SaveFileManagerJonathan Gray
svn-id: r9828
2003-08-23Unstubbed the Create/Draw/DeleteSurface() functions, and removed someTorbjörn Andersson
unnecessary stuff from our own Surface class. The former allows the in-game dialogs to at least sort of work, and the latter gained me a few frames per second, according to the built-in FPS counter. svn-id: r9825
2003-08-22enable boot param like option for bs2, valid numbers can be found in startup.infJonathan Gray
svn-id: r9822
2003-08-22Added light mask support (in the demo this is most visible when walkingTorbjörn Andersson
under the shack), plus some other cleanups. The s->blend & 0x02 case looks bogus to me, but I don't know where it's used and I can't see that the original did it differently. svn-id: r9819
2003-08-22Only hide the mouse cursor if both the mouse animation and the luggageTorbjörn Andersson
animation are removed. svn-id: r9818
2003-08-22stop bs2 trying to cache clustersJonathan Gray
svn-id: r9815
2003-08-21-Werror cleanup, don't try to free const variables...Jonathan Gray
svn-id: r9808
2003-08-21patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local ↵Jonathan Gray
bits in my tree svn-id: r9807
2003-08-21When a menu icon reaches its full size it can be drawn directly, withoutTorbjörn Andersson
being run through the shrinker first. svn-id: r9806
2003-08-20Draw combined cursor properly. Thanks to joost for finding out that theOliver Kiehl
maximum cursor size in SDL is 80x80. This *might* cause problems in some cases svn-id: r9805
2003-08-20Lots of cleanup.Torbjörn Andersson
Oh, and the menus should work now. :-) svn-id: r9804
2003-08-20Initial (slightly buggy) support for "luggage" mouse cursors, i.e. cursorsTorbjörn Andersson
made up from two different images. svn-id: r9802
2003-08-20fix warning (properly initialise 2 dimensional arrays)Joost Peters
svn-id: r9798
2003-08-20Applied a different fix for the mouse offset problem. As far as I can tell,Torbjörn Andersson
the old way would have made it impossible to access the (not yet implemented) menu icons at the top of the window. I hope this one works... svn-id: r9793
2003-08-20Removed some memset()s that I added earlier out of paranoia. Added a FIXMETorbjörn Andersson
comment, noting that DrawMouse() used to handle the "luggage animations" as well. I don't know if I broke anything when I moved that part of the code. svn-id: r9792
2003-08-20SetMenuIcon(), other stubs in menu.cpp will have to be done for things to be ↵Jonathan Gray
visible, don't have time to do this at the moment. As a side note the demo is now finishable even though you can't see the inventory :) svn-id: r9791
2003-08-20correction from olki that fixes mouse y offset being too highJonathan Gray
svn-id: r9790
2003-08-20Cleaned up DrawSprite() and added scaling, based on the "line doubling"Torbjörn Andersson
method in the original code. There are still a few minor things missing, but it should work well enough for now. svn-id: r9788
2003-08-20This should fix the crash in the demo when you tried to walk down theTorbjörn Andersson
stairs to the water. (And probably countless other places as well.) svn-id: r9787
2003-08-20This should fix mouse cursor animations. (Actually, I hardly even looked atTorbjörn Andersson
what the old mouse cursor patch did. I simply replaced it with my own. Sorry about that. :-) svn-id: r9786
2003-08-19preliminary cursor code. dirty, hacky and no animation yet. but at least ↵Oliver Kiehl
something... svn-id: r9785
2003-08-19Remove a bunch of unneeded cruft - but barely the surface of it. This code ↵James Brown
is depressing and duplicated all over the place... I don't think I can bear to touch this code until it's undergone some MAJOR cleanup :) svn-id: r9782
2003-08-19patch #791032 from erik SWORD2: Sprite drawing (incomplete)Jonathan Gray
svn-id: r9780
2003-08-18Added support for opaque surfaces (it's the default now, actually) since itTorbjörn Andersson
looks like the sprite renderer may need them. svn-id: r9753
2003-08-17patch #790060 SWORD2: Initial graphics work from erik very nice indeed :)Jonathan Gray
svn-id: r9737
2003-08-15Replaced ADLIB_ALWAYS and ADLIB_PREFERRED with a more flexibleJamieson Christian
list of music types supported. This was done because now PC speaker support must be treated separately, along with Adlib and native (GM/MT32) support. This fixes a problem with games that don't support PC speaker (including V5 games that don't parse SPK resources yet) being run with -epcspk or -epcjr. Those games now properly switch to -enull so that music resources still get parsed and music/script synchronization mechanisms don't break. svn-id: r9703
2003-08-03On second thought, WAVE_FORMAT_PCM probably means uncompressed WAV-dataTorbjörn Andersson
after all, or at least not ADPCM-compressed. Updated the comments, but I still don't know how to play it. svn-id: r9433
2003-08-03Don't use level 1 I/O, it's not part of the C++ standard...Marcus Comstedt
svn-id: r9432
2003-08-02patch #781530 Initial work on StreamCompMusic() by erikJonathan Gray
svn-id: r9394
2003-08-02removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I ↵Max Horn
did it should be trivial to get them working again) svn-id: r9391
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-31never include headers in other headers if you can avoid it -> this cuts down ↵Max Horn
on the number of files that have to be recompiled when a header is modified svn-id: r9348
2003-07-31back disable warnings into stdafx.h, vc6 is lack of warnings supportPaweł Kołodziejski
svn-id: r9337
2003-07-31remove bs2 specific osystem varJonathan Gray
svn-id: r9330
2003-07-31slightly changed version of erik's implmentation of FadeServerJonathan Gray
svn-id: r9328
2003-07-30rename bs2 to sword2 to have the same name as the original engine.Oliver Kiehl
besides this way all our engines start with an "s" ;) svn-id: r9301
2003-07-29turn d_sound.cpp into class BS2SoundJonathan Gray
svn-id: r9280
2003-07-28fix vc compilationPaweł Kołodziejski
svn-id: r9263
2003-07-28StopSpeech -> StopSpeechBS2 (avoid conflict wiht SpeechSynthesis framework ↵Max Horn
on OS X) svn-id: r9248