
Enhanced Nehahra Engine
=======================

BACKGROUND

This Nehahra engine is basically a bug-fixed version of the released 2.54 source. It has also most
of the fixes/features of the Enhanced GLQuake version (http://user.tninet.se/~xir870k), please see
its readme for details. The engine can be used for both watching the "Seal of Nehahra" movie and
for playing the actual game.

For all Nehahra material and more info, please visit http://www.planetquake.com/nehahra.

==================================================================================================
FEATURES

* Very large capacity and robustness; all known bsps are loadable and playable.
* Very high limits (e.g. edicts) and almost no engine choking (e.g. packet overflow).
* Fast loading of bsps.
* Low memory requirements, especially when loading many bsps in sequence.
* Low system requirements; most systems should be able to use the engine.
* Low CPU load.
* Enhanced brightness (gamma) handling.
* Enhanced sound quality; almost eliminated sound drop out or stuttering.
* Standard skybox and fog support.
* Enhanced console handling and warning/error messages.
* Many movie and gameplay issues fixed.
* DZipped demo support outside or inside pak file. 
* Enhanced log file handling.

==================================================================================================
NOTES

There is a difference in the gamma (brightness) handling in the older Nehahra 2.54/2.67 versions
and this version. If your graphics card supports hardware gamma handling, you can change gamma via
cvar gamma (or slider in options menu) in-game. This is the recommended mode.

If hardware gamma is unsupported or undesired, add the option "-gamma #" to the command line,
where # could be e.g. 1.1 or some other float value that looks good. Note that in this mode, the
engine only sets the gamma at startup so it doesn't help to change it in-game.

If you get an error message regarding fmod.dll when starting, make sure to use the file from the
Nehahra pack. Later versions are for unknown reasons not backwards compatible. 

Some extensions may have broken compatibility, especially regarding net play.

==================================================================================================
TIP

Adding option "-condebug +developer 1" to the engine command line is recommended to see and log to
file extra warning messages from the engine that might indicate problems in the map, e.g. missing
model skins. The log is written to qconsole.log in the game directory and is overwritten each time
the engine is started.

==================================================================================================
CHANGES

The changes are as follows :

Nehahra 3.04 (Sep 7 2005)

1. Added compensation for invalidly rotated skybox in Invein.
2. Changed so fog also affects transparent entities.
3. Added cvar gl_skyfix (default 1) to control transparent skybox fix (multitexture is still
   required for fix to work). Disable for special effects only.


Nehahra 3.03 (Jun 6 2005)

1. Fixed abort bug when playing some dzipped demos.
2. Decreased default zone size from 512k to 256k.


Nehahra 3.02 (Apr 9 2005)

1. Reduced rendering load by restoring gl_finish logic, i.e. glFinish will only be called when
   gl_finish is enabled.
2. Fixed playmod bug that caused slowdown and sound distortion in neh1m2 (near SK) and neh1m3
   (water tunnel exit).
3. Decreased max fps from 100 to 72 to reduce CPU load in low-stress situations. To disable this,
   set new cvar host_sleep to 0 (this will also increase CPU load).


Nehahra 3.01 (Feb 18 2005)

1. Fixed bug that caused skyboxes to be hidden in fog (e.g. neh1m3).
2. Improved precision in ftos QC function which e.g. enables better fog control.
3. Added hack for more fullbright flame/candle/lantern models and optimized gl_glows handling.
4. Fixed bug in options menu that prevented "Use Mouse" from working.
5. Changed default value for the gl_glows cvar to 1 and made it persistent.
6. Changed glow colour for quad damage to green/yellow (same as 2.67).
7. Fixed repaint of skins when r_fullbright is toggled and smooth animations is enabled.
8. Improved workaround for missing skybox (nehahra) when using "-nomtex".
9. Added workaround for initial distortion in skybox top face.
10.Added cvar gl_skyclip (default 4608) to control far clip for sky in fog.
11.Added skybox support also in pcx format.
12.Fixed minor bug in skybox handling for images not exactly 256x256.
13.Added command "fog" to ease fog control.
14.Restored cvar r_particles to disable particles.
15.Fixed bug that caused sprites to partially or completely disappear near water.
16.Fixed status bar updating when using "gimme" command.
17.Disabled logging of # SFX in developer mode.
18.Fixed bug in movie selection for low resolutions.
19.Added Nehahra icon to exe.
20.Changed title bar to Nehahra.
21.Restored printout of OpenGL vendor and version.
22.Improved MOVETYPE_FOLLOW handling.


Nehahra 3.00 (Nov 21 2004)

1. Fixed crash bug when disabling sounds with "-nosound".
2. Fixed crash bug when not having "-no8bit" enabled.
3. Fixed pausedemo while recording.
4. Fixed issues when playing the movie (e.g. invalid skies and premature aborts).
5. Added workaround so the "Loading" plaque is displayed between chained demos.
6. Fixed support for cvar r_waterripple (name mixup with gl_waterripple).
7. Fixed a lot of issues in multiplayer and dedicated modes.
8. Added workaround for transparent skyboxes in multitexture mode.
9. Added warning and workaround for missing skybox (nehstart, neh3m4) when using "-nomtex".
10.Changed to alternate trail handling for e.g. thicker rocket trails. Trails can now also be
   disabled in menu.
11.Fixed playback of dz demos outside or inside pakfiles (321 MB pak0.pak -> 35 MB).
12.Fixed bug when exceeding max # textures by adding protection and increasing MAX_GLTEXTURES
   from 1k to 2k.
13.Added cvar modvolume (0.0-1.0, default 0.5) that controls mod (music) volume.
14.Fixed so also mod (music) follows "-nosound" option.
15.Fixed bug in precached sounds (nailgun sound in menu).
16.Fixed some weird behaviour with 32-bit sprites (cache pollution etc).
17.Added texture name to cache mismatch warning.
18.Simplified multitexture handling and added "-nomtexarb" option for disabling ARB multitexture.
19.Fixed engine always going to menu after start.
20.Added cvar gl_fogdisable to permanently disable fog.
21.Added skybox support for tgas not exactly 256x256.
22.Added automatic loading of skybox if "sky" key present in worldspawn.
23.Added command "sky" with same functionality as "loadsky".
24.Added workaround for QC bug (neh1m8) that floods the console with empty newlines in developer
   mode.
25.Disabled logging of sounds to sounds.txt in developer mode.


==================================================================================================

Original GLQuake source code by John Carmack,            http://www.idsoftware.com
Nehahra 2.54 source code by Ender/LordHavoc              http://www.planetquake.com/nehahra
Many modifications inspired by Metlslime's FitzQuake,    http://www.celephais.net/fitzquake
Tyrann's TyrQuake,                                       http://disenchant.net
QIP Quake,                                               http://www.inside3d.com/qip
JoeQuake,                                                http://delfin.klte.hu/~sj0002
LordHavoc's DarkPlaces                                   http://icculus.org/twilight/darkplaces

