aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
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
2003-07-28fix shadow'd varsJonathan Gray
svn-id: r9245
2003-07-28fix shadow warningMax Horn
svn-id: r9244
2003-07-28fixed const errorsMax Horn
svn-id: r9243
2003-07-28fix some VC7 warningsJonathan Gray
svn-id: r9240
2003-07-28match prototypeJonathan Gray
svn-id: r9238
2003-07-28rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VCJonathan Gray
svn-id: r9237
2003-07-28substitute long int for LARGE_INTEGERJonathan Gray
svn-id: r9236
2003-07-28replace DWORD usage with uint32Jonathan Gray
svn-id: r9235
2003-07-28rename memory struct as wellJonathan Gray
svn-id: r9234
2003-07-28rename functions with windows specific namesJonathan Gray
svn-id: r9233
2003-07-28rename _mkdirJonathan Gray
svn-id: r9232
2003-07-28undefine these functions for now but in the long run we should probably ↵Jonathan Gray
rename them svn-id: r9231