|
Darkvater
|
r5142:6842a881353e
|
18 years ago
|
|
|
|
Darkvater
|
r5141:e61bae029532
|
18 years ago
|
|
(svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for use both in settings.c and saveload.c
|
|
Darkvater
|
r5140:ab9de233a12a
|
18 years ago
|
|
(svn r7228) -Codechange: [internal] Add the possibility to save/load string-pointers which do not have a pre-allocated buffer.
|
|
rubidium
|
r4548:6a33e364fba5
|
18 years ago
|
|
(svn r6380) -Codechange: unify all ways to quit OTTD. This means that in the intro menu the 'Quit' button immediatelly quits and the 'Quit' in the menu of the normal game and scenario editor immediatelly quits when the 'autosave_on_exit' patch is turned on. This is the same way as the OS/window manager initiated quits, like alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD.
|
|
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
|
|
Darkvater
|
r4257:4a6f150c8b1f
|
18 years ago
|
|
|
|
Darkvater
|
r4255:8505c5deef37
|
18 years ago
|
|
|
|
Darkvater
|
r3625:107076d71f61
|
18 years ago
|
|
|
|
Darkvater
|
r3240:ab5130d04511
|
19 years ago
|
|
|
|
Darkvater
|
r3222:303ed792a936
|
19 years ago
|
|
(svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used - Also add this capability to settings
|
|
Darkvater
|
r3117:680d682e2556
|
19 years ago
|
|
(svn r3721) - [3/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. From part 3 on, OpenTTD is once again compilable. - Code has been added to the saveload code to honour the SLF_SAVE_NO and SLF_NETWORK_NO flags. SLF_NETWORK_NO just reads in the the bytestream and then discards it because that setting is not synchronised. For this the function SlSkipBytes() has been reinstated - SAVEGAME_VERSION has been changed from a constant ENUM to a constant integer. This was done for the configuration-code to be able to tell which version of a CONDVAR type to handle. As said before, because settings can be saved to the savegame, they will become conditional at some point. The configuration code always has to read the 'most recent' version. - GameOptions are saved through the new structure. It is fully compatible with any old savegame...however it is better. Because of the move to this new format we can instruct the loader to skip certain variables. Autosave for example isn't synchronised anymore (in the network). The same goes for currency and kilometers :D. That is the only functionality change this patch is supposed to have if I have written it correctly. - NOTE! Patches are still not saved so for Multiplayer to work network_client.c and network_server.c needed slight modifications.
|
|
Darkvater
|
r3115:f1eba3dacb95
|
19 years ago
|
|
(svn r3719) - [1/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. This first part rewrites the configuration section to use the SaveLoad VarType in general. - This unified structure consists of a SaveLoad type which stores all data relevant about the variable internals such as type, mem/filesize, address, version-control. The SettingDesc type is concerned more about the representation. Things like default value, string-name, minimum/maximum values, gui-behaviour etc. - The SaveLoad type has received a few flags controlling saving/loading. These are: SLF_SAVE_NO: the setting is not saved with the savegame, effectively making this setting player-based. Eg. it will NOT be overwritten when joining a network-game SLF_CONFIG_NO: the setting is not saved to the configuration file so you cannot overwrite it ingame. SLF_NETWORK_NO: the setting is not synchronised with the local settings when the game is loaded during network-play. Note that when SLF_SAVE_NO is set, SLF_NETWORK_NO is also set (which is logical), at least if the proper macros are used (in [2/4]). - NOTE! The game is not compilable after this commit.
|
|
Darkvater
|
r3114:822c88e2fee8
|
19 years ago
|
|
|
|
Darkvater
|
r3108:efd51011953f
|
19 years ago
|
|
|
|
Darkvater
|
r3073:576e1ffd8bc1
|
19 years ago
|
|
|
|
bjarni
|
r3072:4809b1bd1392
|
19 years ago
|
|
(svn r3661) -Fix [PPC computers] quick dirty fix for failure to start the game on BE CPUs 3626 broke the game on Big endian CPUs and this is a quick dirty fix so the nightly builds for OSX and MorphOS will work again the game will still fail on 64 bit BE CPUs note: the game runs in 32 bit mode on G5, so it will work on G5 we need to make a better fix for this, but we also need the nightly builds to work
|
|
Darkvater
|
r3050:4d3a08b44022
|
19 years ago
|
|
|
|
Darkvater
|
r3048:989575a76150
|
19 years ago
|
|
|
|
Darkvater
|
r3046:6457665c9b5a
|
19 years ago
|
|
|
|
Darkvater
|
r3045:394c59acd958
|
19 years ago
|
|
|
|
Darkvater
|
r3044:7d3148f2048f
|
19 years ago
|
|
(svn r3624) - CodeChange: Some cosmetic changes in the saveload code; - hide and validate variable-size calculation (SlCalcConvMemLen/SlCalcConvFileLen) - some signed/unsigned fixes - handle conditional variables the same way for global -and struct types, through checking version_from and version_to
|
|
peter1138
|
r2848:ae67043fa1f1
|
19 years ago
|
|
(svn r3396) - Autoreplace changes: - Change fixed array per player to a single pool. This avoids future problems with vehicle numbers and decreases savegame size. Engine replacements from previous savegames will be lost. - Move engine replacement code from players.c to engine.c. (thanks to blathijs for rewriting this)
|
|
truelight
|
r2685:a6ff7cfc7f7f
|
19 years ago
|
|
|
|
Darkvater
|
r2380:9736146c8fbf
|
19 years ago
|
|
|
|
tron
|
r2337:ed8afa0e33bb
|
19 years ago
|
|
|
|
tron
|
r2335:22a4692ec9de
|
19 years ago
|
|
|
|
tron
|
r2295:c68f860335d6
|
19 years ago
|
|
|
|
tron
|
r2285:47dd485c1ae4
|
19 years ago
|
|
|
|
tron
|
r2186:5ee653b1b5e1
|
19 years ago
|
|
|
|
tron
|
r2162:7c64e21f12f9
|
19 years ago
|
|
|
|
orudge
|
r1887:2a0dedf65fb2
|
19 years ago
|
|
(svn r2393) - Implemented threaded saving for OS/2 - Fixed discrepancy with SlArray declaration
|
|
Darkvater
|
r1881:ce1fe6a2816a
|
19 years ago
|
|
(svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big. - Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types.
|
|
celestar
|
r1217:1f9b7fc00eb8
|
20 years ago
|
|
(svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on a single station. Thanks to: Truelight for the saveload code, Darkvater and Hackykid for network testing and Tron for proof-reading 1500 lines of diff.
|
|
tron
|
r1093:18f56ef2d029
|
20 years ago
|
|
|
|
truelight
|
r1024:c7c4672d839e
|
20 years ago
|
|
(svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic. -Codechange: renamed all 'schedule' stuff to 'order(list)' -Codechange: moved all order-stuff to order_cmd.c / order.h -Codechange: vehicles that share orders are now linked to eachother with next_shared/prev_shared in Vehicle
Developers: please use AssignOrder to assign data to an order. If not, you _WILL_ make the save-routine to assert!
|
|
truelight
|
r956:9c9bd017ee7e
|
20 years ago
|
|
(svn r1448) -Fix: The current_order of a vehicle is now correctly saved (caused massive desyncs) Warning: savegames which are made with the nightly of 08-01-2005 will NO LONGER work!!
|
|
truelight
|
r938:19954e496620
|
20 years ago
|
|
(svn r1426) -Codechange: cleaned up the reference code in the saveload routines -Codechange: removed next_in_chain_old, and saved ->next for Vehicles (and bumped savegame revision for that to version 4.4) -Codechange: Added _sl.full_version, which has both major and minor version
|
|
truelight
|
r817:5620a6b29ae5
|
20 years ago
|
|
(svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as an uint8 till the savegame version is bumped to version 5. Then it works automaticly as a fully uint16. So _stations[] can not be increased till after the bump!!
|
|
darkvater
|
r557:46caf3fb3bf7
|
20 years ago
|
|
(svn r959) -Fix: fix previous typo for workaround of braindead MSVC6 (Tron) -Fix: added debug code to autosave cause it is buggy in multiplayer (does not remember settings; takes them from _opt instead of _new_opt (or vice versa)).
|
|
darkvater
|
r556:6d4e803d1a75
|
20 years ago
|
|
|
|
truelight
|
r0:d63b455452f6
|
20 years ago
|
|
|