SamuXarick
|
f6b0f7848b
|
Add: [Script] Newer Cargo Classes (#13779)
|
2025-03-15 16:51:56 +01:00 |
Peter Nelson
|
d61b376998
|
Codechange: Use EnumBitSet for CargoClasses. (#13491)
|
2025-02-08 08:46:38 +00:00 |
Rubidium
|
e894a5880c
|
Codechange: rename CargoID to CargoType and amend related variables/comments
|
2025-01-26 18:07:10 +01:00 |
Peter Nelson
|
60dcf3b5e2
|
Codechange: Rename TownEffect to TownAcceptanceEffect.
This makes it clearer that TownEffect only affects acceptance behaviour.
|
2024-02-02 20:37:49 +00:00 |
Peter Nelson
|
400ae65ff2
|
Codechange: Redefine some cargo-related values in terms of CargoID instead of CargoType.
Values used as special filter types are now defined as offsets from NUM_CARGO instead of confusingly reusing CARGO_NO_REFIT/CARGO_AUTO_REFIT types.
|
2024-01-09 18:56:05 +00:00 |
Peter Nelson
|
952d111b94
|
Codechange: Split CT_INVALID into CT_INVALID and INVALID_CARGO.
INVALID_CARGO is a CargoID and should be used for most purposes in game.
CT_INVALID is a CargoType used for defining default properties.
|
2024-01-09 18:56:05 +00:00 |
Rubidium
|
eaae0bb5e7
|
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
|
2023-07-19 19:30:14 +02:00 |
Rubidium
|
bbcb55ebc9
|
Codechange: use std::string as script API return type
|
2023-05-14 22:54:10 +02:00 |
glx22
|
40424601c6
|
Codechange: Use SQInteger for generic numbers in script_cargo
|
2023-03-06 00:32:12 +01:00 |
SamuXarick
|
8d0d45c431
|
Add: ScriptCargo::GetWeight to get cargo weights
|
2022-10-16 18:28:28 +02:00 |
Patric Stout
|
218f40eea2
|
Add: [Script] ScriptCargo::GetName, to get the human readable name of a cargo (#8544)
Of course this translates into AICargo.GetName() for AIs and
GSCargo.GetName() for GameScripts.
|
2021-01-09 15:15:14 +01:00 |
Niels Martin Hansen
|
b7751c483e
|
Feature: Influence industry production changes from GS (#7912)
|
2020-12-22 14:21:31 +01:00 |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
2019-11-10 17:59:20 +00:00 |
JMcKiern
|
04f659e768
|
Fix: Some typos found using codespell
|
2019-09-29 21:27:32 +01:00 |
frosch
|
de3bb62e9e
|
(svn r27316) -Doc: Improve documentation on ScriptCargo::GetCargoLabel
|
2015-06-21 18:53:23 +00:00 |
zuu
|
ae23f519f7
|
(svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station
|
2014-03-10 22:18:53 +00:00 |
rubidium
|
e40eb8177a
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
2012-01-03 20:26:05 +00:00 |
truebrain
|
436cf09923
|
(svn r23614) -Add: more API functions exposed to NoGo (part 1)
|
2011-12-19 20:57:23 +00:00 |
rubidium
|
3d88c74389
|
(svn r23526) -Codechange: unify cargos vs cargoes
|
2011-12-15 21:56:00 +00:00 |
rubidium
|
18d929aa21
|
(svn r23521) -Codechange: use the actual enum values from the 'core' in the API when they refer to the in-game values in the cases where that is possible and sensible
|
2011-12-15 18:40:15 +00:00 |
truebrain
|
4d91f645c1
|
(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
|
2011-11-29 23:27:26 +00:00 |
truebrain
|
98103121d4
|
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
|
2011-11-29 23:15:35 +00:00 |
truebrain
|
afdb67a353
|
(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 |