bjarni
8c098db7a8
(svn r8390) -Codechange (r8384): Rewrote ResizeButtons()
...
Now it only works on first and last widget to resize
It now works with offsets correctly (no longer assumes the left is 0)
It's no longer needed to have a widget right of the ones you resize
Can handle any number of widgets
18 years ago
tron
0996de79df
(svn r8385) -Fix
...
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
18 years ago
bjarni
e2f72cbf1f
(svn r8384) -Codechange: [GUI] instead of writing a resize button function for each window, a global ResizeButtons() is added
18 years ago
bjarni
a1a6e1eb85
(svn r8383) -Feature: train detail window is now resizable horizontally (requested by Wolf01)
18 years ago
bjarni
072e429220
(svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.h
...
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
18 years ago
bjarni
a73f67af40
(svn r8381) -Fix (r8377): [build vehicle window] cleaned up the train refitable detection. It had two variables doing the same thing, but not always set to the same (oops)
18 years ago
miham
d2ca1494be
(svn r8380) [Translations] -Fix: After held a developer mini-conference upon this wrong argidx issue, we decided to remove the {P ..} from STR_TONS
18 years ago
bjarni
9f31b897b6
(svn r8379) -Cleanup: [build vehicle window] removed overloading with DrawVehiclePurchaseInfo() and renamed them into type specific names
18 years ago
bjarni
9c6317a203
(svn r8378) -Fix (r8331): [build vehicle window] extended the widget with the details with one line since some newgrf trains needs it
18 years ago
bjarni
8d89ca48e1
(svn r8377) -Fix (r8331): [build vehicle window] train cargo capacity now only add "(refitable)" if the engine in question is refitable
18 years ago
rubidium
e6ea9ba0f5
(svn r8376) -Codechange: remove unused table
18 years ago
miham
233948946f
(svn r8375) -Update: WebTranslator2 update to 2007-01-23 19:34:40
...
brazilian_portuguese - 2 changed by fukumori (2)
esperanto - 14 changed by LaPingvino (14)
simplified_chinese - 6 fixed, 10 changed by Fishingsnow (16)
slovenian - 394 changed by Necrolyte (394)
ukrainian - 68 changed by mad (61), znikoz (7)
18 years ago
maedhros
18fa2ca233
(svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX describes the
...
required value better anyway. However, INT64_MAX comes from stdint.h which
doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
18 years ago
rubidium
cfb7fb3ac4
(svn r8373) -Codechange: remove some obsolete MSVC6 compatability defines
18 years ago
rubidium
269c1a58a0
(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from openttd.h, which does not exist in the masterserver/updater.
18 years ago
bjarni
c856c26611
(svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
...
Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
18 years ago
bjarni
422004013e
(svn r8370) -Revert (r8363): the autoreplace GUI move cleared the file history
18 years ago
maedhros
914c8147c0
(svn r8369) -Cleanup: [Graphs] Rename include_neg and adj_height to more descriptive names, and add some more comments.
18 years ago
maedhros
a014ace8e7
(svn r8368) -Cleanup: [Graphs] Rename the variables relating to whether datasets should be drawn, and use HASBIT for testing against them.
18 years ago
maedhros
3e43565fb3
(svn r8367) -Fix: [Graphs] Don't try to use the same value to mean something is invalid for both an int64 and a uint.
18 years ago
maedhros
75e7b2e6df
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
...
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
18 years ago
bjarni
8c3e4ead65
(svn r8364) -Codechange (r8362): added an assert to catch conditions where a request wants to draw more vehicles than the list contains
18 years ago
bjarni
97effdcb96
(svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
18 years ago
bjarni
a9a1fd8c20
(svn r8362) -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own
...
-Fix (r8335): [vehicle build window] ship sprites were moved two pixels to the left
18 years ago
rubidium
3e10a726e5
(svn r8361) -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD
...
-Codechange: use_password is a boolean variable
-Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
18 years ago
miham
5f72bb18ca
(svn r8360) [Translations] -Fix: removed 4 empty strings from simplified chinese translation
...
-Fix: added dummy ownname to Korean, translator will have to supply it through WT2
18 years ago
miham
1f826dc002
(svn r8359) [Translations] -Change: Removed the .UTF-8 suffix from isocodes
18 years ago
maedhros
a830397501
(svn r8356) -Codechange: [Graphs] Rename mx to highest_value, and fix the scaling for negative values.
18 years ago
miham
eedd58484f
(svn r8354) -Update: WebTranslator2 update to 2007-01-22 19:27:50
...
american - 1 fixed by WhiteRabbit (1)
brazilian_portuguese - 5 changed by fukumori (5)
esperanto - 4 changed by LaPingvino (4)
japanese - 28 changed by ickoonite (28)
korean - 6 fixed, 151 changed by leejaeuk5 (157)
simplified_chinese - 7 fixed, 2 changed by Fishingsnow (9)
18 years ago
bjarni
edf2f70565
(svn r8353) -Cleanup: added IsPlayerBuildableVehicleType() to autoreplace code (duplicated code removal)
18 years ago
maedhros
35c80532e9
(svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a hardcoded offset to make the string appear centred.
18 years ago
bjarni
8de4196410
(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions
18 years ago
maedhros
053dd86a3c
(svn r8347) -Codechange: [Graphs] Make some more variables local to the loops they're used in, and remove some assumptions about the size of an array.
18 years ago
bjarni
29a89e0a2f
(svn r8343) -Cleanup: [build vehicle windows] added a few comments and removed two switch-cases, that we can do without
18 years ago
bjarni
9f73cf6bb1
(svn r8341) -Codechange (r8336): added assert to VehTypeToIndex() to ensure valid vehicle types in the argument
18 years ago
bjarni
4099d62cb2
(svn r8340) -Cleanup (r8338): removed now unused header includes from roadveh_gui.cpp
18 years ago
belugas
ac9d926606
(svn r8339) -Fix(r8331): MSVC seems to be a little more strict (or less intelligent) then other compilers when it comes to operator precedence.
...
A copy of code from train_gui.cpp to build_vehicle_gui.cpp was not exactly the same.
The earlier version did not require parenthesis to specify correct operator precedence.
18 years ago
bjarni
6ccbfffbea
(svn r8338) -Codechange: merged road vehicle build window into the other ones
...
Note: now all build vehicle windows are merged into build_vehicle_gui.cpp
18 years ago
bjarni
cf0e5816d6
(svn r8337) -Cleanup: removed some more switch-cases in build_vehicle_gui.cpp and added arrays + VehTypeToIndex() instead
18 years ago
bjarni
8f4e2e8040
(svn r8336) -Codechange: added function to translate vehicle types to 0,1,2... for use for index to arrays
...
Used this function to get rid of some switch-cases in build_vehicle_gui.cpp
-Fix (r8335): ship build window didn't remember assending/decending sort setting
18 years ago
bjarni
14b2998023
(svn r8335) -Feature: the build ship window is now also resizable horizontally and contains sorting options
...
-Codechange: the build ship window is merged into build_vehicle_gui.cpp
18 years ago
bjarni
1f32ce7e89
(svn r8334) -Fix (r8331): build window buttons now both resize as intended
18 years ago
bjarni
4bb18a450c
(svn r8333) -Codechange: when invalidating a build window list, set a flag instead of rebuilding the list and then rebuild it the next time it's redrawn
...
This should save CPU time in the (maybe unlikely) event that the list is invalidated more than once between two redraws
18 years ago
bjarni
d82ae7427d
(svn r8332) -Codechange: moved DrawAircraftImage() and CcBuildAircraft() from build_vehicle_gui.cpp to aircraft_gui.cpp
18 years ago
bjarni
b60e5c17cd
(svn r8331) -Feature: the train and aircraft build windows are now resizable in horizontal direction as well
...
-Codechange: merged train and aircraft build window code
18 years ago
maedhros
17c71f4557
(svn r8330) -Codechange: Remove num_x and num_dataset from DrawGraph.
18 years ago
maedhros
e371c67199
(svn r8329) -Codechange: Remove the the horribly abused j and k variables completely, and make i local to each loop it's used in.
18 years ago
maedhros
2b2fdc1281
(svn r8328) -Codechange: Remove some magic numbers in the graph drawing code.
18 years ago
bjarni
bdc29f3d0d
(svn r8327) -Codechange: though overloading, IsPlayerBuildableVehicleType() now works with the type given as a byte as well as a vehicle pointer
18 years ago
miham
34de6db60d
(svn r8324) [Translations] -Change: Declared simplified_chinese as officially available language (number of missing strings is far less than 100)
18 years ago
miham
1e01201713
(svn r8323) [Translations] -Fix: removed untranslated strings from chinese language, fixed a wrong plural param
18 years ago
maedhros
06362c3535
(svn r8322) -Codechange: Rename unk61A and unk61C to something a little more descriptive.
18 years ago
tron
8ac3272e85
(svn r8321) -Fix
...
Reduce the size of EngineInfo (from 28 to 24 bytes) by moving one of its attributes
18 years ago
tron
fb8b0557f9
(svn r8320) -Fix
...
Simplify TrainPowerChanged() somewhat by eleminating code duplication
18 years ago
maedhros
84f4ca8b56
(svn r8319) -Codechange: Remove the remaining colours from GraphDrawer as they're also the same everywhere.
18 years ago
miham
b25584b40c
(svn r8318) -Update: WebTranslator2 update to 2007-01-21 19:29:35
...
brazilian_portuguese - 10 changed by fukumori (10)
polish - 5 fixed by meush (5)
simplified_chinese - 9 fixed, 191 changed by Fishingsnow (200)
slovak - 1 fixed by lengyel (1)
slovenian - 1 changed by ThePianoGuy (1)
18 years ago
maedhros
699d8709c1
(svn r8317) -Codechange: Remove GraphDrawer::bg_line_color since it was the same everywhere it was set.
18 years ago
rubidium
cf83a9f065
(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused.
18 years ago
truelight
d82304ccab
(svn r8315) -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available
18 years ago
tron
bc523186e0
(svn r8314) -Fix
...
-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
18 years ago
maedhros
1564c74259
(svn r8312) -Fix (r8038, sort of): Operating profit and the company value can be negative,
...
so don't put them in an unsigned variable before drawing them in the various
graphs. Although the code didn't change, this only seems to have broken since
we started compiling it as C++.
18 years ago
truelight
203ccad578
(svn r8310) -Fix r8309: it is wise to put #endifs in the right place ;)
18 years ago
truelight
6a145e06c3
(svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changing
...
-Fix: WinCE doesn't know GetKeyboardState
-Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com)
-Fix: the GCC compiler is more happy if the WinMain is called that
-Fix: a really old typo (missing ')') ;)
-Fix: GdiFlush() isn't supported on WinCE
18 years ago
truelight
79dfc62261
(svn r8308) [WinCE] -Revert r5764: in case of WinCE, use the code for FileExists as it was in pre-r5764 for Win32 (tnx Darkvater)
18 years ago
truelight
bd52404b8e
(svn r8307) [WinCE] -Fix: for now disable sound and music. That will be done later.
18 years ago
truelight
4dae672e92
(svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an alternative where possible
18 years ago
truelight
bb8f3a1dff
(svn r8305) -Codechange: defining 'static const' in a header is a bit weird.
...
Above that, wince-gcc gave "unused variable" on every file which included airport.h... pretty annoying ;)
18 years ago
bjarni
4241f1eb20
(svn r8303) -Codechange (r8293): default is moved to the front of the switch in ShowVehicleListWindowLocal()
18 years ago
maedhros
38647bb426
(svn r8301) -Codechange: Move the code relating to the sign list window from graph_gui.cpp to a file of its own: signs_gui.cpp.
18 years ago
maedhros
7a7562d8e2
(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
...
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
18 years ago
tron
501cd51c15
(svn r8299) -Fix
...
Remove unreachable code
18 years ago
bjarni
59e6e762b8
(svn r8296) -Fix: GenerateVehicleSortList() tried to put a TileIndex into an uint16
...
-Fix: CmdMassStartStopVehicle() tried to put a TileIndex into an uint16
Those two bugs were unrelated to each other and unrelated to r8295, even though that commit touched the code in question
18 years ago
bjarni
518c4cdfce
(svn r8295) -Cleanup: merged arguments station, order and depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument
...
It turned out that all 3 arguments were the same at all the places those functions are called, so there was no point in having more than one
18 years ago
bjarni
7871ce1879
(svn r8294) -Fix: deleting a vehicle with shared orders, but no orders would fail to reset prev_shared and next_shared
...
-As a result, vehicles in the game could end up having prev/next pointers to vehicles, that was no longer in the game
18 years ago
bjarni
c8c27b9740
(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open all types of vehicle lists (depending on arguments)
...
- Also removed some unneeded arguments
- this also allows removing an if-else cascade in ShowVehicleListWindowLocal()
18 years ago
miham
470619a8bb
(svn r8290) -Update: WebTranslator2 update to 2007-01-20 19:46:14
...
brazilian_portuguese - 69 changed by fukumori (69)
frisian - 48 fixed by ikkejw (48)
russian - 57 changed by DarkFenX (57)
ukrainian - 5 changed by znikoz (5)
18 years ago
miham
c145db6e6b
(svn r8289) [Translations] -Fix: translators sent some offline translation for simplified chinese (Fishingsnow) and japanese (ickoonite)
18 years ago
bjarni
00b730ebca
(svn r8288) -Fix: [OSX] compiling with debug enabled now works again
...
-This is once again an obj-C vs C++ issue. I need to make a nice and permanent solution soon, but I need the debugger right now
18 years ago
peter1138
e13b00e14f
(svn r8287) -Fix (r8286): forgot to check for newline format, sorry...
18 years ago
peter1138
4d0a0fed0e
(svn r8286) -Add: Korean translation by Ezi
18 years ago
KUDr
8c5f64ae56
(svn r8284) -Fix (r8277): g++ compilation error: missing brackets in sizeof
18 years ago
peter1138
d3761d97eb
(svn r8283) -Fix (r8128): Custom waypoint drawing used wrong bits since bitshuffling occurred. Also update with other station drawing changes (code duplication,
...
eh?)
18 years ago
miham
f07cbde398
(svn r8281) -Update: WebTranslator2 update to 2007-01-19 19:32:57
...
brazilian_portuguese - 2 fixed, 49 changed by fukumori (51)
bulgarian - 1 fixed by kokobongo (1)
18 years ago
peter1138
4d6a7b7427
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
18 years ago
Darkvater
97d558760c
(svn r8279) -Regression (r8274): Removing signals could fail under certain circumstances (not the proper bits of p1/p2 were set to trackbits). Moved trackbits back to bits 0..2, ctrl to 3, semaphore to 4. Also lower the decision of the ctrl-override of signal/semaphore from the GUI into the cmd function since we are passing the ctrl-bit anyways. Bug(s) found by Frostregen; thanks
18 years ago
KUDr
7b5ec98d99
(svn r8277) -Fix (r8038): assert on game exit when waypoints were used. The static variable of type Station (inside ComposeWaypointStation) replaced by byte array so no destructor is called for it on exit.
18 years ago
tron
b2def96248
(svn r8276) -Fix
...
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables.
Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
18 years ago
tron
7af3094bc3
(svn r8275) -Fix
...
Factor common data tables and use a bit more sensible names
18 years ago
Darkvater
110c0162df
(svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
18 years ago
KUDr
314e35beff
(svn r8273) -Fix: return value from clamp was ignored
18 years ago
KUDr
6230f9b922
(svn r8272) -Fix (r8038): signed/unsigned change - PlayerID is now enum (signed) and was byte so test for PlayerID validity needed to be updated (Darkvater)
18 years ago
miham
b36298e8a1
(svn r8267) [Translations] -Fix: (r8266) fixed the ownname and the isocode of the russian language
18 years ago
miham
2cca03409c
(svn r8266) -Update: WebTranslator2 update to 2007-01-18 19:42:06
...
afrikaans - 26 fixed, 63 changed by TrueTenacity (89)
dutch - 1 fixed by habell (1)
esperanto - 1 fixed by LaPingvino (1)
russian - 26 changed by DarkFenX (26)
turkish - 1 fixed by jnmbk (1)
ukrainian - 6 changed by znikoz (6)
18 years ago
Darkvater
8e06ff09a6
(svn r8254) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, et.
18 years ago
Darkvater
4de91346e9
(svn r8253) -Codechange: Be more strict about language generation and fail any languages not having the mandatory ##name, ##ownname and ##isocode pragma's.
18 years ago
Darkvater
982c451a8e
(svn r8252) -Regression(r8204): WT2 commit removed ##isocode from Russian, resulting in a clean
...
start of openttd being in russian instead of in english.
18 years ago
Darkvater
95ccdeeac0
(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo)
18 years ago
Darkvater
d3a58ba36b
(svn r8239) -Regression (r7278): Help window was empty for UNICODE builds
18 years ago
KUDr
147ca22060
(svn r8231) -Fix (r8125): MP desync caused by calling Random() from station constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium)
18 years ago
Darkvater
653290c76a
(svn r8218) -Codechange: Increase spritecache size to 2MB. This will vastly improve performance when using (lots of) grf files. You can change it yourself easily with the SPRITE_CACHE_SIZE compile flag. (peter1138).
18 years ago
peter1138
652b804a9e
(svn r8214) -Fix (r8038): The fast forward flag stores 2 bits, not 1. Remember the
...
whole thing when turning off FF for autosave. This stops FF getting stuck on
if the FF key is released during the save.
18 years ago
tron
3be30b8842
(svn r8212) -Fix
...
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
18 years ago
peter1138
004f1b061f
(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map
...
selection.
18 years ago
tron
3d1735fcfd
(svn r8207) -Fix
...
Remove the write-only attribute RoadStop::station
18 years ago
miham
27dde23409
(svn r8206) [Translations] -Fix: Fixed r8193, converted the html notations back to UTF8 characters
18 years ago
miham
4653c34f2a
(svn r8204) -Fix: reverted r8202, since it did not solve all the problems, since ALL language changes done today are garbage due to a quick bugfix in WT2 which introduced another, much more serious bug: put an utf8_to_htmlcode() call to a wrong place
...
I will fix the affected language files soon (20-30 minutes)
Please excuse me for this whole problem :-(
18 years ago
tron
f3daa56208
(svn r8203) -Fix:
...
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
18 years ago
miham
0eb5af76d1
(svn r8202) -Fix: r8193: russian.txt changes somehow became garbage
18 years ago
rubidium
dec9698edc
(svn r8198) -Codechange: two global variables are not needed when network is disabled.
18 years ago
miham
11b19bb6ab
(svn r8193) -Update: WebTranslator2 update to 2007-01-17 19:42:11
...
brazilian_portuguese - 3 changed by fukumori (3)
danish - 21 changed by MiR (21)
german - 1 fixed by Neonox (1)
japanese - 24 changed by ickoonite (24)
norwegian_nynorsk - 1 changed by pollux (1)
russian - 5 fixed, 75 changed by DarkFenX (80)
slovenian - 57 changed by Necrolyte (57)
swedish - 1 fixed by daishan (1)
18 years ago
peter1138
61f5cf9b6f
(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.
18 years ago
celestar
8c54793068
(svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
18 years ago
tron
a973e45719
(svn r8184) if cascade -> switch
18 years ago
tron
2742b5fe25
(svn r8183) When iterating over the map in AfterLoadGame() do it the same way for all loops
18 years ago
rubidium
0bd6622c2e
(svn r8171) -Fix (FS#556): return SL_ERROR when unthreaded saves failed, to make sure we do not try to send zero-byte savegames.
18 years ago
Darkvater
1f3ea708c3
(svn r8168) -Regression (r6783): ParseConnectionstring didn't use the port parameter if a player was also specified. (both IP#Player:Port and IP:Port#Player btw)
18 years ago
rubidium
96b19ca23e
(svn r8167) -Fix (FS#556): a network client crashes, due to a division by zero, when the connection gets lost at the right moment or when the packet is malformed (server sends size 0 for the map).
18 years ago
peter1138
f19b87df08
(svn r8166) -Fix (r7797): Protect against out of bounds access to the sprite ptr
...
list.
18 years ago
Darkvater
0c9e65d8cc
(svn r8165) -Revert r8107 and show the MD5SUM of the *REPLACEMENT* grf file, NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame.
18 years ago
Darkvater
542f156091
(svn r8164) -Codechange (r8159): Fix up some comments/doxygen for disasters and rename Submarine1/2 to small/big
18 years ago
miham
6cc178d577
(svn r8163) [Translations] Re-added cases for the czech language (they were removed either accidentally or on purpose, will look after it later
18 years ago
miham
b67c92d7cd
(svn r8162) WebTranslator2 update to 2007-01-16 19:44:34
...
brazilian_portuguese - 1 fixed, 66 changed by fukumori (67)
catalan - 1 fixed by arnaullv (1)
czech - 1 fixed by Hadez (1)
danish - 1 fixed, 1 changed by MiR (1), ThomasA (1)
french - 1 fixed by glx (1)
hungarian - 1 fixed by miham (1)
italian - 1 fixed by sidew (1)
japanese - 1 fixed, 63 changed by ickoonite (64)
norwegian_nynorsk - 1 fixed, 37 changed by khaavik (28), pollux (10)
portuguese - 1 fixed by izhirahider (1)
slovenian - 1 fixed by Necrolyte (1)
ukrainian - 5 fixed, 16 changed by fevral13 (4), znikoz (17)
18 years ago
rubidium
3d6b021faa
(svn r8161) -Fix (FS#555, r8144): enroute_from_xy was not set properly for old savegames.
18 years ago
maedhros
eeaf5c1f1c
(svn r8160) -Fix (r8151): Do not use HasSignals on tiles without railways.
18 years ago
Darkvater
6908565067
(svn r8159) -Cleanup: Sprinkle some coding-style and comments on the disaster code.
18 years ago
Darkvater
12f0e67437
(svn r8158) -Fix: The submarine disaster failed to move at all due to wrong masking of trackbits
18 years ago
rubidium
f3796eee66
(svn r8157) -Fix (r3136): moving cargo during auto replaces did not update the cached vehicle weight for trains properly. This caused (in network games) the server to have a different cached vehicle weight than newly joined clients would have, which causes desyncs.
18 years ago
bjarni
ccbe68d5bc
(svn r8155) -Fix: fixed compilation when --disable-network is in use
18 years ago
peter1138
1395524390
(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it.
18 years ago
peter1138
9b73684733
(svn r8153) -Codechange: Change UpdateStationAcceptance() and ShowRejectOrAcceptNews() to work with cargo IDs instead of cargo names, and explicitly list the different strings to use.
18 years ago
tron
3005bc3f01
(svn r8152) Fix a off-by-one error in the placement of the sticky box of the road build toolbar in the scenario editor
18 years ago
maedhros
895cc4fa47
(svn r8151) -Feature: Automatically build semaphores before a configurable date, which can be set by each network player seperately.
18 years ago
miham
b4f128b5f0
(svn r8148) WebTranslator2 update to 2007-01-15 19:25:31
...
brazilian_portuguese - 4 fixed by fukumori (4)
bulgarian - 1 fixed, 48 changed by groupsky (49)
croatian - 163 fixed, 60 changed by Ydobon (223)
danish - 23 changed by MiR (23)
esperanto - 2 changed by LaPingvino (2)
italian - 4 fixed by sidew (4)
japanese - 5 fixed by ickoonite (5)
norwegian_bokmal - 4 fixed by brygge_2 (4)
norwegian_nynorsk - 830 changed by khaavik (822), Eikje3 (8)
portuguese - 4 fixed by izhirahider (4)
slovenian - 4 fixed, 64 changed by Necrolyte (68)
18 years ago
bjarni
0026ea84d1
(svn r8147) -Fix: [autoreplace] v->leave_depot_instantly was not always reset correctly
...
While it's not certain if this would have any serious sideeffects (or any at all), it's reset when intended now
18 years ago
celestar
0fbdae2828
(svn r8146) -Fix (FS#552, r8038): a C/C++ linkage problem on some very few incarnations of gcc
18 years ago
belugas
7b9379e0de
(svn r8145) -Featurette: Allow for Tropic Farm to plant fields after producing cargo, like its counterpart in temperate climate.
18 years ago
celestar
05b783e551
(svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get excessive payment any longer, as the origin TILE is now stored as long as the origin STATION for the transported cargos. Basically this is only a temporary fix until cargopackets are implemented, but it fixes one of the oldest known bugs (Special Thanks to Darkvater for lots of testing)
18 years ago
tron
3b22cfe70d
(svn r8143) Remove the landscaping button from the build toolbars.
...
The landscaping toolbar can be reached at least as easy directly from the main toolbar.
Further two of the four toolbars uses 'l' as keyboard shortcut for this button, which plain does not work (The letter has to be uppercase).
This was covered by the fact there is a global shortcut 'L' to open the landscaping toolbar, so the individual checks in the four build toolbars were redundant anyway.
18 years ago
bjarni
19bdb49e5b
(svn r8141) -Fix r8128: [OSX] now OSX can compile again.
...
Note: this is again another not so nice workaround as Objective C fails to include C++ code in the headers
We should move to Objective C++ as soon as possible, but such a change is not done overnight and
this quick fix will allow OSX to compile until the prober solution is done
18 years ago
Darkvater
c430f2a543
(svn r8140) -Fix [FS#54]: Combat helicopter flies past factory before it shoots. Chopper comes from the north-east, so it looks in +15 direction (forward), not -15 direction. Probably bad copy-paste from airplane-destroys-oil-refinery disaster.
18 years ago
KUDr
fd383668f8
(svn r8139) -Cleanup: simplify auto_ptr initialization (Tron)
18 years ago
KUDr
278cf974a4
(svn r8138) -Cleanup: comment style corrections
18 years ago
rubidium
48611e1e20
(svn r8137) -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong for savegames with version 24 or lower and do not calculate roadstop->num_vehicles when reading the roadstops as the vehicles might not be loaded at that moment.
18 years ago
KUDr
cd74706c54
(svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods.
18 years ago
Darkvater
de10e911cb
(svn r8135) -Fix (r7582): Don't assert on duplicate non-static grfs when removing duplicates as the PEBKAC effect can result in the user adding the same grf's in the config file.
18 years ago
Darkvater
82b0704bcc
(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console output
18 years ago
Darkvater
aee29710bd
(svn r8133) -Fix [FS#535]: "out of sprite memory" warning messages due to incorrect assumption of requested memory for sprites (smatz)
18 years ago
Darkvater
e4d4e13e15
(svn r8132) -Fix (r6824): The game could crash when the chat key (<ENTER>) is pressed too vehemently during the join of the game. Your client's id does not exist in the clients list yet, and returns NULL.
18 years ago
KUDr
f8a434e9fc
(svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped.
18 years ago
tron
b028d8c201
(svn r8130) Provide struct GoodsEntry with a constructor
18 years ago
peter1138
4b4c5a403b
(svn r8129) -Codechange: Change data tables to use split off palette map. And
...
include a file missed last time...
18 years ago
peter1138
92d418b031
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
...
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
18 years ago
KUDr
19d31c7417
(svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)
18 years ago
KUDr
1eac31a1d8
(svn r8126) -Fix (r8125): missing #include fixes compilation error on g++ (still some warnings, working on it)
18 years ago
KUDr
8b65342449
(svn r8125) -Codechange: Station is now constructed/destroyed using new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp).
18 years ago
KUDr
d57b290474
(svn r8124) -Add [DEBUG]: _debug_station_level
18 years ago
maedhros
d289816deb
(svn r8123) -Fix (r117): FindFirstBit now really returns the first bit. Fixes bug FS#538.
18 years ago
KUDr
04d2d80891
(svn r8122) -Fix[LANG]: terror in czech lang file (again)
18 years ago
miham
6fb2b0c952
(svn r8121) WebTranslator2 update to 2007-01-14 19:39:35
...
american - 4 fixed by WhiteRabbit (4)
bulgarian - 4 fixed by groupsky (4)
catalan - 4 fixed by arnaullv (4)
croatian - 379 fixed, 32 changed by Ydobon (411)
czech - 4 fixed by joeprusa (4)
danish - 4 fixed, 24 changed by ThomasA (20), MiR (8)
dutch - 4 fixed by habell (1), Zr40 (3)
esperanto - 4 fixed by LaPingvino (4)
estonian - 4 fixed, 2 changed by kristjans (6)
finnish - 7 fixed by pallokala (7)
german - 4 fixed by Neonox (3), chu (1)
hungarian - 4 fixed by miham (4)
japanese - 14 fixed by ickoonite (14)
lithuanian - 4 fixed, 3 changed by Domas (7)
norwegian_nynorsk - 4 fixed, 119 changed by khaavik (123)
romanian - 4 fixed by kneekoo (4)
slovak - 4 fixed by lengyel (4)
spanish - 4 fixed, 2 changed by eusebio (6)
swedish - 4 fixed by ChrillDeVille (4)
18 years ago
peter1138
bfa618ef89
(svn r8120) -Fix (r8055): Station cargo waiting value clamp should be signed not unsigned. This resulted in cargo magically appearing...
18 years ago
Darkvater
54b88bc8e6
(svn r8119) -Fix (r8101): Uninitializing windows should be called before freeing dynamic variables as windows could use those variables during cleanup (eg WE_DESTROY calling GetStation(w->window_number).
...
-Merged UnInitializeGame with UnInitializeAirports and UnInitializeDynamicVariables
18 years ago
rubidium
468f53911d
(svn r8118) -Codechange: change the ordering of the network list a little:
...
- servers we have information about go above servers we do not have information about.
- servers that are version compatible go above servers we are not version compatible with.
- servers we have all required NewGRFs for go above servers we miss NewGRFs for.
- unpassworded servers go above passworded servers.
18 years ago
KUDr
96ea43d1b2
(svn r8117) -Fix (r8114): 'no matching operator delete found' warning on VC8
18 years ago
tron
b9832e10bd
(svn r8116) Undo r8113
18 years ago
tron
2fa5337474
(svn r8114) Allocate struct GRFText in the C++ way
18 years ago
tron
7eca68cfe9
(svn r8113) Fix the #include path to table/strings.h
18 years ago
glx
f833de284f
(svn r8111) -Fix r8106: silence warnings
18 years ago
KUDr
9bfb3f08d9
(svn r8110) -Codechange: direct Vehicle::current_order.type changes (to OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue.
18 years ago
miham
5f00d57513
(svn r8108) WebTranslator2 update to 2007-01-13 19:32:03
...
danish - 56 changed by MiR (56)
french - 4 fixed by glx (4)
japanese - 77 fixed, 23 changed by ickoonite (100)
norwegian_nynorsk - 5 fixed, 1 changed by pollux (6)
turkish - 4 fixed by jnmbk (4)
18 years ago
Darkvater
a5cc170ab0
(svn r8107) -Codechange (r8106): Show the MD5SUM of the original GRF (saved in savegame) instead of that of the replacement so a user can still go hunt for the original GRF if needed.
18 years ago
Darkvater
66c5cde981
(svn r8106) -Feature/Fix: Add the ability to load savegames when you don't have the exact GRF files in your list. GRF files that are found based on GRFID (but not on matching md5sum) are used instead of disabling them. This does not affect MP games, there you still need an exact match.
...
-GRF Window colour-codes changed a bit: Static is now grey, and compatible GRF (found locally only based on GRFID) are shown in orange. Compatible GRF's also have an orange status/warning text saying they're not the original the game was saved with.
-Loaded games with something amiss regarding GRF's will show an appropiate warning message.
18 years ago
Darkvater
3f168daee1
(svn r8105) -Codechange: Change FindGRFConfig so that if md5sum parameter is omitted (or NULL)
...
only a check for GRFID is done and not on md5sum as well. Remove blanksum in the function as it's obsoleted
18 years ago
Darkvater
5863a6088d
(svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast
18 years ago
Darkvater
e832a1d046
(svn r8101) -Fix (runknown): Plug potential memleaks when calling UnInitWindowSystem. The function directly deleted all windows instead of calling their respective deallocators which could then in turn any used memory.
18 years ago
Darkvater
d9fc6134d3
(svn r8098) -Fix (r6964): For editboxen, always fill the background with black, and not only after a valid call to FillDrawPixelInfo. This solves some graphics glitches with background widget-colour showing through on frequent redraws.
18 years ago
tron
abb644771a
(svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). Additionally the test takes O(1) instead of O(n) now
18 years ago
Darkvater
fc78ef95e1
(svn r8096) -Codechange: Invert the check if you are allowed to clear a road tile so there are not so many negations (too confusing) and added some comments to further clarify what happens.
18 years ago
KUDr
0edc029f9f
(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h to gfx.h
18 years ago
Darkvater
57a366e6d8
(svn r8094) -Feature/Fix (r7523): Show the activated status of the GRF list after pressing 'apply'
...
in the newgrf window, instead of the local list.
18 years ago
Darkvater
5ed33e549e
(svn r8093) -Codechange: Add a function to get a string representation of an MD5SUM and use it.
18 years ago
KUDr
f2e5e604fb
(svn r8092) -Codechange: header files with miscellaneous template classes (smart pointers, blob, array, hashtable, etc.) moved from src/yapf to src/misc as they can now be used anywhere.
18 years ago
Darkvater
c09b7e7fac
(svn r8090) -[win32] Fix (r8089): for *nprintf 'ret = count' NOT 'ret = 0'...
18 years ago
Darkvater
120f57b865
(svn r8089) -[win32] MS-borkedness: All *nprintf functions are broken, but we didn't test to fix it ourselves when 'len = count'.
18 years ago
tron
4ee1050976
(svn r8088) -Regression (r8087): Fix japanese translation by adding missing { and removing spurious 0
18 years ago
miham
dbeb30fcab
(svn r8087) [Translations] Japanese translation manually updated by ickoonite
18 years ago
miham
de60e0fe92
(svn r8086) WebTranslator2 update to 2007-01-13 08:18:52
...
brazilian_portuguese - 203 changed by fukumori (203)
norwegian_nynorsk - 9 changed by pollux (9)
18 years ago
miham
a6ed8732c8
(svn r8085) [Translations] fixed the filenames to the scheme the others use, updated projectfile, sorry
18 years ago
miham
57561ab674
(svn r8084) [Translations] Added nynorsk translation (pollux), renamed norwegian to norwegian bokmal, moved nynorsk to finished languages, and updated project files.
...
Strings pending to nynorsk will be preserved if they are differ from the current translation
18 years ago
rubidium
f66b373b52
(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
18 years ago
miham
ee1021d29c
(svn r8082) WebTranslator2 update to 2007-01-12 19:31:14
...
brazilian_portuguese - 62 changed by fukumori (62)
croatian - 86 fixed, 2 changed by knovak (88)
esperanto - 1 changed by LaPingvino (1)
18 years ago
peter1138
4ef8afa9e1
(svn r8081) -Fix (r8075): Use a copy of the resolver object instead of the using the existing one. This fixes problems with the object scope setting.
18 years ago
Darkvater
a352bf8529
(svn r8080) -Codechange (r8079): Move the *WHOLE* performance code into the #ifndef and some style changes.
18 years ago
KUDr
e896d7814a
(svn r8079) -Fix [YAPF]: float division by zero when calculating stats (YAPF cache hit ratio). Caused BSOD on Win9x. (thanks 3iff for report, Darkvater for help)
18 years ago
rubidium
c48aa5db45
(svn r8078) -Codechange: rewrite UDP part of the network code to make use classes. This is only one of the many steps to really cleanup the network code.
18 years ago
Darkvater
bccef9f948
(svn r8077) -Cleanup: Restructure some switch() statements' default case when they're unreachable
18 years ago
maedhros
4ae861880b
(svn r8075) -Feature: Add support for variable 7E - subroutines. (peter1138)
18 years ago
rubidium
5afd50017d
(svn r8074) -Fix (FS#537, r7555, r5749): revert r7555 because it was really wrong and fix the off-by-one error due to truncation that was supposedly fixed by r7555.
18 years ago
miham
c3b56e0b3a
(svn r8073) WebTranslator2 update to 2007-01-12 08:35:48
...
brazilian_portuguese - 92 changed by fukumori (92)
18 years ago
Darkvater
95deb5eace
(svn r8071) -Fix (r5999): [FS#536] Merging 32bit dates broke the inauguration date of companies in
...
oldloader: "The year the company was inaugurated (full value, not base-1920)"
(Marcin Grzegorczyk's TTD internals site)
18 years ago
glx
2533b4a520
(svn r8070) -Fix r5815: missing initialisation could cause crash when loading 24bpp BMP heightmap
18 years ago
miham
7885defae5
(svn r8069) [Translations] Moved japanese from unfinished, good job translators
18 years ago
miham
1789467090
(svn r8068) WebTranslator2 update to 2007-01-11 19:35:48
...
croatian - 93 fixed by knovak (93)
greek - 10 fixed by Kesnar (10)
japanese - 506 fixed by ickoonite (506)
18 years ago
KUDr
33be1ecfb1
(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the pointer to allocated memory instead of modifying the pointer given as parameter
18 years ago
celestar
91ff746410
(svn r8065) -Feature: The station list does now remember the sort settings
18 years ago
peter1138
8d5a542d9b
(svn r8063) -Codechange: When evaluating newgrf varaction2s the 'last value' should start off at 0, and the result of the operation is remembered.
18 years ago
peter1138
b7e753555d
(svn r8062) -Codechange: change newgrf varaction2 value from signed to unsigned
18 years ago
bjarni
f348fc7b4c
(svn r8061) -Fix r8055: obj-c can't handle templates
...
We will need to figure out a nicer solution for this, but now OSX compiles again
18 years ago
celestar
8694ad9e0d
(svn r8058) -Codechange: Replaced an occurence of (uint32)-1 by UINT_MAX
18 years ago
celestar
6a256ff2df
(svn r8057) -Codechange: Declare the "new" max template as static line.
18 years ago
celestar
1691b2da61
(svn r8056) -Codechange: Remove swap_byte, swap_byte, and siblings (some were not used anyway) and replace them by our SwapT implementation
18 years ago
celestar
2ac0410767
(svn r8055) -Codechange: Replace the different max, dmax, maxu whatever macros by a simple template function max(), that requires two arguments of the same type. While I'm at it change a variable called "max" to "maxval" in a function that calls max().
18 years ago
peter1138
7996c9e560
(svn r8054) -Codechange: Use a template function instead of a macro for evaluating NewGRF var adjusts
18 years ago
miham
ea4cee8d03
(svn r8053) [Translations] Reverted german translators work (moewe2), since it looks suspicious
18 years ago
KUDr
dbe11fb9c7
(svn r8052) - Codechange: RemoveFirstTrack() and RemoveFirstTrackdir() now accept pointer to TrackBits/TrackdirBits instead of reference.
18 years ago
miham
318cfab2a1
(svn r8051) WebTranslator2 update to 2007-01-11 07:24:01
...
german - 1 deleted by moewe2 (1)
greek - 3 fixed by Kesnar (3)
japanese - 273 fixed by ickoonite (273)
18 years ago
belugas
5f9c891734
(svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
...
Only doc landscape_grid.html has been updated, landscape.html will be done latter.
-CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
18 years ago
Darkvater
2ea3531c24
(svn r8049) -Regression (r7369): Removing certain news windows could cause a crash due to only
...
one MoveToNextItem() in DeleteVehicleNews (added in r3757). To work correctly do not
reset _forced_news to INVALID_NEWS when a new item is added, but leave it.
-Codechange: ShowLastNewsMessage has been changed so that it actually works, wraps
around correctly (array as FIFO) and shows the previous news item if the current
news item is open (previously this was doubly shown).
18 years ago
Darkvater
0cb2bc2b23
(svn r8044) Regression (r8038): Crash on allocating bridge memory (peter1138)
18 years ago
rubidium
c5a7eaca65
(svn r8043) -Fix (8028): forgot setting a variable.
18 years ago
orudge
6b58c1c2ff
(svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and TrueBrain for their help)
18 years ago
peter1138
ae0a92b51a
(svn r8041) -Regression (r7564): [NewGRF] check_length should skip further processing if a length is too short, so give the function a return value
18 years ago
miham
72acc8fc65
(svn r8039) WebTranslator2 update to 2007-01-10 19:58:43
...
brazilian_portuguese - 15 changed by fukumori (15)
danish - 23 changed by MiR (23)
greek - 12 fixed by Kesnar (12)
japanese - 282 fixed by ickoonite (282)
slovenian - 1 changed by Necrolyte (1)
turkish - 2 changed by jnmbk (2)
ukrainian - 30 changed by znikoz (30)
18 years ago
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
18 years ago
rubidium
344f70e1af
(svn r8034) -Fix (r8033): aircraft_cmd.c was not renamed.
18 years ago
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago
rubidium
001d858b52
(svn r8030) -Fix: segmentation fault when removing a town in the scenario editor while having the query tool window open for one of the town's tiles.
18 years ago
rubidium
815256b2ae
(svn r8029) -Fix (7759): somehow the old configure script was not removed.
18 years ago
rubidium
4c2b993d1d
(svn r8028) -Fix: overflow of ticks was not handled properly, possibly resulting a non-reacting gameserver/gameclient.
18 years ago
celestar
f3b4cf10b6
(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)
18 years ago
celestar
52d14b3dd0
(svn r8026) -Fix (r2441) When taking up cargo that is transferring, trains will now also have the virtual profit deducted.
18 years ago
maedhros
e221fef08c
(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.
18 years ago
Darkvater
6c3187213d
(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.
18 years ago
miham
fe1ac3c5d1
(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)
18 years ago
peter1138
207f7eb167
(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.
18 years ago
rubidium
293d8ba826
(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.
18 years ago
miham
53576542d1
(svn r7987) [Translations] Slovenian is no longer unfinished (no bad strings)
18 years ago
miham
1a5b13127f
(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)
18 years ago
Darkvater
5acbc88ee1
(svn r7984) -Fix: out-of-bounds read access on _clients array (Quark)
18 years ago
miham
48b4226f5e
(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)
18 years ago
peter1138
739b43b3c2
(svn r7982) -Codechange: Enumify graphics blitter modes.
18 years ago
celestar
ecef824f93
(svn r7976) -Fix: (SF 1629560) Rail vehicles can no longer enter tunnels or bridgeheads with wrong railtype
18 years ago
miham
852139d94b
(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)
18 years ago
Darkvater
f22c963dcf
(svn r7969) *whistle* 20067 has not yet come to pass; it's 2007 (I think my search&replace broke)
18 years ago
Darkvater
7b38ec131a
(svn r7968) -Update copyright/etc information to 2007
18 years ago
Darkvater
43c030f438
(svn r7966) -Fix (r7936): Eh AxisToTrack returns Track not Axis, thanks KUDr
18 years ago
Darkvater
7156749043
(svn r7936) -Fix (r4987, old-rev): Only update the signals and YAPF cache on a DC_EXEC action for bridge-building
18 years ago
rubidium
432ea5bbd6
(svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used to test the new masterserver)
18 years ago
rubidium
8d41fe225e
(svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations.
18 years ago
Darkvater
a05ab3028a
(svn r7930) -Fix: [FS#520] Wrong GRF flag set for gradual loading (mart3p)
18 years ago
miham
5a2d86f8a3
(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)
18 years ago
peter1138
86bad22c89
(svn r7901) -Codechange: Remove some misplaced externs and use extern, not VARDEF, in the place they should be...
18 years ago
miham
f8642fd784
(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)
18 years ago
rubidium
8ce23a5881
(svn r7888) -Change: add documentation about the 'on-the-wire' structure of the network game information request and reply packets.
18 years ago
bjarni
674dcfa5d2
(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)
18 years ago
bjarni
7dff5fccd3
(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)
18 years ago
miham
13db63f63b
(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)
18 years ago
truelight
27ccf59460
(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking
18 years ago
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.
18 years ago
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.
18 years ago
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)
18 years ago
rubidium
7b8032d6d4
(svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket directly.
18 years ago
Darkvater
8f945f53e2
(svn r7843) -Codechange (r7840): left out word 'file' making crash-text look un-english-ish.
18 years ago
Darkvater
07994ea72a
(svn r7840) -Codechange: Change the crash window a bit. Tell about Flyspray and crash.dmp. Remove
...
text about submitting crash report.
18 years ago
rubidium
73079f83bc
(svn r7836) -Codechange: some constness for network/core.
18 years ago
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.
18 years ago
rubidium
bfe4dcbc39
(svn r7833) -Fix (r7829): forgot to add debug.h to the includes.
18 years ago
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).
18 years ago
rubidium
85d1768b34
(svn r7830) -Codechange: let NetworkCoreInitialize return a bool, so we have to set _network_available only once.
18 years ago
rubidium
627ebe8430
(svn r7829) -Codechange: move the network (core) initialization/shutdown functions into network/core, so the can be reused in the masterserver_updater.
18 years ago
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)
18 years ago
rubidium
ae9750e69b
(svn r7825) -Codechange: make NetworkUDPClose close a single UDP socket. Use NetworkUDPStop to close all opened udp sockets (those were called NetworkUDPClose).
18 years ago
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.
18 years ago
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.
18 years ago
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)
18 years ago
rubidium
6edd50e722
(svn r7818) -Fix (r7751): wrote some data to the wrong network packet.
18 years ago
Darkvater
f0705977b3
(svn r7817) -Fix (r7573): Bridge merge broke building canals at level 0.
18 years ago
glx
1987b32a8d
(svn r7812) -Fix: rail station build window was not correctly updated after station_spread change
18 years ago
KUDr
db02336ef1
(svn r7810) -Fix: FS#504 Building airport whose size exceeds max station spread-out caused assert. (Zuu)
18 years ago
miham
d55282cc92
(svn r7806) [Translations] Lithuanian is no longer unfinished, thanks for the current translators! Good work, keep it up!
18 years ago
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)
18 years ago
rubidium
8080f6a159
(svn r7802) -Feature: make it possible to override the bind address and port of a dedicated server from the command line.
18 years ago
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).
18 years ago
peter1138
dd048e8c31
(svn r7800) -Fix (r7787): Remove Czech strings with .news or .subs case.
18 years ago
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.
18 years ago
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.
18 years ago
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.)
18 years ago
peter1138
789b76d36b
(svn r7794) -Cleanup: Remove obsolete, never-used landscape rotation code. And spell obsolete correctly.
18 years ago
peter1138
8e625b8b42
(svn r7793) -Cleanup: Remove obsolute, never-used old spritecache LRU code
18 years ago
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)
18 years ago
Darkvater
84ddb87726
(svn r7772) -Fix (r7759): [win32] Paths to icon files were wrong.
18 years ago
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
18 years ago
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.
18 years ago
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.
18 years ago
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.
18 years ago