Sven Hesse c7c65eb83c Initialize LUA ref objects when growing the pool
This fixes saving/loading for me.
The problem was that when unitialized objects were saved, their type
and value could be anything. On loading, LUA_T_USERDATA value
pointers are searched for in a global array, and said random
unitialized values are, of course, not in that array, so loading such
a save triggered an assert().

Interestingly, it only failed with a 64bit build for me, the 32bit
build works fine regardless.
2011-04-17 06:19:19 +08:00
2011-04-16 14:08:33 +02:00
2011-04-16 14:08:33 +02:00
2011-04-16 14:08:33 +02:00
2011-04-16 14:08:33 +02:00
2011-04-16 14:43:50 +02:00
2011-04-15 12:57:43 +02:00
2011-04-16 14:12:44 +02:00
2011-04-16 14:54:41 +02:00
2009-07-07 06:55:32 +00:00
2011-04-14 12:41:26 +02:00
2011-04-16 14:43:50 +02:00
2010-01-21 19:25:03 +00:00
2010-01-21 19:25:03 +00:00
2011-04-16 14:08:33 +02:00
2010-03-14 08:03:22 +00:00
2011-04-16 14:44:23 +02:00
2011-04-14 12:41:26 +02:00
2008-06-13 12:29:57 +00:00
2009-05-26 07:00:12 +00:00
2011-04-14 12:41:26 +02:00
2011-04-15 12:46:44 +02:00
2011-04-14 12:41:26 +02:00
2009-05-07 21:05:51 +00:00

Residual: A 3D game interpreter

What is Residual?
-----------------
Residual allow to play 3D games such as Grim Fandango.

Residual utilizes OpenGL for 3d graphics hardware acceleration.
A software renderer is also included for machines without hardware OpenGL.

Which games does it support?
----------------------------
Residual is a fairly slow developing project and is still very much considered
alpha. Currently it contains limited support for Grim Fandango.

It is possible, but far from promised, that the other LucasArts LUA-based
title 'Escape from Monkey Island' may be supported in the distant future.

How do I run Residual?
----------------------
As Residual is not yet stable, easy to use, or complete.
Some technical ability is required.

It runs really slow !
----------------------------------------
Some gfx cards do not have a fast glDrawPixels access to zbuffer
implementation in the system driver.

Unix users may be able to achieve playable framerates by using Mesa 5.0 or
above, but people unable to upgrade or Windows users must use software
renderer. Software renderer is generally faster on modern platform.

What is the state of Residual? 
------------------------------
Basic gameplay works, including cutscenes. Parts of the game are playable,
but many features are either missing or unstable. Crashes are likely.

Game currently playable to around Year 2.

For more information, see the page on Residual at the wiki page:
https://apps.sourceforge.net/mediawiki/residual

Which datafiles are needed?
---------------------------
*.LAB
GRIM.TAB

What are the default keys?
--------------------------
e,u,p,i    : Examine, Use, Pickup, Inventory
Arrow keys : Movement
Shift      : Hold to run
Enter      : Selects items in inventory, conversation, etc
Escape     : Skips cutscenes, exits certain screens
q          : Exit Dialog Menu
Ctrl + c   : Force Quit (from command-line)
Alt + x    : Quit (ingame)
F1         : Menu

Development/debug keys from the original game
---------------------------------------------
Ctrl + e   : Enter lua string to execute
Ctrl + g   : Jump to set
Ctrl + i   : Toggle walk boxes
Ctrl + l   : Toggle lighting
Ctrl + n   : Display background name
Ctrl + o   : Create a door
Ctrl + p   : Execute patch file
Ctrl + s   : Turn on cursor
Ctrl + u   : Create a new object
Ctrl + v   : Print the value of a variable
Alt + n    : Next viewpoint
Apt + p    : Prev viewpoint
Alt + s    : Run lua script
Shift + n  : Next set
Shift + p  : Prev set
Shift + o  : Toggle object names
F3         : Toggle sector editor
Home       : Go to default position in current set
j          : Enter jump number

Configuration file:
-------------------
By default, the configuration file is saved in, and loaded from:

        Windows Vista/7:
        \Users\username\AppData\Roaming\Residual\residual.ini

        Windows 2000/XP:
        \Documents and Settings\username\Application Data\Residual\residual.ini

        Windows NT4:
        <windir>\Profiles\username\Application Data\Residual\residual.ini

        Windows 95/98/ME:
       <windir>\residual.ini

        Unix:
        ~/.residualrc

        Mac OS X:
        ~/Library/Preferences/Residual Preferences

        Others:
        residual.ini in the current directory

How do I report bugs?
---------------------
Don't. Residual is very alpha and we KNOW it doesn't work right.
Description
ScummVM main repository
Readme 1.9 GiB
Languages
C++ 90.7%
C 7.3%
Python 0.3%
Lua 0.3%
Assembly 0.3%
Other 0.8%