aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
AgeCommit message (Collapse)Author
2007-07-26Corrected Woodruff's hotspot text positions.Sven Hesse
svn-id: r28208
2007-07-25Added a few safety checks. Now Woodruff shows the loading image (closely ↵Sven Hesse
followed by a crash). svn-id: r28203
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-01Made the collisionAreas' coordinates unsigned. This should fix bug #1706988Sven Hesse
svn-id: r26715
2007-04-17Fix scroll handlerSven Hesse
svn-id: r26541
2007-04-13The scrolling now works without cursor jittering...Sven Hesse
svn-id: r26458
2007-04-09Preventing scrolling while the menu is shownSven Hesse
svn-id: r26440
2007-04-06Some Gob3 fixes:Sven Hesse
- wrong positioning of the inventory - walking - close-up fadeing in the CD version svn-id: r26390
2007-04-05Implemented scrolling and split screen (for the text field, the bottom 40 ↵Sven Hesse
lines) in Gob3 svn-id: r26387
2007-04-05- Minor cleanupSven Hesse
- Added Inter_v3 (for new opcode o3_getTotTextItemPart) - Some fixes to let Gob3 start with the first screen svn-id: r26383
2007-04-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
2007-03-30- Fixed the IMD playing within mults, the non-interactive Gob3 demo should ↵Sven Hesse
work better now - Replaced strcpy with strncpy where appropriate - Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230 svn-id: r26327
2007-03-29- Properly implemented the ImdPlayerSven Hesse
- Some more clean-up svn-id: r26316
2007-03-20Major clean-up, including:Sven Hesse
- Cutting down the code-dup - Plucking leaks - Removing dead/unused code - Properly naming "word_2342F"-style variables and functions (removing the warnings alongside) - Fleshing out the "stubby" functions - Moving functions and variables to more appropriate/logical places - Re-ordering functions and variables - Re-structuring functions - Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up) - Formatting - Getting rid off the classes "Anim", "Pack" and "Timer", along with their files svn-id: r26252
2007-03-04- Some minor fixesSven Hesse
- Added the Gob2 Mac version fac76 reported in bug #1673397 svn-id: r25977
2007-03-02- Fixed the actor freeze issue in the garage in Bargon AttackSven Hesse
- Some minor fixes svn-id: r25921
2007-02-16Some very obvious cleanups.Torbjörn Andersson
svn-id: r25635
2007-02-12Changed language finding againSven Hesse
svn-id: r25525
2007-02-12- Some fixes for demos and Amiga versionsSven Hesse
- Improved language finding a bit svn-id: r25520
2007-02-07- Fixed another freeze in WeenSven Hesse
- Changed cursor visibility handling a bit svn-id: r25407
2007-02-06- Fixed Ween's inventory in the volcano (#1630113)Sven Hesse
- Added a range check to avoid invalid reads into _wayPoints in Map::checkDirectPath() svn-id: r25402
2007-02-06Implemented vertical scrollingSven Hesse
svn-id: r25401
2007-02-05- Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, ↵Sven Hesse
Mult::_multData2 and some of the loose variables in Mult - Added some missing MD5s/game versions (#1652352) svn-id: r25393
2007-02-04- Plugged some leaks and fixed some memory errorsSven Hesse
- Fixed the cursor animation loops in Ween and Bargon - Added Draw_Bargon + Inter_Bargon - Implemented Bargon Attack's hardcoded intro parts svn-id: r25387
2007-01-30eplaced platform-specific game features with common platform setting.Eugene Sandulenko
svn-id: r25294
2007-01-30- Changed _soundFlags and implemented "compositions"Sven Hesse
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions - Some clean-up svn-id: r25292
2007-01-29- Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)Sven Hesse
- Implemented wide surfaces + scrolling - Some clean-up svn-id: r25253
2007-01-26- Just warn, don't die, when a CD-Track isn't foundSven Hesse
- Before using _vm->_adlib, first check whether it's actually there svn-id: r25205
2007-01-23Added support for Infogrames/RobHubbard2 (amiga) musicSven Hesse
svn-id: r25160
2007-01-13Rename special debug levels to conform our suggested naming scheme.Eugene Sandulenko
svn-id: r25073
2007-01-06- Fixed cut off and missing soundsSven Hesse
- Fixed a crash/static reported in the forums (sending Winkle to the vulture) - (Hopefully) fixed the immediately-closing notepad heisenbug (#1621089) - Fixed using unitialised values after allocating the variables svn-id: r25025
2006-12-18Fixed the note-pad, font changing and date/time-displaySven Hesse
svn-id: r24875
2006-12-18Added a waitRetrace in Game_v2::CheckCollisions() and rearranged the delay ↵Sven Hesse
in o1_keyFunc(), so that the save name dialog is shown and the "Empty Inventory" message is displayed properly as well. svn-id: r24874
2006-11-27- Properly implemented o2_getCDTrackPos()Sven Hesse
- Each save has now its own file (.s??). They also should be endian-safe now (Can be disabled for testing by uncommenting #define GOB_ORIGSAVES in gob.cpp) - General endianness-fixes svn-id: r24794
2006-11-21- Fixed the crashes in Gob1 EGA and Gob2 DemoSven Hesse
- Fixed the compile error in GobEngine::saveGame on some systems svn-id: r24756
2006-11-20Changed the way sprites-freeing is handled, now the menu sprites and window ↵Sven Hesse
decorations are drawn svn-id: r24752
2006-11-19Implemented (currently still endian-unsafe) save/loadSven Hesse
svn-id: r24745
2006-11-14Fixed the lock when leaving the menuSven Hesse
svn-id: r24719
2006-08-16Fixed pathfindingSven Hesse
svn-id: r23718
2006-08-12- Some more goblins-handling functionsSven Hesse
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins (finally) move. Also, the correct music is played in the first screen. - Found the hook for the menu - On freeing a sound slot, only stop the playing music if it's in the slot to free svn-id: r23700
2006-07-08- Fixed a few mistakes that added up to look correct, fixing bargon's cursorSven Hesse
- Updated cursor drawing in general svn-id: r23429
2006-06-29- Renamed a few mult-variables to something more fittingSven Hesse
- Fixed a small mistake, making the entering animation work - Correcting Game_v2::playTot() so that the loading screen is shown - Updated most of the collisions stuff, the objects names hint stuff works now svn-id: r23346
2006-06-13Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTableSven Hesse
svn-id: r23078
2006-06-06Two segfault and several coding style related fixesSven Hesse
svn-id: r22954
2006-05-31- Removed usage of OSystem::quit(), added a _quitRequested variableSven Hesse
- Fixed some leaks, unitialized memory and delete/delete[]-errors svn-id: r22790
2006-05-11- Sound! Still a bit glitchy, though:Sven Hesse
- Negative frequences?!? Maybe "SFX"? - No sound for a small part of the intro (there aren't any sndKeys covering that part either) - A rythm-instrument (hi-hat?) in the titlemusic isn't played as one - More differences in the drawing functions fleshed out - Some of the goblin handling functions written - More unnamed functions and variables, wheeee... svn-id: r22410
2006-05-01More stubs; GOB2 goes in-game for a second, then segfaults in theSven Hesse
Global-constructor; valgrind shows invalid reads in parseValExpr() and parseExpr() while accessing _inter_variables and _inter_execPtr svn-id: r22262
2006-05-01- More differences in Draw_v2::spriteOperation()Sven Hesse
- GOB2 handles _frontSurface/_backSurface a bit differently, this fixes (most of) the drawing glitches in the intro - Added using a fallback when the user's game version doesn't have the requested language - off_2E51B et al. stubs, I think it has something to do with the menu svn-id: r22254
2006-04-18- I misunderstood Draw::initBigSprite(); fixedSven Hesse
- Changed Draw::spriteOperation() for blitting from/to/between and fillrecting to big sprites - Enabled drawing of text svn-id: r22001