Reorganisation of script methods in the source

Posted by Nick Gammon on Sun 26 Sep 2010 03:19 AM — 4 posts, 21,483 views.

Australia Forum Administrator #0
For those who are following the source code, I have made a major revamp of the way the scripting methods are stored. Previously they were all in the rather large and unwieldy (about 15,000 lines) file methods.cpp.

Now they have been moved into separate files based on the general nature of the script function, and all of them have been moved into a subdirectory scripting/methods.


  deleted:    methods.cpp
  new file:   methods/methods.cpp
  new file:   methods/methods_accelerators.cpp
  new file:   methods/methods_aliases.cpp
  new file:   methods/methods_arrays.cpp
  new file:   methods/methods_chat.cpp
  new file:   methods/methods_clipboard.cpp
  new file:   methods/methods_colours.cpp
  new file:   methods/methods_commands.cpp
  new file:   methods/methods_database.cpp
  new file:   methods/methods_defaults.cpp
  new file:   methods/methods_info.cpp
  new file:   methods/methods_infobar.cpp
  new file:   methods/methods_logging.cpp
  new file:   methods/methods_mapping.cpp
  new file:   methods/methods_miniwindows.cpp
  new file:   methods/methods_notepad.cpp
  new file:   methods/methods_noting.cpp
  new file:   methods/methods_output.cpp
  new file:   methods/methods_panes.cpp
  new file:   methods/methods_plugins.cpp
  new file:   methods/methods_sending.cpp
  new file:   methods/methods_sounds.cpp
  new file:   methods/methods_speedwalks.cpp
  new file:   methods/methods_spellchecker.cpp
  new file:   methods/methods_timers.cpp
  new file:   methods/methods_tracing.cpp
  new file:   methods/methods_triggers.cpp
  new file:   methods/methods_udp.cpp
  new file:   methods/methods_utilities.cpp
  new file:   methods/methods_variables.cpp
  new file:   methods/methods_worlds.cpp
  new file:   methods/methods_xml.cpp
Amended on Sun 26 Sep 2010 03:51 AM by Nick Gammon
USA #1
So much for not refactoring. ;)

Bad Twisol! Bad!
Netherlands #2
Nick has caught the bug for sure.

Seriously though, awesome work. That'll definitely help to make things more accessible.
USA #3
Awesome work!

WillFa said:
So much for not refactoring. ;)

Bad Twisol! Bad!

Huh?