mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Small code style fix, related to a typo in the documentation. Also updates the Example component's copyright to match the current year.
This was SVN commit r15586.
This commit is contained in:
@@ -32,11 +32,11 @@ public:
|
||||
|
||||
virtual CScriptVal GetRepresentation()
|
||||
{
|
||||
return m_Script.Call<CScriptVal> ("GetRepresentation");
|
||||
return m_Script.Call<CScriptVal>("GetRepresentation");
|
||||
}
|
||||
virtual CScriptVal GetFullRepresentation(bool flushEvents = false)
|
||||
{
|
||||
return m_Script.Call<CScriptVal> ("GetFullRepresentation",flushEvents);
|
||||
return m_Script.Call<CScriptVal>("GetFullRepresentation",flushEvents);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
|
||||
virtual CScriptVal ScriptCall(int player, const std::wstring& cmd, CScriptVal data)
|
||||
{
|
||||
return m_Script.Call<CScriptVal> ("ScriptCall", player, cmd, data);
|
||||
return m_Script.Call<CScriptVal>("ScriptCall", player, cmd, data);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2013 Wildfire Games.
|
||||
/* Copyright (C) 2014 Wildfire Games.
|
||||
* ...the usual copyright header...
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2013 Wildfire Games.
|
||||
/* Copyright (C) 2014 Wildfire Games.
|
||||
* ...the usual copyright header...
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2013 Wildfire Games.
|
||||
/* Copyright (C) 2014 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
|
||||
@@ -333,7 +333,7 @@ public:
|
||||
|
||||
virtual int DoWhatever(int x, int y)
|
||||
{
|
||||
return m_Script.Call<int> ("DoWhatever", x, y);
|
||||
return m_Script.Call<int>("DoWhatever", x, y);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user