[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Development
. . -> [Subject]  Reorganisation of script methods in the source

Reorganisation of script methods in the source

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Sun 26 Sep 2010 03:19 AM (UTC)

Amended on Sun 26 Sep 2010 03:51 AM (UTC) by Nick Gammon

Message
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

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by WillFa   USA  (525 posts)  [Biography] bio
Date Reply #1 on Sun 26 Sep 2010 05:05 AM (UTC)
Message
So much for not refactoring. ;)

Bad Twisol! Bad!
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] bio
Date Reply #2 on Sun 26 Sep 2010 05:26 AM (UTC)
Message
Nick has caught the bug for sure.

Seriously though, awesome work. That'll definitely help to make things more accessible.
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #3 on Sun 26 Sep 2010 05:32 AM (UTC)
Message
Awesome work!

WillFa said:
So much for not refactoring. ;)

Bad Twisol! Bad!

Huh?

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,497 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]