mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-06 06:55: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
|
||
|---|---|---|
| .. | ||
| CButton.cpp | ||
| CButton.h | ||
| CChart.cpp | ||
| CChart.h | ||
| CCheckBox.cpp | ||
| CCheckBox.h | ||
| CDropDown.cpp | ||
| CDropDown.h | ||
| CGUIDummyObject.h | ||
| CHotkeyPicker.cpp | ||
| CHotkeyPicker.h | ||
| CImage.cpp | ||
| CImage.h | ||
| CInput.cpp | ||
| CInput.h | ||
| CList.cpp | ||
| CList.h | ||
| CMiniMap.cpp | ||
| CMiniMap.h | ||
| COList.cpp | ||
| COList.h | ||
| CProgressBar.cpp | ||
| CProgressBar.h | ||
| CRadioButton.cpp | ||
| CRadioButton.h | ||
| CScrollPanel.cpp | ||
| CScrollPanel.h | ||
| CSlider.cpp | ||
| CSlider.h | ||
| CText.cpp | ||
| CText.h | ||
| CTooltip.cpp | ||
| CTooltip.h | ||