share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 8057 93e16240f178
parent 8043 da083f8d95e6
child 8618 7e71dba4e7f3
equal deleted inserted replaced
8051:f26422ef0333 8057:93e16240f178
     8 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
     8 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
     9 
     9 
    10 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    10 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    11 ]]
    11 ]]
    12 
    12 
    13 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
    13 HedgewarsScriptLoad("/Scripts/Locale.lua")
    14 loadfile(GetDataPath() .. "Scripts/Utils.lua")()
    14 HedgewarsScriptLoad("/Scripts/Utils.lua")
    15 loadfile(GetDataPath() .. "Scripts/Tracker.lua")()
    15 HedgewarsScriptLoad("/Scripts/Tracker.lua")
    16 
    16 
    17 function int_sqrt(num)
    17 function int_sqrt(num)
    18 	temp=num
    18 	temp=num
    19 	while(temp*temp-div(temp,2)>num)
    19 	while(temp*temp-div(temp,2)>num)
    20 	do
    20 	do