mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-05 22:45:48 -07:00
- Rename ScriptEngine, ScriptContext, ScriptInterface, ScriptRequest to
Script::Engine, Script::Context, Script::Interface, Script::Request
- Remove 'Script' prefix from filenames:
ScriptContext.* → Context.*
ScriptInterface.* → Interface.*
ScriptRequest.* → Request.*
ScriptEngine.* → Engine.*
ScriptConversions.* → Conversions.*
ScriptExceptions.* → Exceptions.*
ScriptForward.* → ForwardDeclarations.*
ScriptStats.* → Stats.*
- Update all includes, forward declarations, and friend classes
- Use namespace Script { ... } in .cpp definitions to avoid repetitive
Script:: prefix (keeping global callbacks outside)
- Rename internal implementation structs:
ScriptInterface_impl → Interface_impl
ScriptFunction → Function
- Update copyright year to 2026 in all touched files
- Suppress pre-existing cppcheck warnings (uninitvar, nullPointer, unknown
macro) by adding them to suppressions-list.txt (these are not caused
by this refactor)
Fixes #7516
|
||
|---|---|---|
| .. | ||
| scripting | ||
| tests | ||
| FSM.h | ||
| HttpServer.cpp | ||
| HttpServer.h | ||
| NetClient.cpp | ||
| NetClient.h | ||
| NetClientSession.cpp | ||
| NetClientSession.h | ||
| NetClientTurnManager.cpp | ||
| NetClientTurnManager.h | ||
| NetEnet.cpp | ||
| NetEnet.h | ||
| NetFileTransfer.cpp | ||
| NetFileTransfer.h | ||
| NetHost.cpp | ||
| NetHost.h | ||
| NetMessage.cpp | ||
| NetMessage.h | ||
| NetMessages.h | ||
| NetMessageSim.cpp | ||
| NetProtocol.cpp | ||
| NetProtocol.h | ||
| NetServer.cpp | ||
| NetServer.h | ||
| NetServerSession.cpp | ||
| NetServerSession.h | ||
| NetServerTurnManager.cpp | ||
| NetServerTurnManager.h | ||
| NetStats.cpp | ||
| NetStats.h | ||
| NMTCreator.h | ||
| Serialization.h | ||
| StringConverters.h | ||
| StunClient.cpp | ||
| StunClient.h | ||