richiesams
1cff0fb0d6
ZVISION: Fix memory free mismatch caused by MemoryReadStream using free()
2013-08-05 12:52:10 -05:00
richiesams
9bea3cb1c2
ZVISION: Add memory cleanup for _currentBackground
2013-08-05 12:51:07 -05:00
richiesams
f2823933b4
ZVISION: Remove extraneous include
2013-08-05 11:56:51 -05:00
richiesams
4806a3726b
ZVISION: Add default case statements for event handling in videos
2013-08-05 11:56:32 -05:00
richiesams
76d4fb569d
ZVISION: Comment out usage of ActionUnloadAnimation until it is implemented
2013-08-05 11:55:52 -05:00
richiesams
6564dc0444
ZVISION: Rename inner variable to prevent variable shadowing
2013-08-05 11:55:20 -05:00
richiesams
1b05d2fd7d
ZVISION: Add linking for clock.o
2013-08-05 11:54:43 -05:00
richiesams
623b2625ff
ZVISION: Properly end the AD table
2013-08-05 11:53:58 -05:00
richiesams
9036b8d3d2
ZVISION: Create ZVisionGameId entry None
...
This is used to end the AD table
2013-08-05 11:53:57 -05:00
richiesams
9147636003
ZVISION: Allow _deltaTime to go negative so it can be clamped to zero properly
2013-08-05 11:51:16 -05:00
richiesams
3723a0bad3
ZVISION: sscanf to a uint first instead of directly to a bool
2013-08-05 11:50:39 -05:00
richiesams
9dec0adcdc
ZVISION: Conform to gcc template spacing requirements
2013-08-05 11:49:47 -05:00
uruk
a971cf3a39
AVALANCHE: Implement Scrolls::say().
2013-08-05 17:35:17 +02:00
richiesams
3f5cf50049
ZVISION: Use videoDecoder.getTimeToNextFrame() to calculate the frame delay
2013-08-05 10:27:00 -05:00
richiesams
cefb0253ae
ZVISION: Change _pausedTime to be a reference to when time was paused, instead of accumulation of time
2013-08-05 10:26:23 -05:00
uruk
ba00b2a7d9
AVALANCHE: Mostly cosmetic modifications in Visa, stub Timeout::arkata_shouts() until dixi() works, partially implement Scrolls::say().
2013-08-05 15:25:44 +02:00
Alyssa Milburn
c5c2fde52e
Merge pull request #368 from fingolfin/fix-test
...
BUILD: fix 'make test' compile error
2013-08-05 03:19:58 -07:00
uruk
15f6ba8b2a
AVALANCHE: Introduce _screen in Graphics.
2013-08-05 12:19:10 +02:00
Max Horn
a993b8dc30
NEVERHOOD: Remove NRect constructor
...
Otherwise, every global variable of type NRect requires a constructor to be
run, which can cause portability issue.
2013-08-05 11:49:03 +02:00
Max Horn
bd0db73a64
BUILD: fix 'make test' compile error
2013-08-05 11:44:27 +02:00
richiesams
65b5a2797b
ZVISION: Fix index out of range error
2013-08-05 00:18:01 -05:00
richiesams
6515e2d31b
ZVISION: Add ActionMusic
2013-08-05 00:14:20 -05:00
richiesams
20c8920929
ZVISION: Pass the scr fileName as a const reference
2013-08-05 00:05:26 -05:00
richiesams
4b0015b8e9
ZVISION: Check if a key exists before returning _globalState value.
...
operator[] creates a key value pair if it doesn't exist. So blindly returning a value without checking if the
key exists could result in undefined behavior, depening on what the value is initialized to in its constructor
2013-08-05 00:05:25 -05:00
richiesams
1d694dcb81
ZVISION: Add support for engine pausing from higher up (GMM, phone call, etc.)
2013-08-05 00:05:25 -05:00
richiesams
ec7036469c
ZVISION: Make _clock a member variable instead of a pointer to the heap
2013-08-05 00:05:14 -05:00
richiesams
c4dc3989a7
ZVISION: Make the return from makeRawZorkStream more specific
2013-08-04 23:53:40 -05:00
richiesams
7b9858d6b4
ZVISION: Make video code blocking.
...
The script system requires that all ResultAction::execute() block until they finish. The video system *was* 'asyncronous'
in that you would just start a video and then run() would finish processing it. This code forces the video to complely finish
before playVideo returns. The Clock object is used to keep track of deltaTime while the video is playing.
2013-08-04 23:52:31 -05:00
richiesams
a86a0832e0
ZVISION: Create console method for dumping a file by name
2013-08-04 23:52:21 -05:00
richiesams
0a8f57721b
ZVISION: Create Clock class to handle deltaTime while pausing and unpausing the game
2013-08-04 23:01:42 -05:00
Einar Johan Trøan Sømåen
a932e51b14
WINTERMUTE: Fix formatting.
2013-08-05 03:25:22 +02:00
Strangerke
71a1d18b0c
MORTEVIELLE: Fix flags in playSong(). Thanks clone2727 for telling about it
2013-08-05 00:40:47 +02:00
Strangerke
80cc1700a7
MORTEVIELLE: Fix leak in playSong, refactor it a bit
2013-08-05 00:13:57 +02:00
uruk
1956ca280b
AVALANCHE: Repair Logger::log_scrollchar(), cosmetic corrections in Scrolls and Timeout.
2013-08-04 21:48:11 +02:00
richiesams
c828074df9
ZVISION: Remove extraneous comments
2013-08-04 13:33:12 -05:00
richiesams
3fd5a8ab5a
ZVISION: Offset the RenderTable index by the normalized coords, not the subRect coords
2013-08-04 13:33:11 -05:00
richiesams
d89a55d3de
ZVISION: Create class definitions for mutliple ResultAction children
2013-08-04 13:33:11 -05:00
richiesams
32b3363acd
ZVISION: Add ActionSetScreen
2013-08-04 13:33:10 -05:00
richiesams
8bbc260b86
ZVISION: Create RenderManager method to set the current background image
2013-08-04 13:33:10 -05:00
richiesams
11118262e4
ZVISION: Add logic to check _referenceTable Puzzles every time a globalState is changed
2013-08-04 13:33:09 -05:00
richiesams
9e996c4fec
ZVISION: Convert _activeNodes and _activeControls to Lists of SharedPtr
2013-08-04 13:33:08 -05:00
richiesams
47f10fe784
ZVISION: Overload renderImageToScreen to handle fileNames and ReadStreams
2013-08-04 13:33:08 -05:00
richiesams
ebe83ed390
ZVISION: Make panorama and tilt control generate the RenderTable after setting all the settings
2013-08-04 13:33:07 -05:00
richiesams
5ef19407b4
ZVISION: Fix typo in panarama and tilt control parsing
2013-08-04 13:33:07 -05:00
richiesams
8d5e92b935
ZVISION: Add console cmd for changing location
2013-08-04 13:33:06 -05:00
richiesams
87be3180c7
ZVISION: Fix sscanf formatting errors
2013-08-04 13:33:05 -05:00
richiesams
44ee28c13f
ZVISION: Remove ResultAction clone member function
...
Puzzle now uses smart pointers so clone is no longer necessary
2013-08-04 13:33:05 -05:00
richiesams
93e4f4dbf7
ZVISION: Sort using iterators instead of the actual elements
...
Also convert the argument to a reference instead of a pointer
2013-08-04 13:33:04 -05:00
richiesams
2faaf8488b
ZVISION: Convert ResultAction pointers to SharePtr
...
This gets rid of the need for specific destruction as well as making the copy swap
operations in the ScriptManger _referenceTable more efficient
2013-08-04 13:33:04 -05:00
richiesams
cf45312016
ZVISION: Fix unsigned/signed mismatch warning
2013-08-04 13:33:03 -05:00