- added a system to display one or two strings and/or call a special the first time the party sees a particular type of monster

- added ambient sound, both outdoor ambient sound and monster vocalizing ambient sound (eg cat meowing when in sight)
- fixed an inconsistency whereby two sounds were swapped relative to their original Mac versions
- added (but haven't yet used much) a few more typedefs for clarity

git-svn-id: http://openexile.googlecode.com/svn/trunk@86 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-31 22:13:43 +00:00
parent 851859d61e
commit 48210becd9
19 changed files with 199 additions and 35 deletions

View File

@@ -232,7 +232,7 @@ void init_party(short mode)
for (i = 0; i < 4; i++)
univ.party.imprisoned_monst[i] = 0;
for (i = 0; i < 256; i++)
univ.party.m_seen[i] = 0;
univ.party.m_seen[i] = univ.party.m_noted[i] = 0;
// for (i = 0; i < 50; i++)
// univ.party.journal_str[i] = -1;
// for (i = 0; i < 140; i++)
@@ -376,7 +376,7 @@ void init_party_scen_data()
for (i = 0; i < 4; i++)
univ.party.imprisoned_monst[i] = 0;
for (i = 0; i < 256; i++)
univ.party.m_seen[i] = 0;
univ.party.m_seen[i] = univ.party.m_noted[i] = 0;
// for (i = 0; i < 50; i++)
// univ.party.journal_str[i] = -1;
// for (i = 0; i < 140; i++)
@@ -2019,7 +2019,7 @@ void cast_town_spell(location where) ////
targ = monst_there(where);
if (targ < univ.town->max_monst()) {
if (town_spell == 7) {
univ.party.m_seen[univ.town.monst[targ].number] = true;
univ.party.m_noted[univ.town.monst[targ].number] = true;
adjust_monst_menu();
display_monst(0,&univ.town.monst[targ],0);
}