rubidium
9f51f3a0f9
(svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved when the new pool was added, which mean there weren't enough spritegroups when you have more than about a dozen ECS vectors.
...
-Change: increase the spritegroup pool's maximum size to something more than the number of real sprites that OpenTTD can handle; for example ECS has about 30 spritegroups per real sprite. With the 'old' limit that would mean 'only' about 4000 real sprites worth of spritegroups could be loaded.
16 years ago
smatz
b2aed51f8e
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
rubidium
f2317d0d9d
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
yexo
0b243d25cb
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
16 years ago
frosch
8e30f0e75a
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
16 years ago
rubidium
bbd14acb1d
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
16 years ago
rubidium
86710c5185
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
16 years ago
rubidium
f490394aa8
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
smatz
b270ca84ba
(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs
16 years ago
rubidium
6237fe1462
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago
rubidium
da5661a0c8
(svn r16393) -Codechange: move VehicleRail to Train.
16 years ago
rubidium
c4b627af42
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
d37b840cf3
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
16 years ago
rubidium
c882248348
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
rubidium
ada3067960
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
16 years ago
frosch
09d64ff79d
(svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static.
16 years ago
rubidium
74ea34ca66
(svn r16385) -Codechange: move u.disaster to DisasterVehicle.
16 years ago
rubidium
6d1c974254
(svn r16384) -Codechange: move u.effect to EffectVehicle
16 years ago
frosch
2365d27a4d
(svn r16383) -Fix/Change: Disable multitile houses with non-zero population on additional tiles as they cause desyncs and because the specs do not allow that either.
16 years ago
rubidium
441011b782
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
16 years ago
translators
cf0cfb908f
(svn r16381) -Update: WebTranslator2 update to 2009-05-22 17:38:42
...
brazilian_portuguese - 2 fixed by tucalipe (2)
estonian - 2 fixed by kristjans (2)
french - 2 fixed by glx (2)
indonesian - 20 fixed by rindu (20)
romanian - 4 fixed by CrystyB (2), kkmic (2)
serbian - 229 fixed by etran (229)
spanish - 2 fixed by eusebio (2)
16 years ago
smatz
56a7b70591
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
16 years ago
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
04723b240e
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
16 years ago
smatz
b687ac51ee
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
16 years ago
smatz
561d97880d
(svn r16375) -Codechange: don't be afraid of deleting NULL pointers
16 years ago
peter1138
b37fda664c
(svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF should be allowed as is instead of being treated as control codes.
16 years ago
smatz
6afce484bb
(svn r16373) -Codechange: use () instead of (void) for functions without parameters
16 years ago
alberth
c497e9e7ed
(svn r16372) -Codechange: Simplify size calculations with a few helper functions.
16 years ago
alberth
1122d625ae
(svn r16371) -Codechange (r16367): Properly align comments.
16 years ago
alberth
438a5e77b7
(svn r16370) -Doc: Improvements to the nested widgets documentation, added explanation about computations, fixed typo in param description.
16 years ago
alberth
b6d198ca0b
(svn r16369) -Codechange: Renaming ComputeMinimalSize() to SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore.
16 years ago
alberth
db1be47d76
(svn r16368) -Codechange: Only leaf widgets use min_x and min_y.
16 years ago
alberth
054deab7b3
(svn r16367) -Codechange: Do not use min_x and min_y for storing smallest size to allow initialization more than once.
16 years ago
frosch
82532ac12e
(svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic newgrf strings of vehicles are requested.
16 years ago
peter1138
b801d801b5
(svn r16363) -Fix: The previously selected newgrf station type was still remembered after switching to a different game without newstations enabled, preventing stations from being built.
16 years ago
translators
2d8d5580b6
(svn r16362) -Update: WebTranslator2 update to 2009-05-20 17:30:16
...
catalan - 2 fixed by arnaullv (2)
czech - 2 fixed by Hadez (2)
dutch - 2 fixed by habell (2)
finnish - 2 fixed by jpx_ (2)
german - 2 fixed by planetmaker (2)
hungarian - 2 fixed by oklmernok (2)
italian - 2 fixed by lorenzodv (2)
japanese - 20 fixed by ickoonite (20)
turkish - 2 fixed by Emin (2)
16 years ago
rubidium
26070726ac
(svn r16361) -Fix: pointer incremented with wrong count
16 years ago
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
smatz
00bc2659f2
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
16 years ago
glx
ec76117379
(svn r16358) -Fix (r16343): strdup doesn't like NULL
16 years ago
smatz
1e45f4bc4c
(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions
16 years ago
smatz
3bd52accd9
(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp
16 years ago
smatz
70aab8bf04
(svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too
16 years ago
smatz
a0ff6363e6
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
smatz
5fe906e149
(svn r16351) -Fix (r14773): signal handler could end in endless loop
16 years ago
smatz
9af2e38d44
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
16 years ago
smatz
0af27062c4
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
16 years ago
smatz
d1f9a90d32
(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game
16 years ago
rubidium
b385cf31cb
(svn r16347) -Cleanup: remove some unused defines from oldpool.h.
16 years ago
rubidium
10406e8ad6
(svn r16346) -Codechange: don't exploit the pool system in the way done for the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code.
16 years ago
rubidium
543cc6b75e
(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries.
16 years ago
rubidium
4a04dfc07c
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
16 years ago
frosch
ceca68fca7
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
16 years ago
frosch
5507a5b233
(svn r16342) -Feature(tte): Display base graphics description in game options window.
16 years ago
rubidium
e56cc911f1
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
16 years ago
rubidium
9c24e2bb8f
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
16 years ago
rubidium
e3bd95e7b6
(svn r16339) -Fix: [NewGRF] When overriding 'original sounds', only allow overriding of the 'original sounds' and not any other that is already loaded.
16 years ago
smatz
570af0ce44
(svn r16338) -Codechange: split loading of references to two phases
...
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
16 years ago
rubidium
83dc6ef6e6
(svn r16337) -Codechange: remove pointless variable + wrapper function; having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
16 years ago
rubidium
10ea72a08e
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
16 years ago
smatz
76784501a8
(svn r16335) -Codechange: indenting fixes in saveload.cpp
16 years ago
smatz
4876e346d5
(svn r16334) -Codechange: use NeedLength enum
16 years ago
rubidium
88201ccd5c
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
16 years ago
rubidium
e7dedf4e1b
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
16 years ago
smatz
3322cc978f
(svn r16331) -Codechange: replace _sl.save by an enum
16 years ago
rubidium
b23c967230
(svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi.
16 years ago
rubidium
f457cff73c
(svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around)
16 years ago
rubidium
6b2f9e8c9e
(svn r16328) -Fix: desync when removing lots of stations
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
814f153b5a
(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching with a maximum search depth simply does not work with YAPF's caches.
16 years ago
rubidium
8324cfc875
(svn r16322) -Fix [FS#2873]: trains could get stuck in a depot when they wanted to go to the same depot again.
16 years ago
rubidium
bdbbe3a09b
(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios.
16 years ago
smatz
aff7a9e953
(svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash
16 years ago
translators
f9930e190b
(svn r16319) -Update: WebTranslator2 update to 2009-05-16 17:35:44
...
arabic_egypt - 1 fixed by khaloofah (1)
english_US - 24 fixed by WhiteRabbit (24)
esperanto - 6 fixed by maristo (6)
german - 1 changed by planetmaker (1)
welsh - 9 fixed by welshdragon (9)
16 years ago
rubidium
a34d5bb6ab
(svn r16318) -Change: use !! instead of @@ in src/*.in too.
...
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
16 years ago
alberth
db7e24e211
(svn r16317) -Codechange: Generalized finding a widget by type.
16 years ago
yexo
c299a38e1f
(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
frosch
aea2fcd0a0
(svn r16314) -Fix (r9315): Allow accessing the houseage when the house is not yet built.
16 years ago
rubidium
917621b639
(svn r16312) -Codechange: unduplicate yapf (rail) cache debugging.
16 years ago
frosch
8ffb93c358
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
16 years ago
smatz
683a6ca039
(svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo)
16 years ago
glx
b3a539b016
(svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend.
16 years ago
yexo
203cd6c2dd
(svn r16306) -Fix [FS#2901] (r15027): Close all windows before unloading the AI system as closing the content-download window will rescan for AIs
16 years ago
rubidium
a5d6e23e9d
(svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
16 years ago
rubidium
9dff385c38
(svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely.
16 years ago
frosch
32ecc48ec8
(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
16 years ago
smatz
a1addc1d95
(svn r16302) -Codechange: remove Vehicle::AllocateList
16 years ago
smatz
c0ed9f779b
(svn r16301) -Cleanup: remove unused parameter
16 years ago
smatz
0274886ae1
(svn r16300) -Codechange: reduce usage of Vehicle::AllocateList
16 years ago
smatz
2bc5189ad5
(svn r16299) -Fix (r16242): don't use DoCommandP when the function can be called from another command
16 years ago
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
16 years ago
rubidium
d23f616e9f
(svn r16296) -Codechange: silence some ICC warnings
16 years ago