summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-04-11(svn r9601) -Codechange: Store grf file reference in station spec, not just ↵peter1138
GRF ID
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-03-21(svn r9390) -Documentation : correct Doxygen of comments and @file ↵belugas
inclusion. This time, brought to you by the letter O
2007-03-19(svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge.maedhros
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
2007-03-17(svn r9266) -Codechange: unify the retrieval of the base paths a little more.rubidium
2007-03-15(svn r9205) -Fix: if you started openttd with '-g' you got the same map ↵truelight
every run
2007-03-13(svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and ↵peter1138
enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-08(svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets ↵truelight
removed, the town is notified of it
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)
2007-03-06(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states ↵maedhros
that are mutually exclusive. At the same time, add an INITIALISED state which makes it possible to check if a grf is not yet active but will be later on during the GLS_ACTIVATION loading stage.
2007-03-02(svn r8976) -Codechange: Reinitialize all engines after grf files have been ↵Darkvater
reloaded/changed.
2007-03-02(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft ↵celestar
velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type.
2007-03-02(svn r8969) -Codechange: rework of the player face bits.rubidium
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer - replace tons of ifs/switches/magic numbers by table lookups
2007-02-28(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can ↵maedhros
be used for more than just the gradual loading status.
2007-02-27(svn r8935) -Codechange: unification of track type between road and rail ↵rubidium
tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
2007-02-21(svn r8828) -Fixtron
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
2007-02-13(svn r8715) -Codechange/cleanup: replace magic numbers related to state of ↵rubidium
road vehicles with enums. Original patch by mart3p.
2007-02-12(svn r8689) -Fix [FS#613] (r8619): crash when an old savegame had buoys on ↵rubidium
the northern edge of the map.
2007-02-11(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensivetruelight
2007-02-08(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects ↵truelight
DEBUG() to a remote connection over TCP For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982 Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9 And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
2007-02-01(svn r8507) -Codechange/Feature: Don't remove player-owned property on-load ↵Darkvater
in the scenario editor. Add a button to the landscape window to do this.
2007-01-31(svn r8501) -Fix (r7377) [FS#539]: Keep track of how much cargo has been ↵maedhros
paid for, so that cargo cannot be paid for more than once.
2007-01-31(svn r8498) -Fixtron
-Codechange: Move the update of the oil rig airport type to the recently (r8485) added loop
2007-01-31(svn r8497) -Codechange: Increase the size of the sound/video/music-drivers ↵Darkvater
to 32 bytes (instead of 16) so their actual parameters can be passed. Sound has for example 'bufsize' and 'hz'. Also use the recently introduced StrEmpty().
2007-01-31(svn r8485) -Fixtron
-Fix (since the dawn of time): Remove phantom oil rigs sometimes present in old savegames
2007-01-31(svn r8478) -Fixtron
Change the structure of the the loop in r8477 to prepare for further changes
2007-01-31(svn r8477) -Fixtron
-Codechange: Remove the unnecessary attributes Station::{bus,lorry}_tile_obsolete by replacing them with a scan of the map for existing road stops when loading old savegames
2007-01-26(svn r8422) -Fixtron
-Regression (r8314): Reevaluate the disabled elrail setting after loading because the railtype doesn't get saved anymore
2007-01-24(svn r8385) -Fixtron
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
2007-01-18(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr ↵Darkvater
(through ShowInfo)
2007-01-17(svn r8184) if cascade -> switchtron
2007-01-17(svn r8183) When iterating over the map in AfterLoadGame() do it the same ↵tron
way for all loops
2007-01-16(svn r8155) -Fix: fixed compilation when --disable-network is in usebjarni
2007-01-15(svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get ↵celestar
excessive payment any longer, as the origin TILE is now stored as long as the origin STATION for the transported cargos. Basically this is only a temporary fix until cargopackets are implemented, but it fixes one of the oldest known bugs (Special Thanks to Darkvater for lots of testing)
2007-01-14(svn r8137) -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong ↵rubidium
for savegames with version 24 or lower and do not calculate roadstop->num_vehicles when reading the roadstops as the vehicles might not be loaded at that moment.
2007-01-14(svn r8119) -Fix (r8101): Uninitializing windows should be called before ↵Darkvater
freeing dynamic variables as windows could use those variables during cleanup (eg WE_DESTROY calling GetStation(w->window_number). -Merged UnInitializeGame with UnInitializeAirports and UnInitializeDynamicVariables
2007-01-13(svn r8111) -Fix r8106: silence warningsglx
2007-01-13(svn r8106) -Feature/Fix: Add the ability to load savegames when you don't ↵Darkvater
have the exact GRF files in your list. GRF files that are found based on GRFID (but not on matching md5sum) are used instead of disabling them. This does not affect MP games, there you still need an exact match. -GRF Window colour-codes changed a bit: Static is now grey, and compatible GRF (found locally only based on GRFID) are shown in orange. Compatible GRF's also have an orange status/warning text saying they're not the original the game was saved with. -Loaded games with something amiss regarding GRF's will show an appropiate warning message.
2007-01-13(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h ↵KUDr
to gfx.h
2007-01-12(svn r8078) -Codechange: rewrite UDP part of the network code to make use ↵rubidium
classes. This is only one of the many steps to really cleanup the network code.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)