Commit Graph

15431 Commits

Author SHA1 Message Date
Crypto City
070a4d46da remove the --debug-allow-gm-commands-from-account option
allow usage of an alternate game account key pair for tests instead
2022-08-04 15:57:39 +00:00
Crypto City
516c893e6f bump boost to 1.79 2022-08-04 15:57:39 +00:00
Crypto City
da1febd721 daemon: take accrual into account in cc_orders 2022-08-04 08:36:32 +00:00
Crypto City
0320b917d4 game: fix reported prestige ranking for players with 0 prestige 2022-08-04 08:36:32 +00:00
Crypto City
ecee19e61d cc: do not add "overall amounts" treasury events if the amount is 0 2022-08-04 08:36:32 +00:00
Crypto City
682259a9cf game: fix item creation checks
it is now possible to create an item with 0 instances if it is set
to be able to create more later, and it is possible to imbue an item
with less than 1 gold
2022-08-04 08:36:32 +00:00
Crypto City
3e42cf32ca functional_tests: fix daemon hard fork test 2022-08-04 08:36:32 +00:00
Crypto City
4252824ad0 functional_tests: piggy back on first building to prevent random events
since they can break tests which do not expect them
2022-08-04 08:36:32 +00:00
Crypto City
7f4019c2a7 serialization: add boost::optional 2022-08-04 08:36:32 +00:00
Crypto City
aaf24f1338 allow seting more than one global variable at once, for atomicity 2022-08-04 08:36:32 +00:00
Crypto City
687d7d2f57 game: allow prefix lookups in set global variable screen 2022-08-04 08:36:32 +00:00
Crypto City
1eb17281a7 game: fix variable lookup field namespace 2022-08-04 08:36:32 +00:00
Crypto City
6bfc447544 custom items may now have a prestige bonus
only the game account can add prestige bonuses
2022-08-04 08:36:31 +00:00
Crypto City
8f403a7d43 game: fix rare fish prestige contribution in player info screen 2022-08-04 08:36:31 +00:00
Crypto City
6c4a31509a new "tax break zone" city specialization 2022-08-04 08:36:31 +00:00
Crypto City
fb9ba895ad fix typo in create_items archive tags 2022-08-02 06:19:05 +00:00
Crypto City
a001101027 game: sea ice freezes below -5 degrees 2022-08-02 06:19:05 +00:00
Crypto City
1f340a7851 game: do not "snow" underwater ground 2022-08-02 06:19:05 +00:00
Crypto City
e5c5b88881 merge snow and nosnow ground shaders, and add water/nowater defines
also fix an artifact between snow and nosnow tiles
2022-08-02 06:19:05 +00:00
Crypto City
ffec4648b1 game: speed up texture notile mode
When switching this mode on and then back off, we don't get quite
the original performance, something stays slower in BlitFramebuffer
for unknown reasons, but it'll get "restored" when the game is
restarted next
2022-08-02 06:19:05 +00:00
Crypto City
a25a3cb3a1 cc: a bit faster terrain type calculation 2022-08-02 06:19:05 +00:00
Crypto City
07a56dffc0 cc: remove unused terrain code
the data is overwritten later on
2022-08-02 06:19:05 +00:00
Crypto City
1ad08760b4 cc: do not try to remove single sand tiles when underwater 2022-08-02 06:19:05 +00:00
Crypto City
e003b0dc49 cc: fix removal of single tile cliff/beach 2022-08-02 06:19:05 +00:00
Crypto City
77a3f417ec fix warning in generated script lexer code 2022-08-02 06:19:05 +00:00
Crypto City
a8d967a37c fix script operator precedence 2022-08-02 06:19:05 +00:00
Crypto City
d939b834f2 fix shift/reduce conflicts in script parser 2022-08-02 06:19:05 +00:00
Crypto City
d708f5c818 game: visual tweaks in the options screen 2022-08-02 06:19:05 +00:00
Crypto City
c5ce4a8d51 game: fix add new texture from DXT1 without conversion 2022-08-02 06:19:05 +00:00
Crypto City
c004280dc7 user textures can now tile independently horizontally and vertically 2022-08-02 06:19:05 +00:00
Crypto City
7367b3a7ec game: cache terrain feature in selection where possible 2022-08-02 06:19:05 +00:00
Crypto City
6ac983aeb4 speed up floodfill in terrain feature classification 2022-08-02 06:19:05 +00:00
Crypto City
cceb258105 beaches must now have at least 50% sand (up from 30%) 2022-08-02 06:19:05 +00:00
Crypto City
e5cf2603b5 game: make sure the name place help wraps 2022-08-02 06:19:05 +00:00
Crypto City
a347443601 db_ldmb: fix leak allocating new textures 2022-08-02 06:19:05 +00:00
Crypto City
fb582f7b40 game: brighter snow
it looked too grey
2022-08-02 06:19:05 +00:00
Crypto City
f4a8938ec1 unit_tests: add unit_tests for collectible fish 2022-08-02 06:19:05 +00:00
Crypto City
701cee900b setup collectible fish times 2022-08-02 06:19:04 +00:00
Crypto City
15936c67a0 game: add CC markers to relevant fish textures in credits screen 2022-08-02 06:19:04 +00:00
Crypto City
213d51442f game: do not know city id in maps screen when in view mode 2022-08-02 06:19:04 +00:00
Crypto City
85b4dadae4 game: show mouse position and a go button in the city maps screen 2022-08-02 06:19:04 +00:00
Crypto City
837ad9515e serialization: forbid reading 0 varints from empty data
this could plausibly be useful as a tail compression scheme,
but every other varint loading code treats 0 bytes read as an
error, and it goes with the principle of least surprise.
2022-08-02 06:19:04 +00:00
Crypto City
4552e18249 somewhat better looking terrain 2022-08-02 06:19:04 +00:00
Crypto City
ba3ec0670c game: add an option to clamp between 0 and for manual maps 2022-08-02 06:19:04 +00:00
Crypto City
f3554196f6 game: improved travel to place screen 2022-08-02 06:19:04 +00:00
Crypto City
e1f0f0be19 game: speed up terrain feature classification 2022-08-02 06:19:04 +00:00
Crypto City
7562f3b19d cc: fix a terrain discontinuity, and remove unneeded 64 bit usage 2022-08-02 06:19:04 +00:00
Crypto City
802942561f game: display manual map in white and fix min/max/time display 2022-08-02 06:19:04 +00:00
Crypto City
15509f1b32 game: go to a place on the map when double clicking on a city map 2022-08-02 06:19:04 +00:00
Crypto City
bfd46e0a06 game: guard against the terrain cache directory being removed at runtime 2022-08-02 06:19:04 +00:00