Commit Graph

19 Commits

Author SHA1 Message Date
rubidium
c017c18c26 (svn r27026) -Fix: some (older-ish) GCC compiler warnings 2014-10-21 16:58:15 +00:00
rubidium
ebe3c797dc (svn r26585) -Fix/Feature [FS#5942]: don't truncate money to 32 bits 2014-05-11 20:25:26 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
frosch
1af98ee64c (svn r26150) -Revert (r26120): EnforcePrecondition alters the last-error status and is only meant for commands. 2013-12-08 18:20:14 +00:00
rubidium
0e6e408cd3 (svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition 2013-11-26 12:48:56 +00:00
rubidium
0bf1d73556 (svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID 2013-11-26 12:46:21 +00:00
zuu
b4f584de40 (svn r25791) -Fix (r25788): Silence comiler warning in ScriptCompany::ChangeBankBalance 2013-09-21 19:35:49 +00:00
zuu
c7620a1ea7 (svn r25788) -Feature: [Script] Game Scripts can now charge fees and give money to companies 2013-09-21 13:07:42 +00:00
rubidium
9d41bcd010 (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 2013-06-27 19:57:41 +00:00
rubidium
64c54f73a8 (svn r25486) -Fix [FS#5613-ish]: missing length validation for town and president names in script APIs 2013-06-27 19:23:23 +00:00
rubidium
53ce82b671 (svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters 2013-02-08 20:34:27 +00:00
rubidium
464d51905a (svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says 2012-01-20 20:18:19 +00:00
rubidium
4ad23bbf98 (svn r23777) -Codechange: refactor allocating memory and fetching strings into a single function for scripts 2012-01-08 21:48:05 +00:00
rubidium
d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
truebrain
8ac2d13c79 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 2011-12-19 21:06:06 +00:00
truebrain
20bc2efeba (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 2011-12-19 21:05:36 +00:00
truebrain
95b199e313 (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 2011-12-19 21:05:25 +00:00
truebrain
af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 2011-11-29 23:15:35 +00:00
truebrain
eab012ec8b (svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium) 2011-11-29 23:07:38 +00:00