Skip to content

patched in IVAN3D - #690

Merged
zenorogue merged 2 commits into
Attnam:masterfrom
zenorogue:ivan3d
Oct 22, 2026
Merged

zenorogue merged 2 commits into
Attnam:masterfrom
zenorogue:ivan3d

Conversation

@zenorogue

Copy link
Copy Markdown
Contributor

This is the 3D part of my old IVAN3D mod.

Explosions still not rendered correctly, but probably that is not a big problem.

Comment thread Main/Source/level.cpp
BlitData.Src.Y = RES.Y - 64;

festring s = Square->GetMemorizedDescription();
truth b = s.Find("wall") != festring::NPos;
Comment thread Main/Source/level.cpp

festring s = Square->GetMemorizedDescription();
truth b = s.Find("wall") != festring::NPos;
if(b) b = ! (s.Find("on the wall") != festring::NPos);
Comment thread Main/Source/level.cpp
festring s = Square->GetMemorizedDescription();
truth b = s.Find("wall") != festring::NPos;
if(b) b = ! (s.Find("on the wall") != festring::NPos);
if(!b) b = s.Find("earth") != festring::NPos;
Comment thread Main/Source/level.cpp
truth b = s.Find("wall") != festring::NPos;
if(b) b = ! (s.Find("on the wall") != festring::NPos);
if(!b) b = s.Find("earth") != festring::NPos;
if(!b) b = s.Find("door") != festring::NPos;
Comment thread Main/Source/char.cpp
if(ivanconfig::GetMode3())
{
auto v = game::GetDirectionVectorForKey(Key);
for(int c = 0; c < DIRECTION_COMMAND_KEYS; ++c)
Comment thread Main/Source/igraph.cpp

#include "char.h"

int currEye, cc, currAY;
Comment thread Main/Source/igraph.cpp
eyelevel = i.z - eyelevel;

if(PLAYER -> TemporaryStateIsActivated(CONFUSED)) {
float angle = GET_TICK() * M_PI / 64;
Comment thread Main/Source/igraph.cpp
if((!pt[0][0].ok) && (!pt[0][16].ok) && (!pt[16][0].ok) && (!pt[16][16].ok))
return;
if(pt[0][0].ok && pt[0][16].ok && pt[16][0].ok && pt[16][16].ok) {
fpoint p[4];
@ryfactor

Copy link
Copy Markdown
Member

Wow, what a surreal PR. After so many years...

The alerts are all pretty superficial btw.

@zenorogue
zenorogue merged commit 291a9ca into Attnam:master Oct 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants