Commit Graph

2517 Commits

Author SHA1 Message Date
rubidium
974bcd9683 (svn r8028) -Fix: overflow of ticks was not handled properly, possibly resulting a non-reacting gameserver/gameclient. 2007-01-10 15:00:20 +00:00
celestar
241ebb5890 (svn r8027) -Fix (FS#486) If a pause command is issues, it will now pause the game even if shift is pressed instead of giving a cost estimate of 0. This fixes a problem where the server does not pause_on_join when the player on the interactive server has the shift button pressed. (Thanks to pvz for the report and the fix) 2007-01-10 14:52:10 +00:00
celestar
077448ead7 (svn r8026) -Fix (r2441) When taking up cargo that is transferring, trains will now also have the virtual profit deducted. 2007-01-10 14:22:49 +00:00
maedhros
cfcf0c2451 (svn r8014) -Codechange (r7573): When a tile is cleared, empty the general purpose bits in
extra as well, unless they are (or could be) used for bridges. This means these
bits don't have to be cleared seperately when non-bridgeable tiles are removed.
2007-01-09 21:43:32 +00:00
Darkvater
c5867c93f7 (svn r8013) -Codechange (r6921, rUnknown): Show the error message of corrupt or missing (own) files
through a ShowInfo(F). This way windows users also see this message and bugs such as
 FS#528 will not happen anymore. Put ShowInfo(F) error output to stderr and not stdout.
2007-01-09 21:25:13 +00:00
miham
44e9bc600c (svn r8012) WebTranslator2 update to 2007-01-09 20:43:03
bulgarian  - 3 fixed, 68 changed by groupsky (71)
danish     - 45 changed by ThomasA (4), MiR (41)
finnish    - 2 fixed by pallokala (2)
frisian    - 2 changed by talzaroff (2)
greek      - 40 fixed, 1 changed by Kesnar (41)
italian    - 2 changed by sidew (2)
swedish    - 2 fixed, 1 deleted, 55 changed by ChrillDeVille (58)
2007-01-09 19:43:46 +00:00
peter1138
f74531ee60 (svn r8007) -Codechange: Change _vehicle_position_hash from VehicleID to Vehicle*. This removes the need for look ups by index. Also declare the array static. 2007-01-09 16:27:25 +00:00
rubidium
13c922d8e4 (svn r8000) -Codechange: drop UDP packets when their internal size does not match the received size. If that is the case, the packet was not received in one piece (or got somehow mangled with another packet), which will cause us to drop the packet later on because we are (for example) trying to read beyond the end of the packet. 2007-01-09 14:48:21 +00:00
miham
541039639b (svn r7987) [Translations] Slovenian is no longer unfinished (no bad strings) 2007-01-09 07:24:35 +00:00
miham
cbeb1b2296 (svn r7986) WebTranslator2 update to 2007-01-09 08:20:27
brazilian_portuguese - 72 changed by fukumori (72)
hungarian  - 2 fixed by miham (2)
slovenian  - 191 fixed by Necrolyte (191)
2007-01-09 07:22:20 +00:00
Darkvater
35ea3335ce (svn r7984) -Fix: out-of-bounds read access on _clients array (Quark) 2007-01-08 19:18:53 +00:00
miham
99cb1dd612 (svn r7983) WebTranslator2 update to 2007-01-08 19:37:40
brazilian_portuguese - 111 changed by fukumori (111)
esperanto  - 11 changed by LaPingvino (11)
japanese   - 116 fixed by ickoonite (116)
2007-01-08 18:39:17 +00:00
peter1138
c284f92c83 (svn r7982) -Codechange: Enumify graphics blitter modes. 2007-01-08 18:07:57 +00:00
celestar
8da2dbdf3b (svn r7976) -Fix: (SF 1629560) Rail vehicles can no longer enter tunnels or bridgeheads with wrong railtype 2007-01-08 10:36:45 +00:00
miham
854b7647f0 (svn r7975) WebTranslator2 update to 2007-01-08 09:13:29
brazilian_portuguese - 6 fixed, 2 changed by fukumori (8)
danish     - 5 changed by MiR (3), ThomasA (2)
estonian   - 1 changed by kristjans (1)
frisian    - 82 fixed, 85 changed by ikkejw (82), talzaroff (85)
greek      - 64 fixed, 3 changed by Kesnar (67)
italian    - 1 changed by sidew (1)
japanese   - 92 fixed by ickoonite (92)
polish     - 1 changed by meush (1)
slovak     - 7 changed by lengyel (7)
slovenian  - 160 fixed by Necrolyte (160)
turkish    - 2 changed by jnmbk (2)
2007-01-08 08:16:01 +00:00
Darkvater
b207d3f3eb (svn r7969) *whistle* 20067 has not yet come to pass; it's 2007 (I think my search&replace broke) 2007-01-07 17:32:35 +00:00
Darkvater
a115bd8e92 (svn r7968) -Update copyright/etc information to 2007 2007-01-07 16:55:30 +00:00
Darkvater
786c8496ec (svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr 2007-01-07 16:35:20 +00:00
Darkvater
0a44c03edd (svn r7936) -Fix (r4987, old-rev): Only update the signals and YAPF cache on a DC_EXEC action for bridge-building 2007-01-07 00:19:57 +00:00
rubidium
acdeae8cc8 (svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used to test the new masterserver) 2007-01-06 23:00:21 +00:00
rubidium
2a596e09f1 (svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations. 2007-01-06 22:58:01 +00:00
Darkvater
de11447d08 (svn r7930) -Fix: [FS#520] Wrong GRF flag set for gradual loading (mart3p) 2007-01-06 22:43:11 +00:00
miham
ac8c0970df (svn r7905) WebTranslator2 update to 2007-01-06 15:28:31
estonian   - 5 changed by kristjans (5)
frisian    - 669 fixed, 17 changed by ikkejw (574), Bouke (2), talzaroff (110)
italian    - 1 changed by sidew (1)
turkish    - 2 fixed, 16 changed by jnmbk (18)
2007-01-06 14:29:07 +00:00
peter1138
68de4efccf (svn r7901) -Codechange: Remove some misplaced externs and use extern, not VARDEF, in the place they should be... 2007-01-06 13:26:04 +00:00
miham
3695b19744 (svn r7896) WebTranslator2 update to 2007-01-06 08:24:52
italian    - 211 changed by sidew (211)
lithuanian - 66 changed by Domas (66)
slovenian  - 131 fixed by ThePianoGuy (31), Necrolyte (100)
2007-01-06 07:26:15 +00:00
rubidium
3f3af614a4 (svn r7888) -Change: add documentation about the 'on-the-wire' structure of the network game information request and reply packets. 2007-01-05 21:33:58 +00:00
bjarni
1082ab40fa (svn r7887) -Fix: [OSX] Endian32_Swap should always return a uint32, not a long unsigned int
This kills an OSX specific warning in newgrf_config.c
  Ensured that Endian16_Swap returns uint16 as well, even though that one didn't result in any warnings (yet)
2007-01-05 20:46:53 +00:00
bjarni
fd24669dee (svn r7886) -Fix: [OSX] control+enter will no longer toggle fullscreen as it collided with other hotkeys (pv2b)
People should use command+enter as it was originally intended (this key combo also worked before this commit)
2007-01-05 19:50:44 +00:00
miham
566288adf0 (svn r7884) WebTranslator2 update to 2007-01-05 19:28:08
bulgarian  - 14 changed by groupsky (14)
croatian   - 159 fixed, 8 changed by knovak (167)
danish     - 30 changed by ThomasA (4), MiR (26)
estonian   - 41 changed by kristjans (41)
japanese   - 47 fixed, 1 changed by PouncingAnt (48)
lithuanian - 31 fixed, 68 changed by Domas (99)
2007-01-05 18:28:49 +00:00
truelight
82efaa7469 (svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking 2007-01-05 18:03:30 +00:00
peter1138
5220796d65 (svn r7864) -Codechange: Offset engines/wagons in the train details window by half the train length modifier. This stops overflowing wagons in sets that use 32px lengths. 2007-01-05 14:26:45 +00:00
Darkvater
00558b779d (svn r7861) -Fix (r7823): Crash when oldest news was deleted. First check the index for oldest news
and THEN decrease index, not the other way around.
2007-01-05 11:41:11 +00:00
miham
37abff2c47 (svn r7857) WebTranslator2 update to 2007-01-05 08:35:59
lithuanian - 2 fixed, 278 changed by Domas (280)
slovenian  - 11 fixed by Necrolyte (11)
2007-01-05 07:36:33 +00:00
rubidium
5e4c157282 (svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket directly. 2007-01-05 01:23:03 +00:00
Darkvater
6f568a4d9c (svn r7843) -Codechange (r7840): left out word 'file' making crash-text look un-english-ish. 2007-01-05 00:39:08 +00:00
Darkvater
f67f5faf10 (svn r7840) -Codechange: Change the crash window a bit. Tell about Flyspray and crash.dmp. Remove
text about submitting crash report.
2007-01-04 23:49:55 +00:00
rubidium
e534f747b5 (svn r7836) -Codechange: some constness for network/core. 2007-01-04 21:48:52 +00:00
rubidium
2a2020c34c (svn r7834) -Codechange: cleanup the includes of network/core a little; include headers in headers when the header needs types/constants defined in them. 2007-01-04 21:21:14 +00:00
rubidium
35b7e0a1b8 (svn r7833) -Fix (r7829): forgot to add debug.h to the includes. 2007-01-04 20:33:50 +00:00
peter1138
3d6e71de9f (svn r7831) -Codechange: [NewGRF] Do not mark as unsafe those NewGRFs that set their own parameters (via action D) and/or change only bridge sprite table layouts (action 0, property D). 2007-01-04 19:24:42 +00:00
rubidium
5e276359a4 (svn r7830) -Codechange: let NetworkCoreInitialize return a bool, so we have to set _network_available only once. 2007-01-04 19:12:45 +00:00
rubidium
b722317116 (svn r7829) -Codechange: move the network (core) initialization/shutdown functions into network/core, so the can be reused in the masterserver_updater. 2007-01-04 18:50:40 +00:00
miham
b65e178693 (svn r7828) WebTranslator2 update to 2007-01-04 19:28:37
danish     - 8 changed by ThomasA (8)
estonian   - 101 changed by kristjans (101)
italian    - 1 changed by sidew (1)
japanese   - 17 fixed, 11 changed by PouncingAnt (28)
2007-01-04 18:30:28 +00:00
rubidium
72b2b15cbd (svn r7825) -Codechange: make NetworkUDPClose close a single UDP socket. Use NetworkUDPStop to close all opened udp sockets (those were called NetworkUDPClose). 2007-01-04 18:10:40 +00:00
Darkvater
ffa7673aaa (svn r7823) -Fix (r7384 / r7368 / r3757 / r7388): News windows could still cause crashes because
DeleteVehicleNews shuffles around _news_items which can wreak havoc with the NewsItem*
 of a currently open news window. While here also correctly update _current_news and
 _forced_news for the same reasons. Should really work now.
2007-01-04 17:23:55 +00:00
rubidium
81235fc16b (svn r7821) -Fix: be more strict about the socket from where packets arrive. Do not accept requests about the game server on the master/client socket, do not accept master server acks on the client/server socket, etc. 2007-01-04 15:42:09 +00:00
miham
bd37b23bd2 (svn r7819) WebTranslator2 update to 2007-01-04 07:57:17
japanese   - 78 fixed by ickoonite (78)
slovenian  - 26 fixed, 317 changed by Necrolyte (343)
ukrainian  - 3 fixed, 2 changed by znikoz (5)
2007-01-04 06:57:49 +00:00
rubidium
525118c7b3 (svn r7818) -Fix (r7751): wrote some data to the wrong network packet. 2007-01-04 02:18:04 +00:00
Darkvater
2ebf16e95d (svn r7817) -Fix (r7573): Bridge merge broke building canals at level 0. 2007-01-04 01:10:39 +00:00
glx
7d381816c9 (svn r7812) -Fix: rail station build window was not correctly updated after station_spread change 2007-01-03 23:53:23 +00:00
KUDr
3ff365e310 (svn r7810) -Fix: FS#504 Building airport whose size exceeds max station spread-out caused assert. (Zuu) 2007-01-03 22:55:53 +00:00
miham
85e7702931 (svn r7806) [Translations] Lithuanian is no longer unfinished, thanks for the current translators! Good work, keep it up! 2007-01-03 20:44:59 +00:00
miham
bd7ec2710a (svn r7803) WebTranslator2 update to 2007-01-03 19:37:39
bulgarian  - 5 fixed by groupsky (5)
croatian   - 72 fixed by knovak (72)
danish     - 25 changed by MiR (25)
italian    - 1 changed by sidew (1)
norwegian  - 2 fixed by oletk (2)
slovenian  - 241 fixed, 143 changed by Necrolyte (384)
2007-01-03 18:41:20 +00:00
rubidium
16b3f41af7 (svn r7802) -Feature: make it possible to override the bind address and port of a dedicated server from the command line. 2007-01-03 18:29:15 +00:00
rubidium
db5f61c43e (svn r7801) -Feature: add command line option to prevent saving of highscore and configuration on exit and a console command to manually initiate a configuration save (Aloysha). 2007-01-03 18:06:50 +00:00
peter1138
eeb1ad8922 (svn r7800) -Fix (r7787): Remove Czech strings with .news or .subs case. 2007-01-03 17:47:34 +00:00
peter1138
eee7138b16 (svn r7797) -Codechange: Replace static _sprite_ptr and associated arrays with dynamic array to allow variable number of sprites. This does not change the sprite limit. 2007-01-03 14:42:08 +00:00
rubidium
20f12958d5 (svn r7796) -Fix (r7759): cygwin does not need to rewrite the paths for strgen.
-Fix (r7759): supply the correct flags to cygwin to make it compile.

Note: cygwin itself is 'broken'. Known issues with cygwin are:
 - bash does not work when including files that have dos line ending (\r\n).
   This causes the strange errors in config.lib. The solution is running:
     dos2unix config.lib
 - the windows-native svn does not work (though it previously did). The
   solution for this is to install the cygwin svn.
 - libfreetype2's freetype-config --cflags does not have ft2build.h in the
   path include search path. The workaround for this is to copy 
   /usr/include/ft2build.h to /usr/include/freetype2/. Also linking does 
   not work for static builds as freetype-config does not support that.
   You have to add the '--disable-static' flag when running './configure'.
 - libpng12 does not work with static building either. You have to add
   the '--disable-static' flag when running './configure' too.
2007-01-03 13:55:25 +00:00
peter1138
969194629e (svn r7795) -Codechange: [NewGRF] When safety checking, allow an Action E that force activates the GRF. Unfortunately this requires knowing the GRF ID in advance (before the Action 8) so the static GRFs are now scanned twice on start up, once for the GRF ID, and then for the safety check. (This fix allows unifont.grf to be used.) 2007-01-03 11:33:54 +00:00
peter1138
a972c406dd (svn r7794) -Cleanup: Remove obsolete, never-used landscape rotation code. And spell obsolete correctly. 2007-01-03 09:45:07 +00:00
peter1138
96bede230b (svn r7793) -Cleanup: Remove obsolute, never-used old spritecache LRU code 2007-01-03 09:32:01 +00:00
miham
e2a35c1217 (svn r7787) WebTranslator2 update to 2007-01-03 07:49:50
czech      - 2 changed by joeprusa (2)
danish     - 80 changed by MiR (80)
esperanto  - 1 fixed, 3 changed by LaPingvino (4)
estonian   - 54 changed by kristjans (54)
japanese   - 177 fixed, 65 changed by ickoonite (242)
lithuanian - 57 changed by Domas (57)
slovenian  - 38 fixed, 262 changed by Necrolyte (300)
2007-01-03 06:50:31 +00:00
Darkvater
f8fc5f2a3d (svn r7772) -Fix (r7759): [win32] Paths to icon files were wrong. 2007-01-02 21:48:33 +00:00
bjarni
9db571c6db (svn r7767) -Fix r7751: [OSX] nameclash in includes. ALIGN was defined in both a library and macros.h
we undefines the library one since we don't need that one anyway
2007-01-02 21:27:28 +00:00
bjarni
e5722f8820 (svn r7766) -Fix: [OSX] removed incorrect debug message about corrupted/missing grf files
The md5 code now looks in the secundary data dir as well
  Note: OSX builds can still give the incorrect message: dbg: [sl] Cannot open savegame 'data/opntitle.dat' for saving/loading.
2007-01-02 20:39:07 +00:00
peter1138
b575f1a6fc (svn r7760) -Codechange: Debug messages for newgrf showed the starting sprite, not the current sprite index. Also only output the debug message during activation, when sprites are loaded. 2007-01-02 20:00:10 +00:00
rubidium
013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2007-01-02 19:19:48 +00:00