Little tweaks and stuff
- New file extension .boes for scenarios - intent is to use this for the new scenario format - Turn on auto-enable for Application menu in the game (otherwise the Show/Hide options don't grey out correctly) - Fix PC graphics not appearing in PC editor
This commit is contained in:
@@ -152,6 +152,7 @@
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>.exs</string>
|
||||
<string>.boes</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>boescenario</string>
|
||||
|
@@ -762,6 +762,7 @@ short dist_from_party(location where)
|
||||
return store;
|
||||
}
|
||||
|
||||
// TODO: I have no idea what is going on here, other than that it seems to have something to do items being picked up in town
|
||||
void set_item_flag(cItemRec *item)
|
||||
{
|
||||
if ((item->is_special > 0) && (item->is_special < 65)) {
|
||||
|
@@ -459,7 +459,7 @@ void start_town_mode(short which_town, short entry_dir)
|
||||
(univ.town->preset_items[i].always_there == true))) {
|
||||
for (j = 0; j < NUM_TOWN_ITEMS; j++)
|
||||
|
||||
// place the preset item, if univ.party hasn't gotten it already
|
||||
// place the preset item, if party hasn't gotten it already
|
||||
if (univ.town.items[j].variety == 0) {
|
||||
univ.town.items[j] = get_stored_item(univ.town->preset_items[i].code);
|
||||
univ.town.items[j].item_loc = univ.town->preset_items[i].loc;
|
||||
|
@@ -163,7 +163,6 @@
|
||||
</object>
|
||||
</array>
|
||||
<string key="NSName">_NSAppleMenu</string>
|
||||
<bool key="NSNoAutoenable">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMenuItem" id="379814623">
|
||||
|
@@ -242,6 +242,7 @@ void Set_up_win ()
|
||||
status_gworld.loadFromImage(*ResMgr::get<ImageRsrc>("staticons"));
|
||||
dlogpics_gworld.loadFromImage(*ResMgr::get<ImageRsrc>("dlogpics"));
|
||||
buttons_gworld.loadFromImage(*ResMgr::get<ImageRsrc>("pcedbuttons"));
|
||||
pc_gworld.loadFromImage(*ResMgr::get<ImageRsrc>("pcs"));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user