Skip to content

Commit

Permalink
AMC: Update application names
Browse files Browse the repository at this point in the history
  • Loading branch information
dibollinger committed May 18, 2024
1 parent d60e126 commit ee87d1c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

obj/

/amcsquad
/eduke32
/mapster32
/voidsw
Expand Down
4 changes: 2 additions & 2 deletions source/build/src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11074,9 +11074,9 @@ static void check_sprite(int32_t i)
static int32_t amc_strip_mapversion_flags(int32_t version)
{
if (version & MAPVERSION_FLAG_AMC5_0)
LOG_F(INFO, "Map uses AMCDuke32 v5.0 format (%d > MAXTILES >= %d).", MAXTILES, AMC4_0_MAXTILES);
LOG_F(INFO, "Map uses AMC Squad v4.5 format (%d > MAXTILES >= %d).", MAXTILES, AMC4_0_MAXTILES);
else if (version & MAPVERSION_FLAG_AMC4_0)
LOG_F(INFO, "Map uses AMCDuke32 v3.5 format (%d > MAXTILES >= %d).", AMC4_0_MAXTILES, EDUKE32_MAXTILES);
LOG_F(INFO, "Map uses AMC Squad v3.5 format (%d > MAXTILES >= %d).", AMC4_0_MAXTILES, EDUKE32_MAXTILES);

return version & ~(MAPVERSION_FLAG_AMC5_0 | MAPVERSION_FLAG_AMC4_0);
}
Expand Down
8 changes: 4 additions & 4 deletions source/duke3d/rsrc/amcsquad/gameres.rc
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ BEGIN
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "AMCDuke32"
VALUE "FileDescription", "AMC Squad"
VALUE "FileVersion", VERSTR
VALUE "InternalName", "AMCDuke32"
VALUE "LegalCopyright", "Copyright � EDuke32 contributors. All rights reserved."
VALUE "LegalTrademarks", "Duke Nukem� is a Registered Trademark of Balls of Steel, LLC."
VALUE "LegalCopyright", "Copyright � AMCDuke32 contributors. All rights reserved."
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "amcsquad.exe"
VALUE "ProductName", "AMCDuke32"
VALUE "ProductName", "AMC Squad"
VALUE "ProductVersion", VERSTR
END
END
Expand Down
8 changes: 4 additions & 4 deletions source/duke3d/src/astub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# undef stat
#endif

const char* AppProperName = "Mapster32 (AMCDuke32)";
const char* AppProperName = "Mapster32 (AMC Squad)";
const char* AppTechnicalName = "mapster32";

#if defined(_WIN32)
Expand Down Expand Up @@ -7992,7 +7992,7 @@ static void G_ShowParameterHelp(void)
"-usecwd\t\t\tRead game data and configuration file from working directory\n"
"\n-?, -help, --help\t\tDisplay this help message and exit"
;
Bsprintf(tempbuf, "Mapster32 (AMCDuke32) %s", s_buildRev);
Bsprintf(tempbuf, "Mapster32 (AMC Squad) %s", s_buildRev);
wm_msgbox(tempbuf, "%s", s);
}

Expand Down Expand Up @@ -8410,7 +8410,7 @@ int32_t ExtPreInit(int32_t argc,char const * const * argv)
g_useCwd = 1;

OSD_SetVersion(AppProperName,0,2);
LOG_F(INFO, "Mapster32 (AMCDuke32) %s", s_buildRev);
LOG_F(INFO, "Mapster32 (AMC Squad) %s", s_buildRev);
PrintBuildInfo();

G_CheckCommandLine(argc,argv);
Expand Down Expand Up @@ -10128,7 +10128,7 @@ int32_t ExtInit(void)
getmessageleng = 0;
getmessagetimeoff = 0;

Bsprintf(apptitle, "Mapster32 (AMCDuke32) %s", s_buildRev);
Bsprintf(apptitle, "Mapster32 (AMC Squad) %s", s_buildRev);
autosavetimer = (int32_t) totalclock+120*autosave;

registerosdcommands();
Expand Down

0 comments on commit ee87d1c

Please sign in to comment.