summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-05-02 23:28:00 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-05-02 23:28:00 +0000
commit832584f65adff69659181d6fc884f779a79d62a9 (patch)
tree4d39c248e14ada2786d144252c8b172aa6a68450
parent7802bc28e08c7660ffa524683911eba58099e9db (diff)
downloadmanaserv-832584f65adff69659181d6fc884f779a79d62a9.tar.gz
manaserv-832584f65adff69659181d6fc884f779a79d62a9.tar.bz2
manaserv-832584f65adff69659181d6fc884f779a79d62a9.tar.xz
manaserv-832584f65adff69659181d6fc884f779a79d62a9.zip
Added headers to LUA files mentioning the purpose of the files and their license.
-rw-r--r--ChangeLog6
-rw-r--r--data/scripts/libtmw.lua19
-rw-r--r--data/scripts/npclib.lua23
-rw-r--r--data/test.lua19
4 files changed, 55 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b4a348f..e0a959f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-03 Philipp Sehmisch <tmw@crushnet.org>
+
+ * data/test.lua, data/scripts/libtmw.lua, data/scripts/npclib.lua: Added
+ headers to LUA files mentioning the purpose of the files and their
+ license.
+
2008-04-28 David Athay <ko2fan@gmail.com>
* src/chat-server/chathandler.cpp, src/defines.h, accountserver.cbp:
diff --git a/data/scripts/libtmw.lua b/data/scripts/libtmw.lua
index d55d8b41..0eabf1bc 100644
--- a/data/scripts/libtmw.lua
+++ b/data/scripts/libtmw.lua
@@ -1,6 +1,19 @@
-------------------
--- Support code --
-------------------
+-------------------------------------------------------------
+-- TMW Support Library --
+-- --
+-- Functions which are called by the game engine and --
+-- helper functions useful for writing other scripts. --
+-- --
+----------------------------------------------------------------------------------
+-- Copyright 2008 The Mana World Development Team --
+-- --
+-- This file is part of The Mana World. --
+-- --
+-- The Mana World is free software; you can redistribute it and/or modify it --
+-- under the terms of the GNU General Public License as published by the Free --
+-- Software Foundation; either version 2 of the License, or any later version. --
+----------------------------------------------------------------------------------
+
-- Table that associates to each NPC pointer the handler function that is
-- called when a player starts talking to an NPC.
diff --git a/data/scripts/npclib.lua b/data/scripts/npclib.lua
index c438d144..95857e4f 100644
--- a/data/scripts/npclib.lua
+++ b/data/scripts/npclib.lua
@@ -1,9 +1,20 @@
-------------------------------------------------------------------------------
--- Library for commonly used NPC scripts --
--- --
--- Any NPC update function or talk function which could be used for NPCs on --
--- more than one map should be placed here. --
-------------------------------------------------------------------------------
+----------------------------------------------------------
+-- Library for commonly used NPC scripts --
+-- --
+-- --
+-- Any NPC update function or talk function which could --
+-- be used for NPCs on more than one map should be --
+-- placed here. --
+-- --
+----------------------------------------------------------------------------------
+-- Copyright 2008 The Mana World Development Team --
+-- --
+-- This file is part of The Mana World. --
+-- --
+-- The Mana World is free software; you can redistribute it and/or modify it --
+-- under the terms of the GNU General Public License as published by the Free --
+-- Software Foundation; either version 2 of the License, or any later version. --
+----------------------------------------------------------------------------------
module("npclib", package.seeall);
diff --git a/data/test.lua b/data/test.lua
index 9704a092..4b14261e 100644
--- a/data/test.lua
+++ b/data/test.lua
@@ -1,6 +1,19 @@
---------------
--- Map code --
---------------
+----------------------------------------------------------
+-- Test Scripts --
+-- --
+-- Provisorical NPC scripts currently included on map --
+-- new_1-1.tmx for demonstrating and testing variouse --
+-- features of the scripting engine. --
+-- --
+----------------------------------------------------------------------------------
+-- Copyright 2008 The Mana World Development Team --
+-- --
+-- This file is part of The Mana World. --
+-- --
+-- The Mana World is free software; you can redistribute it and/or modify it --
+-- under the terms of the GNU General Public License as published by the Free --
+-- Software Foundation; either version 2 of the License, or any later version. --
+----------------------------------------------------------------------------------
require "data/scripts/npclib"