belugas
0f6e6d9713
(svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.
...
A few more to go
2007-05-30 20:20:58 +00:00
rubidium
17b6ce80c7
(svn r9971) -Fix (r9892, r9958): loading of post-'bridges over "everything"' messed with the railtype of bridges.
2007-05-29 08:19:37 +00:00
peter1138
344e9007fe
(svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll'
2007-05-28 16:46:16 +00:00
rubidium
7f0339748f
(svn r9958) -Fix (r9892): upgrading old savegames made (road)bridges unuseable.
2007-05-27 14:42:40 +00:00
rubidium
0819f3a9a0
(svn r9917) -Codechange: prepare some more areas for more road types.
2007-05-25 08:13:01 +00:00
rubidium
d86b5e5e93
(svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
2007-05-20 19:14:08 +00:00
truelight
49aa3bedfb
(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
...
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-19 23:52:04 +00:00
rubidium
7d4be11516
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-19 09:40:18 +00:00
belugas
3fb4003534
(svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
...
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00
truelight
765c466b8d
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
rubidium
54de7d90f6
(svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished.
2007-05-14 20:17:26 +00:00
peter1138
0de85b7eb0
(svn r9805) -Codechange: Use HASBIT() et al for display options bits.
2007-05-07 11:24:23 +00:00
glx
79637ef7b8
(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players
2007-05-04 22:45:37 +00:00
belugas
9b7a615887
(svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
...
Based on FS#289, by pitt2
2007-05-01 17:16:51 +00:00
rubidium
fdf86bb4a2
(svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains.
2007-04-20 08:00:30 +00:00
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
maedhros
16a948a463
(svn r9667) -Feature: Add the concept of cities. A (configurable) proportion of towns can
...
start off larger, and will grow twice as quickly as other towns. They can also
be placed specifically in the scenario editor. Thanks to TheJosh for the
initial patch and the idea.
2007-04-18 14:23:30 +00:00
maedhros
ccaaa7d33a
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
2007-04-12 13:07:15 +00:00
peter1138
69982b1f01
(svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID
2007-04-11 21:04:03 +00:00
peter1138
a2cec54c9d
(svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-04-05 07:49:04 +00:00
belugas
57557ba599
(svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O
2007-03-21 15:19:33 +00:00
maedhros
28aa933489
(svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge.
2007-03-19 11:41:21 +00:00
maedhros
73ff939ddb
(svn r9315) -Merge: The newhouses branch. With this merge comes almost 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-19 11:27:30 +00:00
rubidium
50b2088674
(svn r9266) -Codechange: unify the retrieval of the base paths a little more.
2007-03-17 11:36:04 +00:00
truelight
41caaf4d14
(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run
2007-03-15 14:34:10 +00:00
peter1138
4177215b41
(svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios.
2007-03-13 21:31:09 +00:00
rubidium
ce919e8c71
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
2007-03-08 16:27:54 +00:00
truelight
7b153e6356
(svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it
2007-03-08 14:34:32 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
truelight
43133c766c
(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
...
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
2007-03-06 20:59:52 +00:00
maedhros
1c7df202c6
(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states 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-06 19:33:28 +00:00
Darkvater
991fbeaefa
(svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed.
2007-03-02 15:17:48 +00:00
celestar
f621608f7d
(svn r8973) -Feature/Codechange: Changed the internal unit for aircraft 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 12:01:24 +00:00
rubidium
ea319b78f8
(svn r8969) -Codechange: rework of the player face bits.
...
- 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-03-02 01:17:11 +00:00
maedhros
aadd8a4b44
(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
2007-02-28 17:18:36 +00:00
rubidium
4908115355
(svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
2007-02-27 23:36:28 +00:00
tron
565da62355
(svn r8828) -Fix
...
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
2007-02-21 07:37:31 +00:00
rubidium
154dff9873
(svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p.
2007-02-13 22:27:27 +00:00
rubidium
997534a5ea
(svn r8689) -Fix [FS#613] (r8619): crash when an old savegame had buoys on the northern edge of the map.
2007-02-12 12:52:37 +00:00
truelight
098a63fc53
(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive
2007-02-11 14:04:40 +00:00
truelight
c46a1cc2f6
(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects 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-08 12:27:53 +00:00
Darkvater
3c2cb4871e
(svn r8507) -Codechange/Feature: Don't remove player-owned property on-load in the scenario editor. Add a button to the landscape window to do this.
2007-02-01 12:51:10 +00:00
maedhros
d8edc2bb98
(svn r8501) -Fix (r7377) [FS#539]: Keep track of how much cargo has been paid for, so that cargo cannot be paid for more than once.
2007-01-31 22:33:24 +00:00
tron
ce12ae7420
(svn r8498) -Fix
...
-Codechange: Move the update of the oil rig airport type to the recently (r8485) added loop
2007-01-31 21:38:09 +00:00
Darkvater
c5c0a54a50
(svn r8497) -Codechange: Increase the size of the sound/video/music-drivers 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 20:20:36 +00:00
tron
63a5b0e8be
(svn r8485) -Fix
...
-Fix (since the dawn of time): Remove phantom oil rigs sometimes present in old savegames
2007-01-31 10:50:12 +00:00
tron
d1b861a3dc
(svn r8478) -Fix
...
Change the structure of the the loop in r8477 to prepare for further changes
2007-01-31 09:49:02 +00:00
tron
fe1691acce
(svn r8477) -Fix
...
-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-31 06:25:46 +00:00
tron
ccfddeca9c
(svn r8422) -Fix
...
-Regression (r8314): Reevaluate the disabled elrail setting after loading because the railtype doesn't get saved anymore
2007-01-26 20:22:34 +00:00
tron
0996de79df
(svn r8385) -Fix
...
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
2007-01-24 07:14:09 +00:00
Darkvater
95ccdeeac0
(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo)
2007-01-18 14:08:56 +00:00
tron
a973e45719
(svn r8184) if cascade -> switch
2007-01-17 06:54:03 +00:00
tron
2742b5fe25
(svn r8183) When iterating over the map in AfterLoadGame() do it the same way for all loops
2007-01-17 06:33:23 +00:00
bjarni
ccbe68d5bc
(svn r8155) -Fix: fixed compilation when --disable-network is in use
2007-01-16 15:20:22 +00:00
celestar
05b783e551
(svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get 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-15 14:42:24 +00:00
rubidium
48611e1e20
(svn r8137) -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong 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 23:09:25 +00:00
Darkvater
54b88bc8e6
(svn r8119) -Fix (r8101): Uninitializing windows should be called before 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-14 17:17:30 +00:00
glx
f833de284f
(svn r8111) -Fix r8106: silence warnings
2007-01-13 21:28:46 +00:00
Darkvater
66c5cde981
(svn r8106) -Feature/Fix: Add the ability to load savegames when you don't 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 17:42:50 +00:00
KUDr
0edc029f9f
(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h to gfx.h
2007-01-13 14:43:46 +00:00
rubidium
c48aa5db45
(svn r8078) -Codechange: rewrite UDP part of the network code to make use classes. This is only one of the many steps to really cleanup the network code.
2007-01-12 14:30:01 +00:00
KUDr
33be1ecfb1
(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-11 17:29:39 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00