An SDK to create Mods for dhewm3
Find a file
Daniel Gibson fa448d6919 Fix renderlights loaded from savegames aliasing other lights
Some entities wrote the handle from gameRenderWorld->AddLightDef()
into savegames and reused it after restoring it.
That's a bad idea, because at that point the handle most likely belongs
to something else (likely some idLight). The most visible issue this
can create is that the flashlight may not work correctly after loading
a savegame with flashlight on, when it happens to alias a light that's
updated each frame to (mostly) being off..

The correct way to handle this (THAT FOR SOME REASON WAS ALREADY
IMPLEMENTED IN D3XP BUT NOT THE BASE GAME - WHY?!) is to get a fresh
handle with AddLightDef() when restoring a savegame - unless the handle
was -1, which means that the light didn't exist when saving.

fixes #495
2024-03-18 23:20:42 +01:00
cm Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
d3xp Fix some ubsan warnings 2024-03-18 23:20:42 +01:00
framework Make sure MAX_OSPATH has sane size 2022-05-28 19:15:16 +02:00
game Fix renderlights loaded from savegames aliasing other lights 2024-03-18 23:20:42 +01:00
idlib Use idStr::Copynz() instead of strncpy() 2022-05-28 19:15:17 +02:00
MayaImport Make it build as SDK 2018-08-26 01:43:10 +02:00
renderer renderer/RenderSystem.h: Changes from dhewm3 2022-05-28 19:15:16 +02:00
sound Make it build as SDK 2018-08-26 01:43:10 +02:00
sys From dhewm3: Add absolute mouse mode and refactor mouse grabbing code 2022-05-28 19:15:16 +02:00
tools/compilers/aas Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
ui Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
.gitignore Make it build as SDK 2018-08-26 01:43:10 +02:00
CMakeLists.txt CMake: Fix D3_ARCH, theoretically support Windows on ARM 2022-05-28 19:15:16 +02:00
config.h.in Make it build as SDK 2018-08-26 01:43:10 +02:00
COPYING.txt Add GPLv3 COPYING.txt 2018-08-20 01:46:20 +02:00
README.md CMake and README adjustments for Doom3: The Lost Mission 2020-01-05 02:59:54 +01:00

dhewm3 port of the Doom3: The Lost Mission mod.

You can get the game data at https://www.moddb.com/mods/the-lost-mission

You can start the game with:
./dhewm3 +set fs_game d3le +set fs_game_base d3xp
It needs both the full version of Doom3 and the official "Resurection of Evil" addon installed!

A big THANK YOU to "Arl90" for releasing this mod under GPL!

Original Read Me:

=====================================
Doom 3 The Lost Mission
Version: 1.1
Release date: 19/08/2019
=====================================
DESCRIPTION:
=====================================

The Lost Mission campaing for 2004 Doom 3 version.


=====================================
REQUIREMENTS:
=====================================

-Doom 3 and Resurrection of Evil expansion pack.

-1.3.1 patch applied.


=====================================
INSTALLATION:
=====================================

Extract the folder 'd3le' and the .bat file 'The Lost Mission.bat' into your Doom 3 instalation folder.

Run the .bat file, enjoy.


(The folder named 'Extra' has the mod source code and an icon file).


=====================================
CREDITS:
=====================================

All Doom 3 community on discord: Several assists, testing, support and very good will.

id Software: For Doom 3.

Nerve Software: For Resurrection of Evil.

id software and Bethesda: for Doom 3 BFG Edition and The Lost Mission campaing.