|
celestar
|
r5385:1c8ef6521bf2
|
18 years ago
|
|
|
|
Darkvater
|
r5296:9e88faa6d573
|
18 years ago
|
|
(svn r7449) -Codechange: Rename _path to _paths as it is technically more correct, but mainly because it interferes with OS/2 symbol in libc (psmedley)
|
|
peter1138
|
r5211:4adf6d7ce809
|
18 years ago
|
|
|
|
peter1138
|
r5163:a7c06b0ec769
|
18 years ago
|
|
|
|
peter1138
|
r5144:9ca1b9d1b183
|
18 years ago
|
|
|
|
KUDr
|
r5116:6ab72109f482
|
18 years ago
|
|
(svn r7195) -Feature: [FS #297, optional elrails] New patches/vehicles option 'disable electrified railways'. (original patch by maedhros, ideas: peter1138, Darkvater, Rubidium, Patrick, Eddi|zuHause, ..)
|
|
peter1138
|
r5108:28640689af54
|
18 years ago
|
|
|
|
Darkvater
|
r5107:de0416bd4fcf
|
18 years ago
|
|
(svn r7179) -Codechange (r7173): Actually "prefer" team chat through the patch setting instead of always sending to teammate if the patch is on even if you do not have any allies. So with setting off you always send to 'all players', with setting on you send to teammates if you have any, otherwise to all players.
|
|
Darkvater
|
r5102:e4e40b269b3f
|
18 years ago
|
|
|
|
Darkvater
|
r5086:b3c6dfb3476b
|
18 years ago
|
|
(svn r7153) -Fix [FS #279]: Some keyboard events possibly lost under high CPU load, handle keyboard input in place instead of global variables magic. (KUDr)
|
|
peter1138
|
r5052:aba39602e532
|
18 years ago
|
|
|
|
peter1138
|
r5016:1640749a31a9
|
18 years ago
|
|
|
|
KUDr
|
r4870:bd55248b4b8e
|
18 years ago
|
|
|
|
Darkvater
|
r4834:d9187a2081d2
|
18 years ago
|
|
(svn r6758) -Feature: Add a measurement tool that will show dimensions and height differences of various draggable tools (inspiration, concept and double checking by MeusH).
|
|
peter1138
|
r4616:6c3e63bd2e31
|
18 years ago
|
|
(svn r6474) - Add a patch option to control display of liveries, allowing none, your own, or all companies.
|
|
rubidium
|
r4549:76b9213799ac
|
18 years ago
|
|
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform. -Cleanup: whitespace alignment of a few tables.
|
|
Darkvater
|
r4387:df35bc5fa7a5
|
18 years ago
|
|
|
|
rubidium
|
r4344:bff007ae1fd1
|
18 years ago
|
|
|
|
truelight
|
r4300:642b2431578b
|
18 years ago
|
|
(svn r5946) -Add: merged the TGP branch to mainline. TGP adds: - New optional landscape generator (TerraGenesis Perlin) - Load heightmaps (either BMP or PNG) - Progress dialog while generating worlds (no longer a 'hanging' screen) - New dialogs for NewGame, Create Scenario and Play Heightmap - Easier to configure your landscape - More things to configure (tree-placer, ..) - Speedup of world generation - New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made after or with this commit) - New console command 'getseed': get the seed of your map and share it with others (of course only works with generated maps) - Many new, world generation related, things - Many internal cleanups and rewrites Many tnx to those people who helped making this: Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic) Many tnx to those who helped testing: Arnau, Bjarni, and tokai (alfabetic) And to all other people who helped testing and sending comments / bugs Stats: 673 lines changed, 3534 new lines, 79 new strings
|
|
rubidium
|
r4293:cbb984a32af5
|
18 years ago
|
|
(svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920 -Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
|
|
rubidium
|
r4285:8d597bba823e
|
18 years ago
|
|
|
|
rubidium
|
r4261:8c2d0c75e37a
|
18 years ago
|
|
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments
|
|
tron
|
r4253:3a466f02bf1e
|
18 years ago
|
|
|
|
bjarni
|
r4237:279398784357
|
18 years ago
|
|
(svn r5805) -Fix: FS #189 Boolean cheats do not work This turned out to be an endian issue affecting all big endian computers (Vernon aka ploppy)
|
|
belugas
|
r4184:a139e10be323
|
18 years ago
|
|
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism Simplification of the handling of the main_gui menus, Removal of repetitions and Hiding the internals of screenshots. Thanks to glx, Rubidium and Truelight for pointers
|
|
tron
|
r4077:259c4c4aacad
|
18 years ago
|
|
|
|
tron
|
r3977:63d936e7e5a8
|
18 years ago
|
|
|
|
celestar
|
r3933:400e9c30928e
|
18 years ago
|
|
(svn r5070) Merged the bridge branch -Feature: Bridges can now be placed above: Any railway track combination (excluding depots and waypoints) Any road combination (excluding depots) Clear tiles (duh), including fields Tunnel entrances Bridge heads
Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing
There are still a number of visual problems remaining, especially when electric railways are on or under the bridge. DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.
|
|
KUDr
|
r3900:1c2675abec23
|
18 years ago
|
|
|
|
celestar
|
r3890:33136ffa4de2
|
18 years ago
|
|
|
|
tron
|
r3876:7e1a3ac6cbb4
|
18 years ago
|
|
|
|
celestar
|
r3674:56cf5da2c144
|
18 years ago
|
|
(svn r4591) -Fix (FS #122) Game no longer errors out when "Many random towns" is selected in the scenario editor. -Side effects: - Removed one global variable from variables.h - Remove an ugly hack for the "many random towns" function
|
|
celestar
|
r3359:6cb415a9356a
|
18 years ago
|
|
|
|
celestar
|
r3358:601ef8001960
|
18 years ago
|
|
|
|
celestar
|
r3355:881cb92af87e
|
18 years ago
|
|
|
|
peter1138
|
r3342:fff75d217dbe
|
18 years ago
|
|
(svn r4126) - Feature: A new multi-lingual multi-measuring-unit system: - Replace miles/kilometres game option with a general measuring units option. - Add {POWER}, {WEIGHT}, {WEIGHT_S} and {VOLUME_S} (_S for short) tags to the language/string system. - Add SI as option for measuring units. Language file updates to use the system will come soon.
|
|
tron
|
r3182:bc5e088bccfb
|
18 years ago
|
|
|
|
bjarni
|
r3126:571e90252f7a
|
18 years ago
|
|
|
|
Darkvater
|
r3051:b3415e5305f9
|
18 years ago
|
|
|
|
peter1138
|
r3008:545425696ea0
|
18 years ago
|
|
|
|
Darkvater
|
r2969:dae643a60ce0
|
19 years ago
|
|
|
|
Darkvater
|
r2916:04b29c805eb5
|
19 years ago
|
|
(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron) - The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
|
|
truelight
|
r2682:86af293a8bfc
|
19 years ago
|
|
(svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch settings, off by defaut). An other step to AIScripts. WARNING: this is still highly experimental and has known bugs!
|
|
tron
|
r2680:1d715d8816c6
|
19 years ago
|
|
|
|
bjarni
|
r2672:0f51e63b0069
|
19 years ago
|
|
(svn r3214) -Feature: openttd.cfg can now set how many autosaves to keep before starting to overwrite old ones max_autosave_num in the config files sets the number of autosaves to keep (default 16) MAX_NUM_AUTOSAVES in Makefile.config sets the default value. 16 is used if no value is given this behaviour can still be overwritten by keep_all_autosave (openttd.config setting) Note: this is a requested behaviour for PDA ports, since they got limited storage space
|
|
peter1138
|
r2619:14b1b02e2787
|
19 years ago
|
|
|
|
peter1138
|
r2456:aad40f8d9c89
|
19 years ago
|
|
|
|
Darkvater
|
r2425:5e48f18c7157
|
19 years ago
|
|
(svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone - Add IsLocalPlayer() which substitutes _local_player == _current_player
|
|
truelight
|
r2422:a6364887ab45
|
19 years ago
|
|
(svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special abilities you really don't want to know about (free bridges, etc..) I removed this flag some revisions ago, but the Aircraft part depends on it, so I re-enabled it again..
|
|
tron
|
r2304:740be9a262e4
|
19 years ago
|
|
|
|
tron
|
r2297:5e29f0c4f83a
|
19 years ago
|
|
|
|
tron
|
r2294:b2dcdc89de2a
|
19 years ago
|
|
|
|
bjarni
|
r2293:b55e49a164c0
|
19 years ago
|
|
(svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside -This means that one company can only have one setting for renew and replacing more clients will not fight due to different settings anymore -This is a needed step in the line to fix autoreplacing dualheaded locomotives NOTE: savegame revision bump (peter1138 + me in coop)
|
|
tron
|
r2291:d8cfcbdcaa29
|
19 years ago
|
|
|
|
tron
|
r2288:ef3b6c92d304
|
19 years ago
|
|
|
|
tron
|
r2201:660b847c7f07
|
19 years ago
|
|
|
|
tron
|
r2186:5ee653b1b5e1
|
19 years ago
|
|
|
|
tron
|
r2154:83cf5a3d6634
|
19 years ago
|
|
|
|
tron
|
r2153:b45e3461c6c4
|
19 years ago
|
|
|
|
ludde
|
r2125:87ebf6378cb6
|
19 years ago
|
|
(svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra. - Benchmark shows that NTP is now around 10x faster than NPF. - Made IsTunnelTile macro to determine if a tile is a tunnel. - Added some useful debugging functions for making tiles red / getting accurate timestamps. - Remove old depot finding algorithm. - Disable warning for signed/unsigned comparisons.
|
|
tron
|
r2123:d9c5094dcb09
|
19 years ago
|
|
|
|
tron
|
r2121:96bd03691149
|
19 years ago
|
|
|
|
ludde
|
r2112:745bfcce3850
|
19 years ago
|
|
|
|
Darkvater
|
r2099:407fc573ce75
|
19 years ago
|
|
|
|
ludde
|
r2090:5edbac8240a5
|
19 years ago
|
|
|
|
ludde
|
r2084:845406eb98cd
|
19 years ago
|
|
(svn r2594) Fix: [strgen] Misc updates to the string system. - Renamed the plural command to "P" instead of "PLURAL". Now write something like this to append an s on plural: {P "" s}. (You can optionally still add an argument index to explicitly specifiy which number that's used) - Removed the pluralized cargo strings from the string files. The new method is to use the plural specifier {P} - Added support for genders. First add "##gender der das die" on top, then use {G=der} on a cargoname/industry to set the gender, and to switch between genders do something like {G neu neu neue} {STRING} - Updated the swedish/english translation with P strings.
|
|
ludde
|
r2078:0300868e49d0
|
19 years ago
|
|
|
|
ludde
|
r2073:6be1dac46f17
|
19 years ago
|
|
(svn r2583) Move OS specific code out of misc.c Added support for Mersenne Twister random number generator (not implemented in network yet) Wrap player randoms around #ifdef
|
|
ludde
|
r2055:3f0149453249
|
19 years ago
|
|
(svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state". Added a way to bind a C-string to an openttd string which doesn't modify the game state.
|
|
ludde
|
r2044:17a81bf31939
|
19 years ago
|
|
(svn r2553) - Fix: [pathfinding] Remove old-old train pathfinder. Enhanced old pathfinder. - Penalties for red signals and for slopes. - Increased the search depth to work better with large train networks.
|
|
hackykid
|
r2008:5e435ad4c8e4
|
19 years ago
|
|
(svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal. - Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings. - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1.
|
|
matthijs
|
r2006:bc0d47d1f3f0
|
19 years ago
|
|
(svn r2514) - Codechange: [NPF] Move the checking of railtype into a funciton IsCompatibleRail(). - Codechange: [NPF] Check the railtype along a route against the engine type instead of against the previouse tile. This clears the way for electriefied rails. - Add: [NPF] [ 1209644 ] A penalty for crossings (peter1138)
|
|
tron
|
r1977:1f8b99c96041
|
19 years ago
|
|
|
|
tron
|
r1958:2c1ca22f82aa
|
19 years ago
|
|
|
|
matthijs
|
r1941:5f5008bdaa63
|
19 years ago
|
|
|
|
Darkvater
|
r1787:c45b025e07e3
|
19 years ago
|
|
|
|
matthijs
|
r1777:6d7bf202b4ef
|
19 years ago
|
|
(svn r2281) - Fix: [ 1115204 ] [NPF] When pressing the goto depot button, trains will now also look behind it if there is no depot in front. If so, the train reverses immediately. This also work anywhere, not just at stations. - Add: [NPF] Reversing inside of depots now has a penalty. It also applies to trains only, other vehicles shouldn't bother reversing. - Fix: [NPF] When checking whether to reverse a train, the trackdir of the first loc was used instead of the last vehicle as a starting node for pathfindig. This might have caused some trains not reversing when they should have (or vice versa). Typo introduced when converting to GetVehicleTrackdir() in r2256. - CodeChange: [NPF] Removed duplicate code by letting NPFRouteTjoStationOrTile() call NPFRouteToStationOrTileTwoWay(). - Add: [NPF] NPFRouteToDepotBreadthFirstTwoWay() to find a depot while also looking backwards. - Add: It is now possibly to specify a path cost for aystar starting nodes.
|
|
Darkvater
|
r1770:37dc08d96840
|
19 years ago
|
|
|
|
matthijs
|
r1751:242d46045f3b
|
19 years ago
|
|
(svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships Buoys will now try to get within 3 tiles of a buoy instead of a the actual buoy tile. This gets ships to got past buoys in a realistic (IMO) way instead of barging right through them. - Fix: [NPF] Trains get curves penalties sometimes even when the track is straight. - Add: [NPF] Ships get a penalty for going over buoys now, so they will try to go around. - Add: [NPF] Ships get a penalty for curves too, yay for straight lines. - Add: TrackdirToTrack(), TrackToTrackdir(), IsDiagonalTrack() and IsDiagonalTrackdir() helper functions. - Add: IsBuoy() and IsBuoyTile() helper functions. - Codechange: Rearranged part of the control flow of ShipController(), removing a goto.
|
|
matthijs
|
r1700:dc59dfec1cb8
|
19 years ago
|
|
|
|
Darkvater
|
r1688:04d84999dd62
|
19 years ago
|
|
(svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930]. - I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type. - Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
|
|
matthijs
|
r1643:7db102528a2c
|
19 years ago
|
|
|
|
pasky
|
r1529:5d9715eeca2c
|
19 years ago
|
|
|
|
pasky
|
r1517:9f1e3f93cf58
|
19 years ago
|
|
|
|
Darkvater
|
r1500:e5979abe9361
|
19 years ago
|
|
(svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings - Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself.
|
|
matthijs
|
r1460:c58279a407af
|
19 years ago
|
|
|
|
matthijs
|
r1459:5ad84cecccbb
|
19 years ago
|
|
(svn r1963) - Add: [NPF] Penalty for a red signal that is the last signal on the path. - Add: [NPF] NPFGetFlag() and NPFSetFlag() to wrap NPF node flag handling
|
|
tron
|
r1417:e8dd7a934859
|
19 years ago
|
|
|
|
tron
|
r1406:dea1cf76323c
|
19 years ago
|
|
|
|
tron
|
r1346:9cc98dfe215a
|
19 years ago
|
|
|
|
tron
|
r1329:88de95f6e7d3
|
19 years ago
|
|
|
|
tron
|
r1323:29249e0649f7
|
19 years ago
|
|
|
|
tron
|
r1309:4100b4013e37
|
19 years ago
|
|
|
|
tron
|
r1306:a1d9c81639d7
|
19 years ago
|
|
|
|
tron
|
r1299:07d5483b3f76
|
20 years ago
|
|
|
|
celestar
|
r1295:3a780f54853b
|
20 years ago
|
|
(svn r1799) -Codechange: [ Multistop ] Added debug class "ms" and more debugging output for multistops
|
|
truelight
|
r1282:086fc2f1272e
|
20 years ago
|
|
(svn r1786) -Fix: unitnumber is increased to 16bit, so now you can have up to 5000 trains in one game (instead of the 240 which was the current value). Default max allowed vehicles per type is changed: Trains: 500 (old 80) Road: 500 (old 80) Ships: 200 (old 40) Aicraft: 300 (old 50) (Tnx to Celestar and Darkvater for checking the patch)
|
|
matthijs
|
r1247:d01094dbcdcc
|
20 years ago
|
|
(svn r1751) - Feature: New PathFinder (NPF). - Supports trains, road vehicles and ships. - Uses A* pathfinding (same codebase as the new ai). - Currently unlimited search depth, so might perform badly on large maps/networks (especially ships). - Will always find a route if there is one. - Allows custom penalties for obstacles to be set in openttd.cfg (npf_ values). - With NPF enabled, ships can have orders that are very far apart. Be careful, this will break (ships get lost) when the old pathfinder is used again. - Feature: Disabling 90 degree turns for trains and ships. - Requires NPF to be enabled. - Ships and trains can no longer make weird 90 degree turns on tile borders. - Codechange: Removed table/directions.h. - table/directions.h contained ugly static tables but was included more than once. The tables, along with a few new ones are in npf.[ch] now. Better suggestions for a location? - Fix: Binary heap in queue.c did not allocate enough space, resulting in a segfault. - Codechange: Rewritten FindFirstBit2x64, added KillFirstBit2x64. - Codechange: Introduced constant INVALID_TILE, to replace the usage of 0 as an invalid tile. Also replaces TILE_WRAPPED. - Codechange: Moved TileAddWrap() to map.[ch] - Add TileIndexDiffCByDir(), TileIndexDiffCByDir(). - Codechange: Moved IsTrainStationTile() to station.h - Add: IsRoadStationTile() and GetRoadStationDir().
|
|
tron
|
r1233:23f22f1ce9d5
|
20 years ago
|
|
|
|
tron
|
r1218:b56319aa5250
|
20 years ago
|
|
|