Darkvater
d849b8f66b
(svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList
2006-12-20 20:43:52 +00:00
peter1138
08a494f184
(svn r7490) -Feature: Load a list of NewGRFs from the config (in the [newgrf-static] section) that should always be loaded. These will also be active during the intro screen, and in multiplayer games. Only "network-safe" NewGRFs are permitted, such as fonts and sprite replacement sets.
2006-12-12 19:38:41 +00:00
peter1138
bf3b850c53
(svn r7465) -Codechange: Save the default GRF configuration.
2006-12-10 11:32:54 +00:00
peter1138
4ac40e64c1
(svn r7463) -Codechange: Don't load invalid NewGRF files from the configuration file; instead show a warning.
2006-12-10 10:12:54 +00:00
peter1138
3b6d2ed064
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
2006-12-04 08:30:04 +00:00
peter1138
acac44820b
(svn r7326) -Feature: Add support for gradual (un)loading of vehicles (Maedhros)
2006-12-02 16:56:32 +00:00
KUDr
9d12bcb3f2
(svn r7296) -Fix: [YAPF] setting yapf.rail_look_ahead_max_signals to zero causes YAPF to behave incorrectly. Set its min value to 1. (Danny)
2006-11-30 13:52:31 +00:00
peter1138
180019aa40
(svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before.
2006-11-27 23:11:56 +00:00
Darkvater
2c04efff28
(svn r7232) -Codechange: Also allow for the save/load of non pre-allocated strings inside structs.
2006-11-21 20:23:57 +00:00
Darkvater
fc5ad19258
(svn r7231) -Codechange: rename ini_get_variable to GetVariableAddress for use both in settings.c
...
and saveload.c
2006-11-21 20:20:30 +00:00
KUDr
ff7e46f378
(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, ..)
2006-11-17 19:31:44 +00:00
KUDr
af8ecdd8f3
(svn r7190) -Fix: If the non-player-based _patches setting was changed on the server during MP game, the callback function was:
...
1. Called only on the server but not on its clients.
2. Was called before the setting change occurred (usually with no effect)
3. Received old 'p1' argument value intead of new one
It could cause some MP desyncs in the future.
2006-11-17 10:42:20 +00:00
peter1138
f660d48e6a
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
2006-11-16 22:05:33 +00:00
Darkvater
1b0e95539f
(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.
2006-11-16 20:57:23 +00:00
Darkvater
da2d221337
(svn r7173) -Codechange (r6824): Allow the user to change the chat-destination when chatting with <ENTER> or 'T' instead of the game choosing one for you automatically.
2006-11-16 17:44:04 +00:00
Darkvater
d5c8a54666
(svn r7160) -Feature [SF 1243657, 1171147]: Slovak/Brazil currency patch (gpsoft, klanticus)
2006-11-15 21:51:16 +00:00
Darkvater
c5723ab9af
(svn r7124) -Fix (r37xx): sizeof(bool) = 4 for (certain) OSX do not assume it is 1. This would break
...
the saving of certain values to the config. Thanks PandaMojo ford ebugging.
2006-11-10 11:45:50 +00:00
peter1138
37294114c3
(svn r7102) -Codechange: Remove and hardcode unnecessary patch setting progress_update_interval
2006-11-07 16:07:31 +00:00
peter1138
d01335bac1
(svn r6972) - Codechange: Allow standard ini-file style comments
2006-10-28 08:48:31 +00:00
KUDr
13f8fa8ba9
(svn r6800) -Feature change: [train is lost] message is now generated immediately when pathfinder can't find the path. (thanks MeusH, peter1138 and Brianetta for ideas and help).
2006-10-17 16:16:19 +00:00
Darkvater
f2fd789cc6
(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).
2006-10-12 15:13:40 +00:00
peter1138
b32397946d
(svn r6628) - Feature: Add the ability to pause a server if not enough players are connected. The setting for this is 'min_players' and can be set in the config and via the console. If the number of players drops below this number, the server will pause the game.
2006-10-03 16:15:34 +00:00
peter1138
2df539e30d
(svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.
2006-09-28 07:02:55 +00:00
peter1138
c474ba5fd1
(svn r6474) - Add a patch option to control display of liveries, allowing none, your
...
own, or all companies.
2006-09-17 20:52:54 +00:00
belugas
326e74055e
(svn r6453) -Feature: FS#305 Turkish currency (jnmbk)
2006-09-15 02:33:40 +00:00
Darkvater
c34691d2b0
(svn r6450) -Feature: Make the 'patch' console command available for offline use and for
...
online use for player-based settings.
2006-09-14 23:26:58 +00:00
KUDr
6a245eb11d
(svn r6440) -Fix: [YAPF] some YAPF settings were not saved (i misunderstood how save flags work). This probably caused some MP desyncs. Thanks Maedhros for noticing and peter1138 for this patch.
2006-09-11 17:28:27 +00:00
rubidium
21ac20aeca
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
...
-Cleanup: whitespace alignment of a few tables.
2006-09-04 20:40:33 +00:00
rubidium
98a760b282
(svn r6296) -Fix (r6186): some more (YAPF) settings were affected by accident. Thanks to mart3p for noticing (and to SVN for failing to mark the changes as conflicts).
2006-09-01 13:18:53 +00:00
rubidium
935b9bd7ad
(svn r6281) -Fix (r6186): three settings were accidently removed. Thanks go to Osai for reporting and providing the patch.
2006-08-31 16:29:47 +00:00
rubidium
86dc219b4b
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
2006-08-28 18:53:03 +00:00
rubidium
6bf2aba697
(svn r6186) -Fix [FS#309]: add an override system to the dynamically determined size of steps for numeric patch settings in the 'Configure patches' GUI.
...
The size of these steps normally about (max - min) / 50, which results in steps of 100 000 years for the start year, end year, network restart year and the year of introduction of coloured newspapers.
2006-08-28 09:13:33 +00:00
KUDr
df2997eec5
(svn r6174) -Cleanup: [YAPF] some SDT_CONDVARs replaced by SDT_VARs since they are not saved in savegame (Darkvater)
2006-08-27 14:28:23 +00:00
Darkvater
4a25ee9377
(svn r6170) -Feature: save max_companies/clients/spectators in the config file.
2006-08-27 10:49:43 +00:00
KUDr
6f9276ed57
(svn r6164) -Fix [YAPF]: Road vehicles preferring bends - added yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p)
2006-08-27 07:23:46 +00:00
truelight
505566da5c
(svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
...
-Codechange: use IsValidXXX where ever possible
Note: both changes to prepare for new pool system, which needs those changes.
For every pool there are 2 ugly lines, which will be removed when done
implementing new pool system.
Based on FS#13 by blathijs, partly implemented.
2006-08-22 15:33:35 +00:00
rubidium
908d3bcfe6
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
2006-08-22 14:38:37 +00:00
rubidium
6fb092aa7a
(svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
...
The game date subsystem now allows someone to start in the year 0 and continue
up to the year 5 000 000. However, you currently cannot build anything before
1920 as there is no newgrf support for dates before 1920 or after 2090 yet.
2006-08-20 18:40:57 +00:00
bjarni
5787ae7ed9
(svn r5965) -Feature: FS#261 Catalan Town Names generator (arnau)
2006-08-20 09:52:15 +00:00
bjarni
3a93c4290b
(svn r5964) -Feature: FS#131 Slovenian currency (MeusH)
2006-08-20 09:26:58 +00:00
truelight
7abad2b20e
(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
2006-08-19 10:00:30 +00:00
rubidium
e87e065e41
(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
2006-08-16 11:39:55 +00:00
rubidium
c55962f8a2
(svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
...
-Cleanup: replace some magic '1920' values with BASE_YEAR.
2006-08-15 15:18:03 +00:00
rubidium
dc54e608e3
(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
2006-08-15 14:52:17 +00:00
Darkvater
397a0a32be
(svn r5908) - Codechange (r5903): Move the retrieval of the new value of a patch to console_cmds.c, so there is no need for that function in settings.c
2006-08-15 07:37:01 +00:00
Darkvater
2f4bd399fe
(svn r5903) -Fix [FS#170]: Changing patch settings through the console didn't accept on/off or true/false.
2006-08-15 00:26:24 +00:00
rubidium
9fc837ad85
(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
2006-08-14 14:21:15 +00:00
Darkvater
04e6f2fe89
(svn r5874) -Feature [FS#234]: Remember the maximized state and restore on start. This also fixes a bug where a different resolution is chosen for a maximized window, but it retains the maximized flag. Only win32.
2006-08-13 10:22:34 +00:00
Darkvater
bc5de7808a
(svn r5871) -Feature: Add a possibility to handle pointer strings without a buffer from the configuration file. Handy for variables that will never be changed during runtime
2006-08-12 22:56:45 +00:00
belugas
ea8e05320c
(svn r5504) Feature : Added Italian town name generator. (sidew)
2006-07-16 00:32:00 +00:00