Commit Graph

30 Commits

Author SHA1 Message Date
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse
4415953393 GOB: Add constants for different surfaces/sprites
Add
static const int kFrontSurface   = 20;
static const int kBackSurface    = 21;
static const int kAnimSurface    = 22;
static const int kCursorSurface  = 23;
static const int kCaptureSurface = 30;
to class Draw and substitute the raw numbers in other files with
those aliases, for readability.

svn-id: r51852
2010-08-08 00:35:18 +00:00
Sven Hesse
3a3e7acf51 Fixing the text input in Gob1 (the loading code wasn't printed as you typed anymore)
svn-id: r42642
2009-07-21 12:14:36 +00:00
Sven Hesse
3823ae285f Giving Font its own real class
svn-id: r42277
2009-07-09 02:54:10 +00:00
Sven Hesse
4e70129d60 Merging Game_v1's and Game_v2's prepareStart()
svn-id: r42127
2009-07-05 11:28:57 +00:00
Sven Hesse
18550c1314 Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
svn-id: r42123
2009-07-05 11:27:54 +00:00
Sven Hesse
d03dc08b64 Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
svn-id: r41839
2009-06-24 21:49:37 +00:00
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
Sven Hesse
10b1b28610 Splitting a few helper functions out of gob.h
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse
19146fe032 Working cursor in Urban Runner
svn-id: r35309
2008-12-12 00:10:39 +00:00
Sven Hesse
5d9c8b7c47 Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
svn-id: r35239
2008-12-04 18:38:55 +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
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
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
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
623ca88022 - Properly implemented the ImdPlayer
- Some more clean-up

svn-id: r26316
2007-03-29 17:55:39 +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
36a54218b1 - Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)
- Implemented wide surfaces + scrolling
- Some clean-up

svn-id: r25253
2007-01-29 17:04:37 +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
2768fa24fc - Fixed the crashes in Gob1 EGA and Gob2 Demo
- Fixed the compile error in GobEngine::saveGame on some systems

svn-id: r24756
2006-11-21 13:28:45 +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
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
b7997a7231 - Fixed a few mistakes that added up to look correct, fixing bargon's cursor
- Updated cursor drawing in general

svn-id: r23429
2006-07-08 16:37:23 +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
897fa6a5a6 More stub-filling + small clean-up
svn-id: r23012
2006-06-10 14:37:48 +00:00
Sven Hesse
07a0d54891 - More stubs, the intro now works completely (with extreme graphical
glitches and without sound in the floppy version), the title screen
  is shown afterwards
- Added skipping of the floppy version's copy protection screen,
  since the CD version doesn't show it either

svn-id: r21845
2006-04-13 16:25:07 +00:00