[2.1 pre-892] Solid 3D floors underwater broken again

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
The Ultimate DooMer
Persecution Complex
Posts: 152
Joined: Tue Nov 08, 2005 23:04
Location: Industrial Zone

[2.1 pre-892] Solid 3D floors underwater broken again

Post by The Ultimate DooMer »

Last time it was the top surface of the floors that were disappearing when 3D water was present, this time it's the sides and bottom surface: (plus another feature)
Spoiler: Looks fine on top...
Same maps and sectors affected as those listed in the previous report.

(I'll try some other 2.1 builds when I swap to my laptop later, to try and find out when it broke)
(edit: nvm, everything before 795 has been deleted...earliest one I had was 697 and it's broke there, so somewhere between 341 and 697 is the culprit)
You do not have the required permissions to view the files attached to this post.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: [2.1 pre-892] Solid 3D floors underwater broken again

Post by Graf Zahl »

fixed.
Edward-san
Developer
Developer
Posts: 197
Joined: Sun Nov 29, 2009 16:36

Re: [2.1 pre-892] Solid 3D floors underwater broken again

Post by Edward-san »

Uh, the changes in zdoom won't compile:

Code: Select all

/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp: In function ‘int P_Set3DFloor(line_t*, int, int, int)’:
/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp:224:46: error: ‘P_FindSectorFromTag’ was not declared in this scope
     for (s=-1; (s = P_FindSectorFromTag(tag,s)) >= 0;)
                                              ^
/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp: In function ‘void P_Recalculate3DFloors(sector_t*)’:
/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp:587:16: error: ‘struct lightlist_t’ has no member named ‘fromsector’
   lightlist[0].fromsector = true;
                ^
/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp:609:14: error: ‘struct lightlist_t’ has no member named ‘fromsector’
     newlight.fromsector = false;
              ^
/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp:624:19: error: ‘struct lightlist_t’ has no member named ‘fromsector’
      lightlist[0].fromsector = false;
                   ^
/home/edward-san/zdoom/trunk/src/p_3dfloors.cpp:649:15: error: ‘struct lightlist_t’ has no member named ‘fromsector’
      newlight.fromsector = false;
               ^
Also, vid_renderer does not exist. Maybe a copy-paste mistake?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: [2.1 pre-892] Solid 3D floors underwater broken again

Post by Graf Zahl »

Argh, crap, that must have gotten mutilated because I tested on GZDoom.
User avatar
VoidMage
Posts: 18
Joined: Sat Apr 11, 2015 5:30

Re: [2.1 pre-892] Solid 3D floors underwater broken again

Post by VoidMage »

While this will get fixed anytime now, just dropping a note if anyone who's in a hurry:
- for src/p_3dfloors.cpp, the fix is in a way already in the repo (it's the bit in an earlier commit "replaced P_FindSectorFromTag with an FSectorTagIterator class" )
- for src/gl/data/gl_data.cpp, it's close to a copy-paste of the above, just need to adjust parameters and use for example itr instead of it, as the later is already in use


...
or did I misread the content of this bug and the above is actually a new (though related) problem ?

Return to “Closed Bugs”