Here you can post threads on the development of the current release of the core (100)
Moderator: POL Developer
- Distro Developer
- Posts: 2566
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
You can download it here
From the core-changes.txt:
Code: Select all
-- POL100 --
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.
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.
I would tell you a UDP joke but you might not get it.
- Grandmaster Poster
- Posts: 115
- Joined: Wed Jul 30, 2008 12:42 pm
sort 1.000.000 itens 2880 milliseconds
sorted_insert, insert into an array with 1,000,000 elements is less than 10 milliseconds
the ammo hook was perfect too!