Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
4122e4041a
22 changed files with 45 additions and 15 deletions
|
|
@ -144,6 +144,11 @@ if( WIN32 )
|
|||
ws2_32
|
||||
setupapi
|
||||
oleaut32 )
|
||||
|
||||
# For some reason this isn't implied on 2005
|
||||
if( MSVC80 )
|
||||
set( ZDOOM_LIBS ${ZDOOM_LIBS} DelayImp )
|
||||
endif( MSVC80 )
|
||||
else( WIN32 )
|
||||
if( APPLE )
|
||||
set( FMOD_SEARCH_PATHS "/Developer/FMOD Programmers API Mac/api" )
|
||||
|
|
@ -1211,7 +1216,11 @@ endif( NOT ZDOOM_OUTPUT_OLDSTYLE OR NO_GENERATOR_EXPRESSIONS )
|
|||
if( MSVC )
|
||||
option( ZDOOM_GENERATE_MAPFILE "Generate .map file for debugging." OFF )
|
||||
if( ZDOOM_GENERATE_MAPFILE )
|
||||
set_target_properties(zdoom PROPERTIES LINK_FLAGS "/MANIFEST:NO /DELAYLOAD:\"fmodex${X64}.dll\" /MAP:${ZDOOM_EXE_NAME}.map")
|
||||
if( NOT MSVC80 )
|
||||
set_target_properties(zdoom PROPERTIES LINK_FLAGS "/MANIFEST:NO /DELAYLOAD:\"fmodex${X64}.dll\" /MAP:${ZDOOM_EXE_NAME}.map")
|
||||
else( NOT MSVC80 ) # 2005 doesn't support naming the map file.
|
||||
set_target_properties(zdoom PROPERTIES LINK_FLAGS "/MANIFEST:NO /DELAYLOAD:\"fmodex${X64}.dll\" /MAP")
|
||||
endif( NOT MSVC80 )
|
||||
else( ZDOOM_GENERATE_MAPFILE )
|
||||
set_target_properties(zdoom PROPERTIES LINK_FLAGS "/MANIFEST:NO /DELAYLOAD:\"fmodex${X64}.dll\"")
|
||||
endif( ZDOOM_GENERATE_MAPFILE )
|
||||
|
|
|
|||
|
|
@ -565,7 +565,7 @@ void G_BuildTiccmd (ticcmd_t *cmd)
|
|||
int tspeed = speed;
|
||||
|
||||
if (turnheld < SLOWTURNTICS)
|
||||
tspeed *= 2; // slow turn
|
||||
tspeed += 2; // slow turn
|
||||
|
||||
if (Button_Right.bDown)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -522,19 +522,8 @@ static void ParseReplies (FStrifeDialogueReply **replyptr, Response *responses)
|
|||
|
||||
// If the first item check has a positive amount required, then
|
||||
// add that to the reply string. Otherwise, use the reply as-is.
|
||||
if (rsp->Count[0] > 0)
|
||||
{
|
||||
char moneystr[128];
|
||||
|
||||
mysnprintf (moneystr, countof(moneystr), "%s for %u", rsp->Reply, rsp->Count[0]);
|
||||
reply->Reply = copystring (moneystr);
|
||||
reply->NeedsGold = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
reply->Reply = copystring (rsp->Reply);
|
||||
reply->NeedsGold = false;
|
||||
}
|
||||
reply->Reply = copystring (rsp->Reply);
|
||||
reply->NeedsGold = (rsp->Count[0] > 0);
|
||||
|
||||
// QuickYes messages are shown when you meet the item checks.
|
||||
// QuickNo messages are shown when you don't.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue