summaryrefslogtreecommitdiff
path: root/src/script/api/script_list.cpp
AgeCommit message (Collapse)Author
2021-08-10Fix 14f197c: [Script] int64 values don't fit into int (#9465)Loïc Guilloux
2021-06-17Cleanup: simplify some boolean expressionsRubidium
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2020-04-26Codechange: [Script] Improve copying a list into another empty list.Michael Lutz
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-08-07Fix: typo in ScriptList::Valuate param error (#7687)nikolas
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2016-05-30(svn r27594) -Fix [FS#6473]: [Script] Kill scripts, when a non-suspendable ↵frosch
valuator call takes way too long.
2015-04-27(svn r27258) -Fix [FS#6287]: ScriptList::RemoveList failed to remove a list ↵frosch
from itself.
2015-02-22(svn r27166) -Codechange: Optimise ScriptList by making use of iterators ↵frosch
instead of looking up map-items multiple times per API call.
2015-01-01(svn r27104) -Fix [FS#6194]: support 64 bits integere in the ScriptLists as wellrubidium
2014-09-21(svn r26894) -Feature: Swap method for script listsfonsinchen
2014-09-06(svn r26774) -Cleanup [Squirrel]: remove _SC macrorubidium
2014-08-16(svn r26744) -Fix [FS6085-ish]: ScriptListSorterItemDescending::FindNext ↵frosch
failed to detect the end.
2014-08-16(svn r26743) -Codechange: Simplify ScriptList iterators.frosch
2014-08-16(svn r26742) -Doc: Why reverse_iterator is unsuitable for ScriptList iteratorsfrosch
2014-08-16(svn r26741) -Revert (r26736): reverse_iterators are invalidated when the ↵frosch
element next to them is erased (not the element they are pointing to), which makes them unsuitable for ScriptList.
2014-08-16(svn r26736) -Fix [Script]: infinite loop (by scripts; always returning the ↵rubidium
same item) when sorted by item in descending order by oddly constructed FindNext that uses forward iterators. Simply use the same code as the ascending item sort but use the reverse iterator instead of the forward. Also do this same trick for the descending value sort even though I couldn't trigger the problem there
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-23(svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED()rubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-03-04(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIsrubidium
2011-12-21(svn r23648) -Revert (r23646): partial revert; nobody has to know about my ↵truebrain
local changes and attempts
2011-12-21(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.truebrain
2011-12-01(svn r23392) -Fix: [NoAI] assigning 'null' to an AIList element to remove it ↵yexo
didn't work
2011-12-01(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')truebrain
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-29(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to ↵truebrain
src/script/api/script_* (Rubidium)