Age | Commit message (Collapse) | Author |
|
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
|
|
|
|
|
|
Some backends may break as I only compiled SDL
|
|
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
|
|
|
|
|
|
|
|
|
|
This ancient console function has no purpose any longer and is half-broken anyway.
|
|
svn-id: r55706
|
|
svn-id: r55417
|
|
svn-id: r55362
|
|
svn-id: r55314
|
|
between versions
svn-id: r55312
|
|
method changeStack
svn-id: r55152
|
|
the scripts to change the background sound volume.
svn-id: r54953
|
|
the resources in the current card.
Allow the "drawRect" debug command to take a resource id as a parameter, to draw the resource's bounding rect.
svn-id: r54933
|
|
- Initial card state is drawn to the back buffer
- Script driven updates are drawn to the front buffer
Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly.
Fixes among others the generator room lights, and the matchbox.
svn-id: r54907
|
|
svn-id: r54850
|
|
svn-id: r54815
|
|
svn-id: r54743
|
|
svn-id: r54688
|
|
- Rename InitOpcodes / PersistentOpcodes to Persistent Scripts for consistency
- Get rid of the global var used to tell if the sound receiver script is running
svn-id: r54633
|
|
"animated card changes" to work.
svn-id: r54630
|
|
unreachable zip destinations when drawing resource rects.
svn-id: r54615
|
|
svn-id: r54593
|
|
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape.
svn-id: r54558
|
|
svn-id: r54491
|
|
- Renamed getRawData() to getResource()
- Add a getResource() and hasResource() function for named resources
- Other minor formatting changes
svn-id: r54396
|
|
svn-id: r54109
|
|
This involves some nasty decisions, like mixing debugN and DebugPrintf
calls in the RivenConsole. I added FIXME comments about this.
svn-id: r54107
|
|
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio.
svn-id: r52631
|
|
- Split the main Riven event loop into a separate function for readability and for use in the sunner external functions eventually
- Some minor function signature changes (const!)
- Rename matchVarToString() to getVar() (I have no idea where that original name came from, considering it takes a string and returns a variable
- Use solely Common::String in getVar()
svn-id: r52538
|
|
svn-id: r52300
|
|
While the sliders cannot move yet, the game now knows if the puzzle is complete and whether you're over a slider or not. Drawing the sliders and moving the sliders will come next.
svn-id: r52292
|
|
required. The old way of using SharedPtr was quite hacky and didn't work properly when talking to Gehn in ospit.
svn-id: r50761
|
|
svn-id: r50338
|
|
Mohawk is not enabled) so SCI can use the code.
svn-id: r49165
|
|
svn-id: r48287
|
|
The resource caching trades increased memory usage against disk access.
This functionality can be disabled and enabled by the console "cache" command.
svn-id: r48080
|
|
svn-id: r47541
|
|
LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new.
svn-id: r47429
|
|
version too.
svn-id: r47371
|
|
svn-id: r46782
|
|
svn-id: r46780
|
|
svn-id: r46727
|