Skip to content

Commit

Permalink
Infrastructure: split TLuaInterpreter.cpp's Mudlet Objects files out …
Browse files Browse the repository at this point in the history
…separately (try 2) (Mudlet#7154)

<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Split TLuaInterpreter.cpp into a domain-specific Mudlet Objects
functions file.
#### Motivation for adding to Mudlet
A 18k line C++ files makes a lot of tools cry.
#### Other info (issues closed, discussion etc)
I've purposefully put the new files into a similar but random-ish
location in mudlet.pro and CMakeLists.txt to reduce the changes of
conflicts when merging the PRs. We can fix the order in a single PR
afterwards.

---------

Co-authored-by: Vadim Peretokin <[email protected]>
  • Loading branch information
vadi2 and vadi2 authored Feb 18, 2024
1 parent a212332 commit c755fd2
Show file tree
Hide file tree
Showing 4 changed files with 2,790 additions and 2,620 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ set(mudlet_SRCS
TLinkStore.cpp
TLuaInterpreter.cpp
TLuaInterpreterNetworking.cpp
TLuaInterpreterMudletObjects.cpp
TLuaInterpreterMapper.cpp
TMap.cpp
TMapLabel.cpp
Expand Down
Loading

0 comments on commit c755fd2

Please sign in to comment.