Andrei Prykhodko
3563dc90b7
PETKA: renamed field in QMessageObject
2020-05-22 15:43:03 +03:00
Andrei Prykhodko
3dfa26ab64
PETKA: removed unused fields in QMessageObject
2020-05-22 15:41:18 +03:00
Andrei Prykhodko
fcf01fd764
PETKA: implemented drawing game object name
2020-05-21 14:34:38 +03:00
Andrei Prykhodko
b4f6d55cd4
PETKA: fix crash
2020-05-21 12:59:04 +03:00
Andrei Prykhodko
50d7be8767
PETKA: case object reimplementation
2020-05-21 07:04:45 +03:00
D G Turner
751c703f24
PETKA: Fix Missing Break Statements in Object Class
...
These are triggering GCC compiler warnings. They could be intentional
fallthrough, needing a comment to surpress the warning.
However, looking at the logic, this does not look likely so adding the
missing breaks instead.
2020-05-20 14:42:30 +01:00
Andrei Prykhodko
a070bd97ff
PETKA: added new opcodes
2020-05-17 21:33:47 +03:00
Andrei Prykhodko
40540ad0df
PETKA: fixed processing messages by objects
2020-05-17 21:33:27 +03:00
Andrei Prykhodko
15f71d76ae
PETKA: more fixes to dialog system
2020-05-17 13:46:44 +03:00
Eugene Sandulenko
8ac07e4b62
PETKA: Fix more warnings
2020-05-16 22:57:36 +02:00
Andrei Prykhodko
1b7e691f25
PETKA: renamed method in DialogInterface
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
6b93465bc4
PETKA: reworked dialogs handling
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
1599f21861
PETKA: added heroes implementation without walking system
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
5e2e4596d5
PETKA: reimplemented show method of QObject
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
527488d228
PETKA: added CURSOR opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
66261efac3
PETKA: renamed unknown fields
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
50e65957dc
PETKA: implemented jump opcodes
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
9e7beac5d1
PETKA: implemented inventory opcodes
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
2763c22a9f
PETKA: implemented clicking on objects depending on action type
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
ea4f10f4fa
PETKA: implemented CONTINUE opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
f94ba47d84
PETKA: disabled walk opcodes because of no implementation
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
9f9210b236
PETKA: added implementation of dialog opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
d7cf76087b
PETKA: partial implementation of dialogs
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
d78926d79d
PETKA: fixed checking time when to update sprites
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
cd066fa2de
PETKA: disabled updating QObject with sprites which have 1 frame
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
46fd290d8f
PETKA: fixed removing looped sounds
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
4cebc88106
PETKA: fixed adding sound in PLAY opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
bb10d42a33
PETKA: implemented SETPOS opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
a4bdc33c28
PETKA: implemented proper handling of PLAY opcode in handlers
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
feca9cf9c8
PETKA: fixed CHECK opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
2a99a2a766
PETKA: added PASSIVE and ACTIVE opcodes
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
3201b6f485
PETKA: implemented SHOW and HIDE opcodes
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
c38082e60b
PETKA: added ctor for QObject
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
1e21a56c2d
PETKA: added initialization of QMessageObject fields according to disasm
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
e984d7a526
PETKA: added makeAllDirty method to video system
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
ae51caefc4
PETKA: fixed isInPoint method of QObject
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
6f1161f9b1
PETKA: added SET and PLAY opcodes implementation
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
48a8318285
PETKA: implemented update method for QObject
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
06d99e210f
PETKA: reworked object updating
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
703a0efe0c
PETKA: implemented object show method
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
586cbd970f
PETKA: implemented cursor show method
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
22abfc0245
PETKA: implemented handling z coordinate of objects
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
1cf2d82276
PETKA: implemented STOP opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
c2e4d284bb
PETKA: added ZBUFFER opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
d4979f659a
PETKA: implemented ON and OFF opcodes
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
313b3b5d31
PETKA: implemented AVI opcode
2020-05-16 22:37:59 +02:00
Andrei Prykhodko
f3538539e9
PETKA: moved game object classes to separate files
2020-05-16 22:37:59 +02:00