Max Horn
0989bb0b90
GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
...
svn-id: r41299
2009-06-06 20:03:13 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Sven Hesse
10b1b28610
Splitting a few helper functions out of gob.h
...
svn-id: r40765
2009-05-21 17:12:33 +00:00
Arnaud Boutonné
ee92913683
Patch #2725859 : Added some MD5 to the gob engine, modified the way the first STK and TOT is declared, added inter and draw skeleton for Fascination
...
svn-id: r40059
2009-04-21 21:44:37 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Sven Hesse
4f576ef6c0
Implemented the non-monospaced font in the save name input field
...
svn-id: r35596
2008-12-29 00:03:09 +00:00
Sven Hesse
adb564e76a
More changed collision stuff for Urban Runner
...
svn-id: r35364
2008-12-14 21:21:18 +00:00
Sven Hesse
126c5a1dc8
More modified collision stuff for Urban Runner. The hotspots are correctly recognized now
...
svn-id: r35350
2008-12-14 02:09:03 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
a43f016b94
GOB works with the new GMM implementation
...
svn-id: r32955
2008-07-08 00:16:55 +00:00
Christopher Page
c14804e22f
Added main menu dialog files. Gob is now using the new _quit flag
...
svn-id: r32771
2008-06-24 23:19:23 +00:00
Sven Hesse
8da68b2964
Script variables are now always stored in the game version's native endianess.
...
This should make Woodruff playable on big-endian systems.
svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Sven Hesse
cc84bec06e
Style :P
...
svn-id: r29965
2007-12-23 16:31:21 +00:00
Kari Salminen
49fca52c9b
Removes warning about shadowing a previous local declaration of filePtr introduced by r29962. Hopefully NDS Gobliiins still works after this!
...
svn-id: r29964
2007-12-23 16:25:28 +00:00
Bertrand Augereau
6fa1de14ad
Slight perturbation of the code gen for the sake of NDS Gobliiins
...
svn-id: r29962
2007-12-23 15:23:01 +00:00
Sven Hesse
dd5be6826a
Fixing the Gob3 CD crash on ARM systems/ports
...
svn-id: r29235
2007-10-19 23:00:43 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Sven Hesse
07586c378e
Small correction
...
svn-id: r28670
2007-08-19 20:31:48 +00:00
Sven Hesse
2d15e4af78
Checking in patch #1777241 by Uwe Ryssel (GOB: Some optimizations for slow computers)
...
svn-id: r28664
2007-08-19 17:26:06 +00:00
Sven Hesse
d31d50ac3d
Possible fix for bug #1767748 (Gobliiins is not fast as it can be on slow computers)
...
svn-id: r28456
2007-08-05 01:42:38 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Sven Hesse
54b8a4d06f
Made the collisionAreas' coordinates unsigned. This should fix bug #1706988
...
svn-id: r26715
2007-05-01 14:49:13 +00:00
Sven Hesse
ec5a9eee31
- Minor cleanup
...
- Added Inter_v3 (for new opcode o3_getTotTextItemPart)
- Some fixes to let Gob3 start with the first screen
svn-id: r26383
2007-04-05 13:37:20 +00:00
Sven Hesse
53119f2c5d
"char *" -> "byte *" where appropriate
...
svn-id: r26369
2007-04-02 11:05:09 +00:00
Sven Hesse
d65e05841a
- Fixed the IMD playing within mults, the non-interactive Gob3 demo should 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-30 17:52:31 +00:00
Sven Hesse
2dc7cb2cd4
Major clean-up, including:
...
- 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-20 14:51:57 +00:00
Sven Hesse
6b2d843680
- Some fixes for demos and Amiga versions
...
- Improved language finding a bit
svn-id: r25520
2007-02-12 12:53:28 +00:00
Sven Hesse
3442ea1582
- Fixed another freeze in Ween
...
- Changed cursor visibility handling a bit
svn-id: r25407
2007-02-07 13:08:17 +00:00
Sven Hesse
7f26069f69
- Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, Mult::_multData2 and some of the loose variables in Mult
...
- Added some missing MD5s/game versions (#1652352 )
svn-id: r25393
2007-02-05 14:08:50 +00:00
Eugene Sandulenko
3766e0a77d
eplaced platform-specific game features with common platform setting.
...
svn-id: r25294
2007-01-30 22:32:51 +00:00
Sven Hesse
cb8378065d
- Changed _soundFlags and implemented "compositions"
...
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions
- Some clean-up
svn-id: r25292
2007-01-30 22:19:55 +00:00
Sven Hesse
8e6cd81333
- Just warn, don't die, when a CD-Track isn't found
...
- Before using _vm->_adlib, first check whether it's actually there
svn-id: r25205
2007-01-26 19:00:41 +00:00
Sven Hesse
a8c6b02a9c
Added support for Infogrames/RobHubbard2 (amiga) music
...
svn-id: r25160
2007-01-23 19:40:28 +00:00
Eugene Sandulenko
24c9735588
Rename special debug levels to conform our suggested naming scheme.
...
svn-id: r25073
2007-01-13 15:35:02 +00:00
Sven Hesse
6e0835da11
- Fixed cut off and missing sounds
...
- 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
2007-01-06 11:17:20 +00:00
Sven Hesse
9afb08341c
- Properly implemented o2_getCDTrackPos()
...
- 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-27 14:19:30 +00:00
Sven Hesse
c22920484a
Changed the way sprites-freeing is handled, now the menu sprites and window decorations are drawn
...
svn-id: r24752
2006-11-20 13:03:30 +00:00
Sven Hesse
2454f78589
Implemented (currently still endian-unsafe) save/load
...
svn-id: r24745
2006-11-19 17:52:52 +00:00
Sven Hesse
3f0ebaaa18
Fixed the lock when leaving the menu
...
svn-id: r24719
2006-11-14 14:58:41 +00:00
Sven Hesse
dcbbfa01c0
Instead of drawing the mouse cursor as a sprite, let the backend handle it
...
svn-id: r23464
2006-07-09 18:54:12 +00:00
Sven Hesse
27a8b8a255
- Renamed a few mult-variables to something more fitting
...
- 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-29 12:55:57 +00:00
Sven Hesse
243e6b2d27
Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTable
...
svn-id: r23078
2006-06-13 08:10:54 +00:00
Sven Hesse
bf86b9b022
Two segfault and several coding style related fixes
...
svn-id: r22954
2006-06-06 15:43:44 +00:00
Sven Hesse
05499f58dd
- Removed usage of OSystem::quit(), added a _quitRequested variable
...
- Fixed some leaks, unitialized memory and delete/delete[]-errors
svn-id: r22790
2006-05-31 08:44:14 +00:00
Sven Hesse
2eabfd5f28
- More differences in Draw_v2::spriteOperation()
...
- 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-05-01 12:43:50 +00:00
Sven Hesse
ab48280f73
- I misunderstood Draw::initBigSprite(); fixed
...
- Changed Draw::spriteOperation() for blitting from/to/between and
fillrecting to big sprites
- Enabled drawing of text
svn-id: r22001
2006-04-18 09:59:18 +00:00