Max Horn
72f4c03b0b
Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
...
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
c46ea8bc40
Replaced the platform specific GF_FOO switches (using _platform instead now)
...
svn-id: r17716
2005-04-20 18:21:30 +00:00
Max Horn
fe93d2d7cf
cleanup
...
svn-id: r17657
2005-04-17 22:37:16 +00:00
Max Horn
e79c168d35
split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
...
svn-id: r17517
2005-04-10 15:13:40 +00:00
Max Horn
871e278f8b
Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
...
svn-id: r17508
2005-04-10 12:59:17 +00:00
Eugene Sandulenko
ba3077ed0e
Patch from Quietust:
...
1. properly handle costume colors in dark rooms (verified against disasm)
2. optimize NES audio generation a little bit - instead of calling a function ~80 times to get one audio sample, it calls it once and just loops ~80 times internally
3. NES audio now obeys the volume control
4. in MM NES, o2_setObjPreposition is a no-op
5. o2_lights uses new-style light values (i.e. bitfields) in MM NES
6. o2_delay, use ssPaused identifier rather than a literal '1'
7. in MM NES, o5_saveLoadGame only explicitly checks for type '1' (load), defaulting to save for any other value
svn-id: r17443
2005-04-07 21:13:01 +00:00
Max Horn
3d5b5f2ad8
Moved createResource, resourceStats, expireResources to ResourceManager
...
svn-id: r17420
2005-04-06 17:31:35 +00:00
Travis Howell
3554f66764
Typo
...
svn-id: r17410
2005-04-06 05:05:36 +00:00
Travis Howell
c66e6bb001
This section of startScene only exists in scumm5 onwards.
...
svn-id: r17409
2005-04-06 05:04:39 +00:00
Travis Howell
f7ae1b822d
Correction
...
svn-id: r17407
2005-04-06 02:26:47 +00:00
Max Horn
ac247c9b94
Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
...
svn-id: r17311
2005-03-31 21:39:31 +00:00
Travis Howell
f258c52bfc
Fix original load/save screen freezing in Loom [ega]
...
Sets current drive, instead of drive type.
svn-id: r17182
2005-03-19 00:15:55 +00:00
Travis Howell
47e9cc1b3a
Add string height override for loom
...
svn-id: r17178
2005-03-18 15:04:37 +00:00
Eugene Sandulenko
154c4af8dc
Mass-renamed all variables of Actor object according to our current code
...
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.
Now code in actor.cpp is considerably more readable.
svn-id: r17068
2005-03-11 01:10:06 +00:00
Max Horn
cffd917165
system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
...
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Torbjörn Andersson
cab8e3a66d
Applied patch #1093830 , with slight modifications proposed by Fingolfin.
...
svn-id: r16396
2004-12-31 17:51:45 +00:00
Max Horn
876e738dce
Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
...
svn-id: r15901
2004-11-27 00:26:11 +00:00
Chris Apers
1ac29aae1e
Help PalmOS (and more ?) to save memory
...
svn-id: r15611
2004-10-19 12:30:42 +00:00
Max Horn
e29133df12
Whitespace
...
svn-id: r15362
2004-09-30 22:39:13 +00:00
Max Horn
468758fa6c
Use FM-TOWNS consistently
...
svn-id: r15345
2004-09-29 09:47:38 +00:00
Max Horn
6a50ba2308
Changed more of the actor class members to match our coding guidelines (in the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle
...
svn-id: r15331
2004-09-28 19:28:59 +00:00
Max Horn
768133d6e6
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
...
svn-id: r15175
2004-09-18 22:42:45 +00:00
Max Horn
3552024aa9
Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
...
svn-id: r15170
2004-09-18 20:50:15 +00:00
Torbjörn Andersson
103cbac40a
Fixed bug #1014296 , the Loom cursor hotspot regression.
...
svn-id: r14726
2004-08-24 06:36:12 +00:00
Max Horn
28c32a9fb7
Add LOOM cursor support
...
svn-id: r14703
2004-08-23 08:37:55 +00:00
Max Horn
b20187a0e9
Cursor code cleanup
...
svn-id: r14690
2004-08-22 23:38:00 +00:00
Travis Howell
50719f7b68
If bug still occurs, the problem is elsewhere.
...
Since case doesn't exist in zak256.
svn-id: r14682
2004-08-22 11:33:11 +00:00
Travis Howell
a13966d64c
Switch to debug channel
...
svn-id: r14678
2004-08-22 09:30:08 +00:00
Max Horn
d35ef7c7f1
Removed some obsolete TODO comments
...
svn-id: r14669
2004-08-21 22:33:23 +00:00
Travis Howell
01c0cb3d8f
Skip copy protection screen in indy3ega.
...
svn-id: r14663
2004-08-21 09:02:45 +00:00
Travis Howell
47785295d2
Change to allow FM Towns platform to be used with later games
...
svn-id: r14658
2004-08-21 03:29:02 +00:00
Travis Howell
6a2306c969
Enable original method of skipping copy protection
...
svn-id: r14645
2004-08-20 01:26:56 +00:00
Max Horn
152a5e97fe
Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
...
svn-id: r14612
2004-08-14 19:42:00 +00:00
Travis Howell
da8ad9d94b
Add suggested fix for bug #1008466 - MI1VGA: Guybrush not scaled properly
...
svn-id: r14589
2004-08-14 01:16:53 +00:00
Travis Howell
49c9929d54
Not needed, invalid in Loom[ega]
...
svn-id: r14353
2004-07-27 12:37:03 +00:00
Travis Howell
1d31aff18e
One last hack to allow demo script in V2 Maniac Mansion.
...
svn-id: r14335
2004-07-26 11:49:41 +00:00
Travis Howell
54b813c4a6
Not quite right spot.
...
svn-id: r14331
2004-07-26 00:12:51 +00:00
Travis Howell
ebdbb97d38
VAR_SOUND_RESULT should be reset.
...
svn-id: r14330
2004-07-26 00:08:23 +00:00
Travis Howell
4105fdd4f6
Merge palette functions.
...
svn-id: r14324
2004-07-25 11:29:38 +00:00
Travis Howell
546fd77e1b
Ooops commited wrong branch.
...
svn-id: r14314
2004-07-24 07:18:18 +00:00
Travis Howell
2cbc4039e8
A few HE games are supported now.
...
svn-id: r14313
2004-07-24 07:14:26 +00:00
Travis Howell
0afb8635cb
Add more details
...
svn-id: r14305
2004-07-23 09:30:53 +00:00
Travis Howell
840248a972
Mention method used to skip copy protection in original Loom
...
svn-id: r14304
2004-07-23 08:59:07 +00:00
Travis Howell
2ab9807dd8
Should not be set for any scumm3 games.
...
svn-id: r14299
2004-07-22 04:42:43 +00:00
Max Horn
6b722ff11b
Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
...
svn-id: r14058
2004-06-25 22:39:21 +00:00
Max Horn
7a8d469c66
Use auto_ptr to avoid leaks
...
svn-id: r14057
2004-06-25 22:12:57 +00:00
Torbjörn Andersson
fb1b2efb49
Applied my suggested fix for #933168 , since I'm tired of waiting for
...
feedback. It *is* a bit of a hack, but it does emulate the old behaviour,
and we can always make a better fix later, if there is one.
svn-id: r13747
2004-05-02 14:39:48 +00:00
Max Horn
9defe4fc18
Removed XOR encoding stuff from File class; instead the new Scumm::XORFile class provides this functionality now
...
svn-id: r13597
2004-04-17 16:29:03 +00:00
Max Horn
92301bff74
Replaced FIXME with proper explanation and code (the previous hack was actually correct, just incomplete)
...
svn-id: r13477
2004-04-05 23:56:28 +00:00