Johannes Schickel
0fe2ba6a0d
Some more enforcement of our formatting conventions in KYRA too.
...
svn-id: r49069
2010-05-17 23:29:44 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Johannes Schickel
eaca55ee50
Some fixes to comply with our coding guidelines.
...
svn-id: r44624
2009-10-04 17:54:08 +00:00
Nicola Mettifogo
5172c83200
Finally fix build (extra qualifier removed).
...
svn-id: r41470
2009-06-12 09:56:07 +00:00
Nicola Mettifogo
b2e5905327
* Adapted Kyra to the new IFFParser interface.
...
* Adapted the new IFFParser to Kyra (slightly).
The Kyra1 demo on the website works.
svn-id: r41468
2009-06-12 09:49:38 +00:00
Johannes Schickel
64e6c596c7
Formatting.
...
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
1b74d8557a
Change workaround to match comment description.
...
svn-id: r40656
2009-05-17 15:59:04 +00:00
Florian Kagerer
b3a50b99fc
LOL: - some opcodes for the swamp
...
- fix last commit (which broke TIM scripts)
svn-id: r40654
2009-05-17 15:02:34 +00:00
Florian Kagerer
2953f5b935
KYRA1: fix script code (Japanese version of lephole.emc was broken by recent changes in the parser)
...
svn-id: r40651
2009-05-17 14:22:05 +00:00
Johannes Schickel
8524bf3a25
Change script file loading code to use Common::IFFParser instead of a self written IFF reader.
...
svn-id: r40488
2009-05-12 14:18:08 +00:00
Johannes Schickel
a79716e367
Cleanup.
...
svn-id: r40480
2009-05-12 12:30:59 +00:00
Johannes Schickel
cf3ea8eec2
Cleanup.
...
svn-id: r40479
2009-05-12 12:20:45 +00:00
Johannes Schickel
c003d62429
- Fixed bug in script code of LoL
...
- Cleanup
svn-id: r35905
2009-01-18 17:24:47 +00:00
Florian Kagerer
ff268e8fd5
LOL: Some drawing code and some opcodes so that the first scene will show up. Playing is not possible. This is still somewhat messy since a lot of stuff hasn't been figured out yet.
...
svn-id: r35903
2009-01-18 17:04:24 +00:00
Johannes Schickel
a54d1dbde6
Cleanup.
...
svn-id: r34481
2008-09-10 18:01:02 +00:00
Johannes Schickel
e1e95f0c0e
Added filename to unknown opcode/command warnings of EMC scripts.
...
svn-id: r32988
2008-07-10 12:05:38 +00:00
Johannes Schickel
bb03596744
- Renamed KyraEngine to KyraEngine_v1
...
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp
svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel
ec9a03964c
- Renamed ScriptInterpreter -> EMCInterpreter
...
- Renamed ScriptState -> EMCState, ScriptData -> EMCData
- Removed 'Script' from function names inside EMCInterpreter
- Fixed KyraEngine::readSettings and KyraEngine::writeSettings for kyra3
svn-id: r31773
2008-04-29 15:12:09 +00:00
Johannes Schickel
f173041811
- moved kyra functor code to common/func.h
...
- adapted debugger code to use functor code from common/func.h
- adapted kyra engine to use functor code from common/func.h
svn-id: r31614
2008-04-20 15:47:11 +00:00
Johannes Schickel
a2cdc5e393
- fixed bug in script interpreter code (could've also affected HoF)
...
- some more Kyra3 code:
-> start sequence should show up now partially
-> fixed a scene animation related bug
-> a few more opcodes
svn-id: r31535
2008-04-17 13:38:44 +00:00
Johannes Schickel
db1b4f0e14
- reworked skip flag handling in some places again
...
- hopefully fixed tons of warnings related to stackPosString
svn-id: r31253
2008-03-26 21:52:28 +00:00
Johannes Schickel
ae0b605ad4
Reworked Kyrandia resource loading code.
...
svn-id: r30820
2008-02-07 23:13:13 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Oystein Eftevaag
af3b84c297
TIM file loading/unloading for HoF
...
svn-id: r29217
2007-10-14 16:58:11 +00:00
Johannes Schickel
dd1b43a5a9
HoF:
...
- More input handling (should be rather complete now, not finished but nearlly)
- Implemented the following opcodes:
-> o2_trySceneChange 0x0d
-> o2_setHandItem 0x2a
-> o2_handItemSet 0x2c
-> o2_setCharPalEntry 0x3c
-> o2_drawSceneShape 0x3e
-> o2_update 0x4b
-> o2_fadeScenePal 0x4d
-> o2_enterNewSceneEx 0x50
-> o2_setZanthiaPos 0x56
-> o2_runTemporaryScript 0x6e
-> o2t_defineNewShape 0x00
-> o2t_setCurrentFrame 0x01
-> o2t_setShapeFlag 0x04
svn-id: r29178
2007-10-09 08:44:45 +00:00
Johannes Schickel
1140fca82e
- Kyrandia 1 works again
...
- Added timer class for timer handling
- Little bit more resturcturing
- A little bit (almost nothing but a start!) Kyrandia 2 support
svn-id: r28297
2007-07-29 16:33:11 +00:00
Johannes Schickel
c6c06a922e
Little renaming.
...
svn-id: r27963
2007-07-08 12:50:24 +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
Johannes Schickel
776423ff82
- started to move v1 specific functions to KyraEngine_v1 (just opcodes yet)
...
- reworked script opcode handling
svn-id: r26749
2007-05-05 12:18:02 +00:00
Johannes Schickel
b9443dfb60
More cleanup.
...
svn-id: r26502
2007-04-15 14:38:02 +00:00
Johannes Schickel
504df5a48e
cleanup.
...
svn-id: r26499
2007-04-15 14:19:27 +00:00
Torbjörn Andersson
1987813f53
Another batch of header consistency changes.
...
svn-id: r25746
2007-02-20 17:33:54 +00:00
Johannes Schickel
ee5621137f
- renaming all opcodes from cmd_* to c1_*
...
- changing ScriptHelper functions so it will be useable for kyra2 and kyra3 too
- unbreaking savegames (increasing the VERSION number since the game flags table got resized to be useable for kyra3)
svn-id: r23612
2006-07-27 20:30:51 +00:00
Johannes Schickel
8a0ec2a3e5
- moving KyraEngine_v3 declaration to newly added kyra3.h
...
- implements a little bit init stuff
- implements some music handling
svn-id: r23610
2006-07-27 18:29:14 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00