Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-06-09 | Cleaned up the palette handling a bit. Renamed _palCopy to _palette since I | Torbjörn Andersson | |
found the old name misleading (there is only one array that stores the palette in the engine, though it could be argued that it's a copy of the one used by the backend), and removed some code that I'm almost certain was never used. (I've added assert()s to trigger in the cases where it would have been used.) svn-id: r13949 | |||
2004-06-07 | Added comment. | Torbjörn Andersson | |
svn-id: r13946 | |||
2004-06-06 | Cleaned up sprite scaling. | Torbjörn Andersson | |
svn-id: r13944 | |||
2004-06-05 | Cleanup | Torbjörn Andersson | |
svn-id: r13933 | |||
2004-05-09 | Forgot to remove this file when I changed input handling. | Torbjörn Andersson | |
svn-id: r13813 | |||
2004-05-09 | Removed the buffering of mouse and keyboard events. I don't think any of | Torbjörn Andersson | |
our other engines do this, so there is little reason for BS2 to. I did add a filtering mechanism so that mouse button releases and scroll wheeling is ignored during normal gameplay, but I don't know if that was necessary either. Since this left little more than an empty husk where the Input class used to be, I've eliminated that class and buried its remains in Sword2Engine. svn-id: r13812 | |||
2004-05-09 | When drawing lines and points, mark the corresponding screen area as dirty | Torbjörn Andersson | |
so that it gets properly redrawn. Only the debugging code uses these drawing primitives, so it's no big deal, but it's still the right thing to do. svn-id: r13811 | |||
2004-05-05 | Take advantage of the changes in the backend's mouse cursor handling. It | Torbjörn Andersson | |
didn't do the change I was hoping for: the coyote stone is still partially see-through, but perhaps it was in the original as well. At least we no longer need to keep the buffer the mouse cursor is decoded to, since that's now handled by the backend. svn-id: r13782 | |||
2004-05-01 | Simplified the handling of sound effects. It's not necessary for the driver | Torbjörn Andersson | |
to keep its own copy of the sound data. It could be even further simplified (I don't really see any reason for having two different sound queues), but I seem to have reached a point of stability here and I don't want to jinx it by making further changes yet. svn-id: r13705 | |||
2004-04-23 | Major revamping of the BS2 memory manager and, some small changes to the | Torbjörn Andersson | |
resource manager. All new code! All new bugs! svn-id: r13603 | |||
2004-04-07 | Cleanup. | Torbjörn Andersson | |
svn-id: r13494 | |||
2004-03-29 | Make clearScene() set the _needFullRedraw variable. | Torbjörn Andersson | |
I think the reason I didn't do this from the start was that BS2 used to call clearScene(), or whatever the function was called back then, between every frame. Nowadays, it simply assumes that each frame will cover the previous one. Anyway, this change prevents the restart/restore dialog from appearing briefly between the two intro cutscene animations. svn-id: r13421 | |||
2004-03-28 | Renamed more OSystem methods | Max Horn | |
svn-id: r13410 | |||
2004-03-28 | Fixed bug I introduced in the recent cleanup: It's the screen, not the | Torbjörn Andersson | |
overlay, that needs to be cleared at the beginning of the movie. Otherwise what was on the screen may show at the end of the movie. svn-id: r13398 | |||
2004-03-24 | Use the binary .pal file format that was introduced for 0.6.0. | Torbjörn Andersson | |
Invalidate the lookup table when the screen changes. (TODO: We also have to invalidate it if the change happens between cutscenes, don't we?) Some cleanup, particularly in the BS2 cutscene player. More needed, I guess... svn-id: r13377 | |||
2004-03-23 | Unify MPEG2 code even more | Max Horn | |
svn-id: r13365 | |||
2004-03-22 | share 'init' method, too | Max Horn | |
svn-id: r13361 | |||
2004-03-22 | Fix crash introduced by recent code unification. (Mind you, I'm still | Torbjörn Andersson | |
extremely grateful that the BS1 and BS2 cutscene players are finally sharing at least some of their code now.) svn-id: r13360 | |||
2004-03-22 | some more cleanup | Max Horn | |
svn-id: r13359 | |||
2004-03-22 | move commong code into separate source file (more could be done, but it's a ↵ | Max Horn | |
start) svn-id: r13358 | |||
2004-03-21 | Moved Surface/Font code into new 'graphics' module | Max Horn | |
svn-id: r13357 | |||
2004-03-21 | Unify a bit more... | Max Horn | |
svn-id: r13354 | |||
2004-03-15 | fix doxygen-comment mistakes | Max Horn | |
svn-id: r13286 | |||
2004-03-13 | Fixed a slight logic error in the music fading. At this point the code | Torbjörn Andersson | |
should only check if the music is fading, not in which direction. (Also made a minor cleanup.) svn-id: r13235 | |||
2004-03-04 | Apply patch #907359 : Broken Sword videos improved frameskip | Nicolas Bacca | |
svn-id: r13180 | |||
2004-03-01 | Fix from Roever for bug #892827 | James Brown | |
svn-id: r13107 | |||
2004-03-01 | Add fix for error at end of sword2demo (From eriktorbjorn) | Travis Howell | |
Prevent false warnings in demo. svn-id: r13102 | |||
2004-02-28 | renamed more OSystem methods to follow our naming scheme; renamed ↵ | Max Horn | |
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087 | |||
2004-02-24 | the OSystem changes we discussed on the ML (note: renaming of the existing ↵ | Max Horn | |
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036 | |||
2004-02-22 | Avoid deadlock in MPEG-2 cutscenes + slow devices | Nicolas Bacca | |
svn-id: r12996 | |||
2004-02-22 | Patch #885904 (Flac Support) with some tweaks by me | Max Horn | |
svn-id: r12984 | |||
2004-02-21 | unified code a little | Max Horn | |
svn-id: r12974 | |||
2004-02-15 | Proper handling of BS2 cutscene lead-outs, plus some other minor fixes. | Torbjörn Andersson | |
svn-id: r12907 | |||
2004-02-14 | Paint the overlay black at the end of the movie. Not all movies fade out on | Torbjörn Andersson | |
their own, and sometimes the cutscene player will have to wait for the lead out to finish before returning to the game. (This will probably be true even after we fix the timing of the lead-outs.) svn-id: r12871 | |||
2004-02-13 | Check for MP3 file in Broken Sword cutscenes - useful for WinCE backend as ↵ | Nicolas Bacca | |
Tremor crashes for no specific reason (help appreciated :p) here svn-id: r12837 | |||
2004-02-12 | Changed the playback code to use the new "elapsed time" function instead. | Torbjörn Andersson | |
This fixes bug #880484 for me, but may need some fine-tuning. svn-id: r12830 | |||
2004-02-08 | More cutscene fixes from roever | Travis Howell | |
svn-id: r12773 | |||
2004-02-07 | Patch #874510 from roever, fixes BS2 demo cutscene problems (bug #884568) | James Brown | |
svn-id: r12761 | |||
2004-02-05 | Removed some of the #includes from sword2.h | Torbjörn Andersson | |
svn-id: r12739 | |||
2004-01-30 | avoid using huge static structs - they can't be stripped, and increase the ↵ | Max Horn | |
exe size (in this case, 16 MB...) svn-id: r12678 | |||
2004-01-30 | fix whitespaces (we should eventually try to remove this code duplication ↵ | Max Horn | |
again, folks. maybe add a 'video' global module or so...) svn-id: r12676 | |||
2004-01-29 | Renamed the 'pan' effect of the mixer to 'balance', since that is what we ↵ | Max Horn | |
actually do; applied patch #886786 which corrects a bug in the balance code svn-id: r12665 | |||
2004-01-22 | whitespaces | Max Horn | |
svn-id: r12575 | |||
2004-01-20 | Some minor cleanups (comments and spacing), and fixed CPU usage in synced | Torbjörn Andersson | |
cutscene playback. svn-id: r12536 | |||
2004-01-18 | This should make subtitles work again in "overlay" cutscene mode. | Torbjörn Andersson | |
svn-id: r12506 | |||
2004-01-18 | I know we're not supposed to make cleanup commits at this point, but surely | Torbjörn Andersson | |
we can make an exception for removing self-described hacks and utterly misleading comments? :-) svn-id: r12497 | |||
2004-01-18 | Don't allow overlapping voice in cutscenes. Fixes crash in carib cutscene. | James Brown | |
svn-id: r12474 | |||
2004-01-18 | BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable) | James Brown | |
svn-id: r12465 | |||
2004-01-17 | Update BS2 cutscene player with changes from roever: overlay support ↵ | James Brown | |
(default, 8bit backends should define BACKEND_8BIT for fast colour remapping) and sound syncronisation. svn-id: r12456 | |||
2004-01-17 | fix compilation for msvc when libmpeg2 enabled | Paweł Kołodziejski | |
svn-id: r12447 |