summaryrefslogtreecommitdiff
path: root/src/script/squirrel_helper.hpp
AgeCommit message (Collapse)Author
2021-05-29Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)Patric Stout
This to be more explicit the function changes the value, and not returns yes/no.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-15Codechange: catch script exceptions by referenceglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Use range-based for-loop in Auto[Free|Delete]SmallVectorHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: [core] Implement SmallVector using std::vectorHenry Wilson
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references.
2014-09-06(svn r26774) -Cleanup [Squirrel]: remove _SC macrorubidium
2014-09-06(svn r26771) -Cleanup: remove OTTD2SQ and SQ2OTTDrubidium
2014-05-11(svn r26585) -Fix/Feature [FS#5942]: don't truncate money to 32 bitsrubidium
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-21(svn r23651) -Feature: [NoGo] GSText now accepts string arguments as ↵yexo
parameters to the constructor
2011-12-19(svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵truebrain
GameScript
2011-12-19(svn r23597) -Codechange: fix up squirrel export script a bittruebrain
2011-11-29(svn r23350) -Add: support different ScriptTypes in the helper functions for ↵truebrain
GetClassName (Rubidium)
2011-11-23(svn r23295) -Codechange: put ImportLibrary in AIController (and document ↵truebrain
the parameters for NoAI docs)
2011-11-23(svn r23294) -Codechange: sq_pop in native callback is just a waste of CPU ↵truebrain
cycles, as the top is reset in all cases
2011-11-13(svn r23210) -Codechange: generate the GetClassName function for the AI ↵rubidium
classes programmatically
2011-09-02(svn r22874) -Fix [FS#4747]: Check size of various buffers before ↵michi_cc
allocation. (monoid)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-03-23(svn r19509) -Codechange: remove superfluous semicolons after function ↵smatz
definitions
2010-01-18(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconvrubidium
2009-11-03(svn r17963) -Codechange: some documentation stylerubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-19(svn r17221) -Change [NoAI] [FS#3101]: when the API requests a string as ↵yexo
parameter allow every squirrel type and convert to a string
2009-07-31(svn r17013) -Fix [FS#3074]: concatenating strings in Squirrel when ↵rubidium
non-ASCII strings were received from OpenTTD failed. The number of bytes in an UTF-8 encoded string isn't always the same as the number of characters in the decoded (into wchars) string
2009-03-06(svn r15629) -Fix (r15027): Validate strings that are passed from squirrel ↵yexo
to the API, not strings passed from the API to squirrel.
2009-02-02(svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string ↵glx
to squirrel
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks