- Sync scriptbranch with trunk.
SVN r2269 (scripting)
This commit is contained in:
commit
42ac75e894
127 changed files with 2532 additions and 958 deletions
|
|
@ -2192,18 +2192,14 @@ void G_WriteDemoTiccmd (ticcmd_t *cmd, int player, int buf)
|
|||
//
|
||||
// G_RecordDemo
|
||||
//
|
||||
void G_RecordDemo (char* name)
|
||||
void G_RecordDemo (const char* name)
|
||||
{
|
||||
char *v;
|
||||
|
||||
usergame = false;
|
||||
strcpy (demoname, name);
|
||||
FixPathSeperator (demoname);
|
||||
DefaultExtension (demoname, ".lmp");
|
||||
v = Args->CheckValue ("-maxdemo");
|
||||
maxdemosize = 0x20000;
|
||||
demobuffer = (BYTE *)M_Malloc (maxdemosize);
|
||||
|
||||
demorecording = true;
|
||||
}
|
||||
|
||||
|
|
@ -2288,7 +2284,7 @@ void G_BeginRecording (const char *startmap)
|
|||
|
||||
FString defdemoname;
|
||||
|
||||
void G_DeferedPlayDemo (char *name)
|
||||
void G_DeferedPlayDemo (const char *name)
|
||||
{
|
||||
defdemoname = name;
|
||||
gameaction = ga_playdemo;
|
||||
|
|
@ -2516,7 +2512,7 @@ void G_DoPlayDemo (void)
|
|||
//
|
||||
// G_TimeDemo
|
||||
//
|
||||
void G_TimeDemo (char* name)
|
||||
void G_TimeDemo (const char* name)
|
||||
{
|
||||
nodrawers = !!Args->CheckParm ("-nodraw");
|
||||
noblit = !!Args->CheckParm ("-noblit");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue