Andrew Kurushin
516b1b3748
fixed script params (some fair animals should walk now)
...
svn-id: r17289
2005-03-29 22:14:20 +00:00
Andrew Kurushin
0266fcbd4b
fixed small bug
...
svn-id: r17288
2005-03-29 21:18:39 +00:00
Andrew Kurushin
6bc301810b
fixed gcc ISO C++ error
...
svn-id: r17287
2005-03-29 19:16:46 +00:00
Andrew Kurushin
1b4b92c0f5
endScene now aborts all running threads (fixing Okk stuckiness on way out of tent)
...
svn-id: r17286
2005-03-29 17:54:53 +00:00
Max Horn
9a4bc8ce16
Patch #1117443 (Experimental plugin code revision)
...
svn-id: r17231
2005-03-25 17:55:57 +00:00
Andrew Kurushin
ca28c47c10
fix wrong multitile offset calculation
...
svn-id: r17230
2005-03-25 17:48:17 +00:00
Andrew Kurushin
3025db0d07
- changescene on fair for tents
...
- some memory deallocation fixup
todo: fix follower stuckiness in tents
svn-id: r17180
2005-03-18 17:11:37 +00:00
Andrew Kurushin
7e256531fd
fixed wrong tile drawing above actors
...
svn-id: r17129
2005-03-13 17:43:50 +00:00
Eugene Sandulenko
73ec1f1745
rand() -> _rnd.getRandomNumber() in SAGA code.
...
svn-id: r17108
2005-03-12 22:54:15 +00:00
Max Horn
7cd2cb2b17
PlayingSoundHandle -> SoundHandle; also, turned the handle activity check into a mixer method
...
svn-id: r17106
2005-03-12 18:56:09 +00:00
Max Horn
0ec193b4be
changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
...
svn-id: r17052
2005-03-09 18:12:54 +00:00
Torbjörn Andersson
61faa88b93
Indentation.
...
svn-id: r17048
2005-03-09 07:29:15 +00:00
Torbjörn Andersson
7f511a2a45
Updated comment. (ScummVM no longer crashes if I try to run what I think is
...
the correct scripts.)
svn-id: r17047
2005-03-09 07:28:49 +00:00
Torbjörn Andersson
cfe44d6053
Apparently, in IHNM opcode #75 can take three parameters. Added stub to
...
avoid division by zero.
svn-id: r17040
2005-03-08 15:28:01 +00:00
Torbjörn Andersson
189492eef1
Fixed typo.
...
svn-id: r17039
2005-03-08 15:06:57 +00:00
Torbjörn Andersson
213a9de6a1
Added constant for the resource number for the first IHNM scene. Actually,
...
I believe it's the wrong scene.
Currently we use resource 152, which run the scripts "CampFireSetup" and
"CampFireScene". If I use resource 151 instead it will run the scripts
"ColumnSetup" and "ColumnScene" instead. I'm speculating that this is the
"hate" speech and the rest of the intro ("ColumnScene" is a fairly long
script, as far as I can tell), but unfortunately this causes ScummVM to
crash almost immediately.
I'll need to dissect the scripts to see if I can figure out what's wrong.
svn-id: r17036
2005-03-08 10:59:31 +00:00
Torbjörn Andersson
ef43877b6b
Indentation
...
svn-id: r17028
2005-03-07 11:49:59 +00:00
Andrew Kurushin
baf72d3e94
fix iso mode object draw order
...
svn-id: r16936
2005-02-26 18:06:55 +00:00
Andrew Kurushin
343d59c9d4
implemented iso pathfinding
...
glitches: some tiles draws above figures
svn-id: r16935
2005-02-26 17:37:16 +00:00
Travis Howell
ca660a3512
Compile fix from wjp
...
svn-id: r16933
2005-02-26 12:12:15 +00:00
Andrew Kurushin
280003edee
iso pathfining work in progress:
...
- all figures now stands in right way on iso scene startup
svn-id: r16931
2005-02-26 11:44:30 +00:00
Torbjörn Andersson
4f01f5e6e9
I'm not quite sure if this is the correct fix, but by not calling
...
updateActorsScene() when _sceneNumber is -1 we avoid followers going into
that scene and being drawn (as garbage) early during the ITE intro. (Look
in the upper left corner -- that's where the garbage appeared for me.)
svn-id: r16895
2005-02-24 08:03:47 +00:00
Andrew Kurushin
be2049a338
3 stage iso drawing implemented:
...
1)iso scene
2)figure
3)tiles above figure
svn-id: r16864
2005-02-22 20:18:55 +00:00
Andrew Kurushin
bbbd3b5fbf
iso mode drawing work in progress
...
svn-id: r16802
2005-02-18 00:00:00 +00:00
Andrew Kurushin
509d7b4d45
- smooth iso scroll
...
svn-id: r16776
2005-02-11 22:18:37 +00:00
Andrew Kurushin
5239c2f477
- fix min->MIN
...
- implemented horizontal tile cliping
svn-id: r16774
2005-02-11 20:59:29 +00:00
Andrew Kurushin
9497fddcf0
iso draw work in progress:
...
- try keyboard arrows on iso scene
- todo: horizontal cliping
svn-id: r16773
2005-02-11 20:43:48 +00:00
Andrew Kurushin
ea78766c46
first step in ISO mode implementation - trying to draw iso scene
...
svn-id: r16763
2005-02-09 20:30:45 +00:00
Andrew Kurushin
aeaf728dc6
partialy implemented all Iso mode resource loading
...
todo: loadMulti - may be wrong
svn-id: r16670
2005-01-28 19:25:41 +00:00
Eugene Sandulenko
ff8094aad5
Combine actordata.cpp and objectdata.cpp into itedata.cpp. These are
...
ITE specific and from other hand IHNM has these data in resources.
svn-id: r16662
2005-01-28 12:54:09 +00:00
Eugene Sandulenko
285f6a6a2b
Let IHNM run again. It has 105 script functions.
...
svn-id: r16653
2005-01-28 03:47:12 +00:00
Eugene Sandulenko
0523480a70
Applied patch #1106775 "SAGA colours". This simplifies code considerably, and
...
moreover getBlack() didn't always work correctly for some reason. If IHNM
uses different colors we will switch to variables, but that could be addressed
later or at least when someone will start to work on it more time than now.
svn-id: r16647
2005-01-27 20:07:04 +00:00
Torbjörn Andersson
8bfbc143a8
The sfRand() script function was slightly wrong
...
Old behaviour: 0 <= random number <= param
Correct behaviour: 0 <= random number < param
svn-id: r16636
2005-01-25 18:16:02 +00:00
Eugene Sandulenko
212306044d
Picky indentation. Main reason is to make version 1.100 :P.
...
svn-id: r16626
2005-01-23 21:55:13 +00:00
Eugene Sandulenko
86dc6a3d85
Another spot of kReplyOnce usage. Thanks to proper memory addressing now
...
it is possible to implement.
svn-id: r16625
2005-01-23 21:52:43 +00:00
Eugene Sandulenko
b646d63dad
Reenable stub for latter demos in sfScriptGotoScene()
...
svn-id: r16623
2005-01-23 17:06:15 +00:00
Max Horn
8f51510dec
Fix warnings
...
svn-id: r16622
2005-01-23 14:30:59 +00:00
Andrew Kurushin
4f68706f3c
implemented sfWaitWalk scriptFunction
...
svn-id: r16619
2005-01-22 21:40:54 +00:00
Andrew Kurushin
01a863414e
- removed returning value from scriptFunctions
...
- implement some scriptFunctions
svn-id: r16618
2005-01-22 19:21:38 +00:00
Andrew Kurushin
8543306e56
all opcodes revisited
...
all ITE opcodes supported (now we should go through scriptFunctions)
svn-id: r16617
2005-01-22 16:32:30 +00:00
Andrew Kurushin
0030e821fe
another 19 opcodes
...
svn-id: r16616
2005-01-22 15:28:24 +00:00
Andrew Kurushin
4e7d58c843
rewritten 15 opcodes
...
svn-id: r16615
2005-01-22 14:43:49 +00:00
Torbjörn Andersson
f3b62a9ed7
Whitespace and indentation.
...
svn-id: r16614
2005-01-22 14:16:00 +00:00
Torbjörn Andersson
cde69caf63
Fixed warning.
...
svn-id: r16613
2005-01-22 14:10:14 +00:00
Andrew Kurushin
93a64d3ebd
some opcode fixes:
...
opReturnV
svn-id: r16609
2005-01-21 23:44:34 +00:00
Eugene Sandulenko
1e07013f7f
Fix portability
...
svn-id: r16608
2005-01-21 23:35:33 +00:00
Andrew Kurushin
899e476f01
now you can try to:
...
- talk to someone
- look at something
svn-id: r16607
2005-01-21 23:25:54 +00:00
Eugene Sandulenko
e488ddc7c2
Fix cursor shape.
...
svn-id: r16606
2005-01-21 23:18:32 +00:00
Eugene Sandulenko
ebe40f024e
Fix compilation
...
svn-id: r16605
2005-01-21 23:16:38 +00:00
Andrew Kurushin
58ec0f0aad
problems solved:
...
- Allow more than one script work at once
- Proper implementation of address methods
some opcodes may be broken - cause work in progress
todo: rewrite opcodes with new address functionality
svn-id: r16604
2005-01-21 21:55:54 +00:00