aboutsummaryrefslogtreecommitdiff
path: root/sword1/screen.cpp
AgeCommit message (Collapse)Author
2004-01-18BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable)James Brown
svn-id: r12465
2004-01-11Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes inTorbjörn Andersson
the process, except for SwordEngine. Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>, <stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere. svn-id: r12320
2004-01-09fix for bug #872916: BS1 scrolling glitchRobert Göffringmann
svn-id: r12271
2004-01-07implemented drawing of additional scrolling framesRobert Göffringmann
svn-id: r12223
2004-01-07Tried to make the menus behave a bit more like the original. Perhaps mostTorbjörn Andersson
noticeably: * It no longer matters where you release the mouse button when talking to someone. It uses whatever topic you selected on mouse-down. * The inventory menu doesn't vanish if you're holding an object, even if you move the pointer away from it. * When using an object on a character (to talk to him about it), the top menu fades away, rather than vanishing instantly. Ok, that last change is rather non-obvious, but it does obsolete the clearMenu() function, which has therefore been removed. svn-id: r12222
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-04fixed screen updatingRobert Göffringmann
svn-id: r12146
2004-01-04removed speed button from control panel and made the game do a full screen ↵Robert Göffringmann
refresh after leaving the control panel svn-id: r12127
2004-01-03changed screen drawing code to only redraw blocks that changed.Robert Göffringmann
svn-id: r12109
2004-01-03eriktorbjorn's fix for a crash when sprite were completely outside of the screenRobert Göffringmann
svn-id: r12106
2003-12-28this fixes the remaining glitchesRobert Göffringmann
svn-id: r12004
2003-12-23Microsoft Compilers : Which part of the standard do you want to break today ?Nicolas Bacca
svn-id: r11866
2003-12-22fixed some animation bugsRobert Göffringmann
svn-id: r11862
2003-12-22fixed screen and music fadingRobert Göffringmann
svn-id: r11861
2003-12-22another change to verticalMask(). this should fix the remaining sprite ↵Robert Göffringmann
priority issues svn-id: r11853
2003-12-22added fnSetPaletteToFade/fnSetPaletteToCutRobert Göffringmann
svn-id: r11851
2003-12-22changed the way the control panel is startedRobert Göffringmann
svn-id: r11844
2003-12-22work around a GCC bug.Robert Göffringmann
svn-id: r11843
2003-12-21Highlight the correct (I hope!) menu icon during conversation, and do theTorbjörn Andersson
cheesy menu fade-in/fade-out. svn-id: r11831
2003-12-21fixed scrollingRobert Göffringmann
svn-id: r11830
2003-12-21fixed parallax drawing for room 54Robert Göffringmann
svn-id: r11828
2003-12-20fixed crashes after restoring a savegame, added fnSetPaletteToFade and ↵Robert Göffringmann
changed speech code to distinguish between CD1 and CD2. (now needs SPEECH1.CLU and SPEECH2.CLU) svn-id: r11789
2003-12-20sprites should now be rendered correctly.Robert Göffringmann
svn-id: r11784
2003-12-20Modified the calculation of where to draw parallaxes to be more like theTorbjörn Andersson
one in Broken Sword II. At least the first room appears to behave like the original now. (Except for a masking bug, which is almost certainly unrelated to parallaxes.) svn-id: r11781
2003-12-20A comment in decompressRLE0() said that the images are vertically flipped,Torbjörn Andersson
but I'm not so sure. I've changed the code to assume that they're not, and this fixes both the drawing of the worker in the background of the first room, and of the fan at the police station. svn-id: r11780
2003-12-19Changed abs() to ABS(), and changed a sorting function to use SWAP()Torbjörn Andersson
svn-id: r11761
2003-12-19Whitespace changesTorbjörn Andersson
svn-id: r11760
2003-12-18big endian typecasts for FROM_LE_xxRobert Göffringmann
svn-id: r11727
2003-12-18one more big endian fixRobert Göffringmann
svn-id: r11725
2003-12-17fixed text output and logic bug. changed scrolling code.Robert Göffringmann
hey, sword is running really nice already. :) svn-id: r11703
2003-12-17fixed resMan bug about closing of sections and started adding menu supportRobert Göffringmann
svn-id: r11695
2003-12-16fix sprite drawing bugsRobert Göffringmann
svn-id: r11688
2003-12-16copied the SwordRouter from the original BS1 sources.Robert Göffringmann
It doesn't fit to our coding guidelines but at least it's working, so please bear with it for now. :) svn-id: r11687
2003-12-16compilation fixesJonathan Gray
svn-id: r11679
2003-12-16there is allready definitions for MIN/MAXPaweł Kołodziejski
svn-id: r11676
2003-12-16 o FreeBSD specifix fix. I am not sure it is applicable to every UnixEugene Sandulenko
svn-id: r11675
2003-12-16Broken Sword 1: initial importRobert Göffringmann
svn-id: r11664