Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-08-27 | use file class for speech so people with clusters in different directories ↵ | Jonathan Gray | |
get to hear sound as well svn-id: r9875 | |||
2003-08-27 | errr. this shouldn't have been committed | Joost Peters | |
svn-id: r9872 | |||
2003-08-27 | Basic speech code, the change in speech.cpp is needed for me, but I am ↵ | Joost Peters | |
afraid it might break "speech.clu opening" for someone else..I'm confused as to how this all works. heh. Anyway, if you hear no voices: this is probably where to look. svn-id: r9871 | |||
2003-08-26 | Handle the fadeNow parameter to BS2_SetPalette() so that the palette is | Torbjörn Andersson | |
only uploaded to the backend if fadeNow == RDPAL_INSTANT. Otherwise, assume that FadeServer() will do it for us, eventually. I think this is the correct behaviour, and it prevents the bug where the unfaded room image might flash by briefly when moving the mouse while changing rooms. svn-id: r9868 | |||
2003-08-26 | The graphics detail settings partially work now. They only affect how | Torbjörn Andersson | |
sprites are drawn, but I think that's how it should be. 1: No bells or whistles. 2: This setting adds sprite blending, e.g. the smoke at the docks or the display cases at the Glease Gallery. 3: This setting adds light map support, e.g. when walking under the shack at the docks. 4: This setting adds better scaling algorithms. The first three settings should work fine now. In fact, the third setting is what we used to implement. The fourth setting still needs work and testing. I've added code for downscaling case, but frankly I'm not convinced the result is any better than with the simpler scaler. I usually can't even tell the difference. Of course, my translation of the original code could very well be buggy. svn-id: r9867 | |||
2003-08-25 | Clarified the comments for our Surface class a bit. I plan on removing it | Torbjörn Andersson | |
completely soon, so don't use it unless you really, really need to. svn-id: r9855 | |||
2003-08-25 | FadeServer() is now called from ServiceWindows(), thus eliminating the need | Torbjörn Andersson | |
for the making it a timer handler. This should eliminate the occasional glitches I've been seeing with fades not being completed. I'm also hoping that it will fix the problem where the game would sometimes hang when moving between rooms. I know that at least once when I had that happen to me the game was busy-waiting for the palette to fade. At the very least, it's one place less to worry about thread-safety in. svn-id: r9854 | |||
2003-08-24 | fix strange keyboard issues by passing the game the values it wants | Jonathan Gray | |
svn-id: r9847 | |||
2003-08-24 | we don't need to be told when we've hit a key | Jonathan Gray | |
svn-id: r9842 | |||
2003-08-24 | return read error in PlayCompSpeech for now so we get subtitles | Jonathan Gray | |
svn-id: r9841 | |||
2003-08-24 | work around compiler bug in GCC 2.95.x | Max Horn | |
svn-id: r9836 | |||
2003-08-23 | SetPalette conflicts with an OS symbol on OS X | Max Horn | |
svn-id: r9829 | |||
2003-08-23 | Unstubbed the Create/Draw/DeleteSurface() functions, and removed some | Torbjö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-22 | Added light mask support (in the demo this is most visible when walking | Torbjö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-22 | Only hide the mouse cursor if both the mouse animation and the luggage | Torbjörn Andersson | |
animation are removed. svn-id: r9818 | |||
2003-08-21 | -Werror cleanup, don't try to free const variables... | Jonathan Gray | |
svn-id: r9808 | |||
2003-08-21 | When a menu icon reaches its full size it can be drawn directly, without | Torbjörn Andersson | |
being run through the shrinker first. svn-id: r9806 | |||
2003-08-20 | Draw combined cursor properly. Thanks to joost for finding out that the | Oliver Kiehl | |
maximum cursor size in SDL is 80x80. This *might* cause problems in some cases svn-id: r9805 | |||
2003-08-20 | Lots of cleanup. | Torbjörn Andersson | |
Oh, and the menus should work now. :-) svn-id: r9804 | |||
2003-08-20 | Initial (slightly buggy) support for "luggage" mouse cursors, i.e. cursors | Torbjörn Andersson | |
made up from two different images. svn-id: r9802 | |||
2003-08-20 | fix warning (properly initialise 2 dimensional arrays) | Joost Peters | |
svn-id: r9798 | |||
2003-08-20 | Applied 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-20 | Removed some memset()s that I added earlier out of paranoia. Added a FIXME | Torbjö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-20 | SetMenuIcon(), 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-20 | correction from olki that fixes mouse y offset being too high | Jonathan Gray | |
svn-id: r9790 | |||
2003-08-20 | Cleaned 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-20 | This should fix the crash in the demo when you tried to walk down the | Torbjörn Andersson | |
stairs to the water. (And probably countless other places as well.) svn-id: r9787 | |||
2003-08-20 | This should fix mouse cursor animations. (Actually, I hardly even looked at | Torbjörn Andersson | |
what the old mouse cursor patch did. I simply replaced it with my own. Sorry about that. :-) svn-id: r9786 | |||
2003-08-19 | preliminary cursor code. dirty, hacky and no animation yet. but at least ↵ | Oliver Kiehl | |
something... svn-id: r9785 | |||
2003-08-19 | Remove 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-19 | patch #791032 from erik SWORD2: Sprite drawing (incomplete) | Jonathan Gray | |
svn-id: r9780 | |||
2003-08-18 | Added support for opaque surfaces (it's the default now, actually) since it | Torbjörn Andersson | |
looks like the sprite renderer may need them. svn-id: r9753 | |||
2003-08-17 | patch #790060 SWORD2: Initial graphics work from erik very nice indeed :) | Jonathan Gray | |
svn-id: r9737 | |||
2003-08-03 | On second thought, WAVE_FORMAT_PCM probably means uncompressed WAV-data | Torbjö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-02 | patch #781530 Initial work on StreamCompMusic() by erik | Jonathan Gray | |
svn-id: r9394 | |||
2003-08-02 | removed 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-31 | never 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-31 | back disable warnings into stdafx.h, vc6 is lack of warnings support | Paweł Kołodziejski | |
svn-id: r9337 | |||
2003-07-31 | remove bs2 specific osystem var | Jonathan Gray | |
svn-id: r9330 | |||
2003-07-31 | slightly changed version of erik's implmentation of FadeServer | Jonathan Gray | |
svn-id: r9328 | |||
2003-07-30 | rename 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-29 | turn d_sound.cpp into class BS2Sound | Jonathan Gray | |
svn-id: r9280 | |||
2003-07-28 | StopSpeech -> StopSpeechBS2 (avoid conflict wiht SpeechSynthesis framework ↵ | Max Horn | |
on OS X) svn-id: r9248 | |||
2003-07-28 | fix some VC7 warnings | Jonathan Gray | |
svn-id: r9240 | |||
2003-07-28 | rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VC | Jonathan Gray | |
svn-id: r9237 | |||
2003-07-28 | substitute long int for LARGE_INTEGER | Jonathan Gray | |
svn-id: r9236 | |||
2003-07-28 | replace DWORD usage with uint32 | Jonathan Gray | |
svn-id: r9235 | |||
2003-07-28 | rename memory struct as well | Jonathan Gray | |
svn-id: r9234 | |||
2003-07-28 | rename functions with windows specific names | Jonathan Gray | |
svn-id: r9233 |