Commit Graph

17287 Commits

Author SHA1 Message Date
peter1138 0a4b2ae79c (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 2d3e7aef51 (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 eb42782d6a (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 7b8032d6d4 (svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket directly. 2007-01-05 01:23:03 +00:00
Darkvater 8f945f53e2 (svn r7843) -Codechange (r7840): left out word 'file' making crash-text look un-english-ish. 2007-01-05 00:39:08 +00:00
Darkvater 07994ea72a (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 73079f83bc (svn r7836) -Codechange: some constness for network/core. 2007-01-04 21:48:52 +00:00
rubidium b2f85eb044 (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 bfe4dcbc39 (svn r7833) -Fix (r7829): forgot to add debug.h to the includes. 2007-01-04 20:33:50 +00:00
peter1138 fa4d49f838 (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 85d1768b34 (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 627ebe8430 (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 c231b1fa9a (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 ae9750e69b (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 2fda7e6c10 (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 6851608c00 (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 90f546e87e (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 6edd50e722 (svn r7818) -Fix (r7751): wrote some data to the wrong network packet. 2007-01-04 02:18:04 +00:00
Darkvater f0705977b3 (svn r7817) -Fix (r7573): Bridge merge broke building canals at level 0. 2007-01-04 01:10:39 +00:00
glx 1987b32a8d (svn r7812) -Fix: rail station build window was not correctly updated after station_spread change 2007-01-03 23:53:23 +00:00
KUDr db02336ef1 (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 d55282cc92 (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 0b52996e2d (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 8080f6a159 (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 2676142ca9 (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 dd048e8c31 (svn r7800) -Fix (r7787): Remove Czech strings with .news or .subs case. 2007-01-03 17:47:34 +00:00
peter1138 346a0df0b7 (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 21a1aa7c2c (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 8cb56a9af6 (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 789b76d36b (svn r7794) -Cleanup: Remove obsolete, never-used landscape rotation code. And spell obsolete correctly. 2007-01-03 09:45:07 +00:00
peter1138 8e625b8b42 (svn r7793) -Cleanup: Remove obsolute, never-used old spritecache LRU code 2007-01-03 09:32:01 +00:00
miham 38252d04b9 (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 84ddb87726 (svn r7772) -Fix (r7759): [win32] Paths to icon files were wrong. 2007-01-02 21:48:33 +00:00
bjarni e13f5c19c1 (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 25e03150a6 (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 6b82f1dc06 (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 66bbf336c6 (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