64-bit conversation fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2343 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.6:
|
||||
- 64-bit fixes in construct_response () - Michael
|
||||
- Removed rotating 3d planet frame caching (cuts mem usage by 5M) - Alex
|
||||
- One pixel fix in melee menu pictures. - SvdB
|
||||
- Debugging function to add energy during battle. - SvdB
|
||||
|
||||
@@ -585,7 +585,7 @@ Intro (void)
|
||||
i_am_captain1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
i_am_captain2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
DoResponsePhrase (i_am_captain0, ChmmrFree, shared_phrase_buf);
|
||||
Response (i_am_savior, ChmmrFree);
|
||||
Response (i_am_silly, ChmmrFree);
|
||||
|
||||
@@ -138,7 +138,7 @@ ByeBye (RESPONSE_REF R)
|
||||
name_40,
|
||||
GLOBAL_SIS (CommanderName),
|
||||
name_41,
|
||||
0);
|
||||
NULL_PTR);
|
||||
|
||||
NPCPhrase (THIS_MAY_SEEM_SILLY);
|
||||
|
||||
@@ -557,7 +557,7 @@ RevealSelf (RESPONSE_REF R)
|
||||
we_are_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
DoResponsePhrase (we_are_vindicator0, RevealSelf, shared_phrase_buf);
|
||||
}
|
||||
else if (PHRASE_ENABLED (our_mission_was_secret))
|
||||
@@ -658,7 +658,7 @@ Intro (void)
|
||||
no_but_well_help0,
|
||||
GLOBAL_SIS (ShipName),
|
||||
no_but_well_help1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
DoResponsePhrase (no_but_well_help0, NoRadioactives, shared_phrase_buf);
|
||||
Response (yes_this_is_supply_ship, NoRadioactives);
|
||||
|
||||
@@ -538,7 +538,7 @@ OrzNeutral (RESPONSE_REF R)
|
||||
we_are_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
pStr[1] = we_are_vindicator0;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -622,7 +622,7 @@ PkunkHome (RESPONSE_REF R)
|
||||
we_are_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
DoResponsePhrase (we_are_vindicator0, OfferAlliance, shared_phrase_buf);
|
||||
}
|
||||
if (PHRASE_ENABLED (what_about_you))
|
||||
|
||||
@@ -351,7 +351,7 @@ RealizeMistake (RESPONSE_REF R)
|
||||
i_am_captain2,
|
||||
GLOBAL_SIS (ShipName),
|
||||
i_am_captain3,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
}
|
||||
DoResponsePhrase (i_am_captain0, ExplainDefeat, shared_phrase_buf);
|
||||
@@ -401,7 +401,7 @@ Hostile (RESPONSE_REF R)
|
||||
shofixti_name,
|
||||
"",
|
||||
look1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
DoResponsePhrase (look0, ExitConversation, shared_phrase_buf);
|
||||
break;
|
||||
@@ -475,7 +475,7 @@ Friendly (RESPONSE_REF R)
|
||||
shofixti_name,
|
||||
"",
|
||||
report1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
Resp[0].pStr = report0;
|
||||
Resp[0].c_buf = buf0;
|
||||
@@ -491,7 +491,7 @@ Friendly (RESPONSE_REF R)
|
||||
shofixti_name,
|
||||
"",
|
||||
why_here1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
Resp[1].pStr = why_here0;
|
||||
Resp[1].c_buf = buf1;
|
||||
@@ -533,7 +533,7 @@ Friendly (RESPONSE_REF R)
|
||||
shofixti_name,
|
||||
"",
|
||||
bye1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
DoResponsePhrase (bye0, ExitConversation, shared_phrase_buf);
|
||||
}
|
||||
|
||||
@@ -754,7 +754,7 @@ HomeWorld (RESPONSE_REF R)
|
||||
we_are_us1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_us2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
pStr[0] = we_are_us0;
|
||||
break;
|
||||
case 1:
|
||||
|
||||
@@ -881,7 +881,7 @@ SpathiPassword (RESPONSE_REF R)
|
||||
we_are_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
DoResponsePhrase (we_are_vindicator0, ExitConversation, shared_phrase_buf);
|
||||
Response (gort_merenga, ExitConversation);
|
||||
Response (guph_florp, ExitConversation);
|
||||
|
||||
@@ -947,7 +947,7 @@ TellStarBase (RESPONSE_REF R)
|
||||
tell_me_about_modules0,
|
||||
GLOBAL_SIS (ShipName),
|
||||
tell_me_about_modules1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
pstack[0] = tell_me_about_modules0;
|
||||
break;
|
||||
@@ -963,7 +963,7 @@ TellStarBase (RESPONSE_REF R)
|
||||
tell_me_about_fuel0,
|
||||
GLOBAL_SIS (ShipName),
|
||||
tell_me_about_fuel1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
pstack[1] = tell_me_about_fuel0;
|
||||
break;
|
||||
|
||||
@@ -420,7 +420,7 @@ NeutralSupox (RESPONSE_REF R)
|
||||
i_am0,
|
||||
GLOBAL_SIS (CommanderName),
|
||||
i_am1,
|
||||
0);
|
||||
NULL_PTR);
|
||||
pStr[0] = i_am0;
|
||||
pStr[1] = 0;
|
||||
break;
|
||||
@@ -429,7 +429,7 @@ NeutralSupox (RESPONSE_REF R)
|
||||
my_ship0,
|
||||
GLOBAL_SIS (ShipName),
|
||||
my_ship1,
|
||||
0);
|
||||
NULL_PTR);
|
||||
pStr[0] = my_ship0;
|
||||
pStr[1] = 0;
|
||||
break;
|
||||
@@ -443,7 +443,7 @@ NeutralSupox (RESPONSE_REF R)
|
||||
from_alliance0,
|
||||
buf,
|
||||
from_alliance1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
}
|
||||
pStr[0] = from_alliance0;
|
||||
|
||||
@@ -789,7 +789,7 @@ Intro (void)
|
||||
we_are_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
Response (we_are_vice_squad, InitialSyreen);
|
||||
Response (we_are_the_one_for_you_baby, InitialSyreen);
|
||||
DoResponsePhrase (we_are_vindicator0, InitialSyreen, shared_phrase_buf);
|
||||
|
||||
@@ -518,7 +518,7 @@ CompelPlayer (RESPONSE_REF R)
|
||||
we_are_vindicator0,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator1,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
pStr[2] = we_are_vindicator0;
|
||||
}
|
||||
|
||||
@@ -483,7 +483,7 @@ ThraddCulture (RESPONSE_REF R)
|
||||
the_slave_empire0,
|
||||
GLOBAL_SIS (CommanderName),
|
||||
the_slave_empire1,
|
||||
0);
|
||||
NULL_PTR);
|
||||
|
||||
Response (you_decide, ThraddDemeanor);
|
||||
Response (fat, ThraddDemeanor);
|
||||
|
||||
@@ -366,7 +366,7 @@ Zombies (RESPONSE_REF R)
|
||||
we_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_vindicator2,
|
||||
0);
|
||||
NULL_PTR);
|
||||
pStr[1] = we_vindicator0;
|
||||
}
|
||||
else if (PHRASE_ENABLED (come_in_peace))
|
||||
|
||||
@@ -556,7 +556,7 @@ NeutralUtwig (RESPONSE_REF R)
|
||||
we_are_vindicator1,
|
||||
buf,
|
||||
we_are_vindicator2,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
}
|
||||
pStr[0] = we_are_vindicator0;
|
||||
|
||||
@@ -379,7 +379,7 @@ YehatHome (RESPONSE_REF R)
|
||||
i_demand_you_ally_homeworld2,
|
||||
GLOBAL_SIS (ShipName),
|
||||
i_demand_you_ally_homeworld3,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
DoResponsePhrase (i_demand_you_ally_homeworld0,
|
||||
ExitConversation, shared_phrase_buf);
|
||||
@@ -506,7 +506,7 @@ YehatSpace (RESPONSE_REF R)
|
||||
i_demand_you_ally_space2,
|
||||
buf,
|
||||
i_demand_you_ally_space3,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
pStr[2] = i_demand_you_ally_space0;
|
||||
break;
|
||||
|
||||
@@ -411,7 +411,7 @@ AquaintZoqFot (RESPONSE_REF R)
|
||||
we_are_vindicator1,
|
||||
GLOBAL_SIS (ShipName),
|
||||
we_are_vindicator2,
|
||||
0
|
||||
NULL_PTR
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user