PDA

View Full Version : Warp Ring Location previews are broken



Asuna Yuuki Nagato
02-28-2024, 01:31 AM
Steps to recreate:


File->New
Quest->Misc Data->Warp Rings
Select '0' in "Warp Rings" window
Click 'Edit' button
Set 'Count' to 3 in "Ring 0 Warps" window
Select '1'
Observe warp location is screen 0x00 in mini-map on the "Ring 0 Warps" window
Click 'Edit' button
Click the square for screen 0x0F in matrix or type 0F into the "Screen: 0x" field
Click 'OK' button
Observe warp location is still screen 0x00 in mini-map on the "Ring 0 Warps" window, even though "Scr: 0x0F" is below it


The mini-map on the "Ring 0 Warp 1" is also affected.

Asuna Yuuki Nagato
04-13-2024, 10:39 PM
The Warp Rings window is created by onWarpRings() in zquest.cpp

Asuna Yuuki Nagato
04-14-2024, 09:25 PM
The actual window the preview is displayed on is created by EditWarpRing in zquest.cpp

Asuna Yuuki Nagato
04-14-2024, 09:36 PM
When commenting out this line from the warpring_dlg array, the preview display disappears:



{ d_warplist_proc, 16, 50, 65, 71, jwin_pal[jcTEXTFG], jwin_pal[jcTEXTBG], 0, D_EXIT, 0, 0, (void *) &number_list, NULL, warpringdmapxy },