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
Distro Developer
Posts: 2759
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas

New Core build for 2018-10-10

Post by Yukiko » Tue Oct 09, 2018 11:15 pm

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.

Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

Re: New Core build for 2018-10-10

Post by guialtran » Wed Oct 10, 2018 3:10 pm

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