New Core build for 2018-10-10

Here you can post threads on the development of the current release of the core (100)

Moderator: POL Developer

Post Reply
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

New Core build for 2018-10-10

Post by Yukiko »

You can download it here.

From the core-changes.txt:

Code: Select all

-- POL100 --
10-07-2018 Turley:
  Added:   array.sorted_insert(obj, sub_index:=0, reverse:=0)
           assumes an already sorted array and inserts given obj. sub_index and reverse parameter have to match the sorting criteria of the array.
10-06-2018 DevGIB:
  Added:   ConsumeAmmunition syshook to hook the cores check for ammunition consumption during combat. Hook should return 1 if combat is to go ahead and 0 if the weapon should not fire.
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

Re: New Core build for 2018-10-10

Post by guialtran »

wonderful! :whip:

sort 1.000.000 itens 2880 milliseconds
sorted_insert, insert into an array with 1,000,000 elements is less than 10 milliseconds
:bacondance: Perfect :D

the ammo hook was perfect too!

thank you!
Gib Turley
Post Reply