Fade To Black engine reimplementation
Clone or download
Latest commit d2d3e7f Mar 14, 2018
Permalink
Failed to load latest commit information.
Makefile rename 'Box' to 'Cabinet' Oct 19, 2017
Makefile.mingw rename 'Box' to 'Cabinet' Oct 19, 2017
README.txt 0.2.7 Mar 13, 2018
cabinet.cpp reduce the number of calls to glEnable/Disable GL_DEPTH_TEST Mar 8, 2018
camera.cpp do not persist Game._sceneCameraPosTable Apr 11, 2017
collision.cpp clear memory allocated during the level when exiting the program Mar 12, 2018
controls.cfg read game key mappings from an external file Mar 13, 2018
cutscene.cpp add ctrlKey as an alias to enterKey in menu and inventory Mar 11, 2018
cutscene.h center horizontally all subtitles lines Mar 6, 2018
decoder.cpp add comments in decodeRAC and decodeLZSS Mar 27, 2017
decoder.h add code to display the 'INSTDATA' assets Mar 27, 2017
file.cpp add .INM file loading Jan 22, 2018
file.h store datafiles crc in savegame data Oct 5, 2017
font.cpp center horizontally all subtitles lines Mar 6, 2018
game.cpp clear memory allocated during the level when exiting the program Mar 12, 2018
game.h clear memory allocated during the level when exiting the program Mar 12, 2018
icons.cpp reset icons table when clearing level data Mar 10, 2018
input.cpp change touch up/down to walk and crouch Oct 19, 2017
installer.cpp clear memory allocated during the level when exiting the program Mar 12, 2018
intern.h add XmiPlayer implementation based on FluidSynth Jul 7, 2017
inventory.cpp add ctrlKey as an alias to enterKey in menu and inventory Mar 11, 2018
main.cpp read game key mappings from an external file Mar 13, 2018
menu.cpp fixed possible memory corruption in saveload menu Mar 12, 2018
mixer.cpp add sound playback looping (op_playSound flags bit 1) Dec 14, 2017
mixer.h add sound playback looping (op_playSound flags bit 1) Dec 14, 2017
opcodes.cpp add sound playback looping (op_playSound flags bit 1) Dec 14, 2017
random.h reset random generator on level start May 15, 2016
raycast.cpp fix some visibility issues by switching testing to raycast Jun 26, 2017
render.cpp Render.drawPoint does not require float precision Mar 9, 2018
render.h reduce the number of calls to glColor4f Mar 8, 2018
resource.cpp clear memory allocated during the level when exiting the program Mar 12, 2018
resource.h add .INM file loading Jan 22, 2018
saveload.cpp add screenshot capture to TGA Mar 4, 2018
scaler.cpp rewrite scale2x and scale3x routine to avoid border checking Mar 1, 2018
scaler.h Revert "add 'eagle2x' pixel scaler" Feb 26, 2018
screenshot.cpp add linear down-resize of screenshot bitmaps Oct 9, 2017
sound.cpp add sound playback looping (op_playSound flags bit 1) Dec 14, 2017
sound.h add sound playback looping (op_playSound flags bit 1) Dec 14, 2017
spritecache.cpp fix warnings Oct 17, 2014
spritecache.h initial import based on 0.1.8 version Feb 23, 2013
stub.cpp vibrate controller when hit Mar 12, 2018
stub.h vibrate controller when hit Mar 12, 2018
texturecache.cpp do not propagate cutscene palette changes to all textures Mar 7, 2018
texturecache.h do not propagate cutscene palette changes to all textures Mar 7, 2018
trigo.cpp cleanup trigo helper functions Apr 24, 2017
trigo.h cleanup trigo helper functions Apr 24, 2017
util.cpp show a messagebox on error (win32) Apr 19, 2016
util.h add linear down-resize of screenshot bitmaps Oct 9, 2017
xmiplayer.cpp disable WildMidi gaussian resampling Feb 24, 2018
xmiplayer.h add XmiPlayer implementation based on FluidSynth Jul 7, 2017

README.txt

f2bgl README
Release version: 0.2.7
-------------------------------------------------------------------------------


About:
------

f2bgl is a re-implementation of the engine used in the game Fade To Black
made by Delphine Software and released in 1995.


Running:
--------

You will need the original files of the PC release or PC demo.

By default, the program will try to load the game data files from the current
directory. The expected directory structure is :

	DELPHINE.INI
	TRIGO.DAT    - optional
	DATA/
	DATA/DRIVERS/
	DATA/SOUND/
	INSTDATA/    - optional
	TEXT/        - not present with demo version
	VOICE/       - not present with demo version

Defaults can be changed using command line switches :

    Usage: f2b [OPTIONS]...
    --datapath=PATH             Path to data files (default '.')
    --language=EN|FR|GR|SP|IT   Language files to use (default 'EN')
    --playdemo                  Use inputs from .DEM files
    --level=NUM                 Start at level NUM
    --voice=EN|FR|GR            Voice files (default 'EN')
    --subtitles                 Display cutscene subtitles
    --savepath=PATH             Path to save files (default '.')
    --fullscreen                Fullscreen display (stretched)
    --fullscreen-ar             Fullscreen display (4:3 aspect ratio)
    --soundfont=FILE            SoundFont (.sf2) file for music
    --texturefilter=FILTER      Texture filter (default 'linear')
    --texturescaler=NAME        Texture scaler (default 'scale2x')
    --mouse                     Enable mouse controls
    --no-fog                    Disable fog rendering
    --no-gouraud                Disable gouraud shading


Controls:
---------

The game can be played using a joystick, a gamepad or the keyboard.
Key mappings can be changed by editing the file 'controls.cfg'.

In-game keys (default) :

    Arrow Keys     move Conrad
    Alt / V        toggle gun mode
    Shift          walk
    Ctrl / B       shoot
    Enter          reload gun
    Space          activate
    Tab            change inventory category
    Escape         save/load menu
    I              inventory menu
    J              jump
    U              use
    1 .. 5         use item #
    S              save game state
    L              load game state
    T              take screenshot
    + and -        change game state slot


Credits:
--------

Delphine Software for creating the game.


Contact:
--------

Gregory Montoir, cyx@users.sourceforge.net