Commit Graph

5817 Commits

Author SHA1 Message Date
KUDr 1eac31a1d8 (svn r8126) -Fix (r8125): missing #include fixes compilation error on g++ (still some warnings, working on it) 2007-01-14 19:29:21 +00:00
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). 2007-01-14 19:18:50 +00:00
KUDr d57b290474 (svn r8124) -Add [DEBUG]: _debug_station_level 2007-01-14 19:13:36 +00:00
maedhros d289816deb (svn r8123) -Fix (r117): FindFirstBit now really returns the first bit. Fixes bug FS#538. 2007-01-14 19:06:11 +00:00
KUDr 04d2d80891 (svn r8122) -Fix[LANG]: terror in czech lang file (again) 2007-01-14 18:57:39 +00:00
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)
2007-01-14 18:41:48 +00:00
peter1138 bfa618ef89 (svn r8120) -Fix (r8055): Station cargo waiting value clamp should be signed not unsigned. This resulted in cargo magically appearing... 2007-01-14 18:38:40 +00:00
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
2007-01-14 17:17:30 +00:00
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.
2007-01-14 16:44:52 +00:00
KUDr 96ea43d1b2 (svn r8117) -Fix (r8114): 'no matching operator delete found' warning on VC8 2007-01-14 13:21:02 +00:00
tron b9832e10bd (svn r8116) Undo r8113 2007-01-14 13:09:17 +00:00
tron 2fa5337474 (svn r8114) Allocate struct GRFText in the C++ way 2007-01-14 08:37:16 +00:00
tron 7eca68cfe9 (svn r8113) Fix the #include path to table/strings.h 2007-01-14 08:34:38 +00:00
belugas a7914ca0b4 (svn r8112) -Codechange: MSVC solution files will now make it so that openttd will be THE startup project.
Take note that it will only be the case on a clean checkout, without any other files than those coming from that checkout.
2007-01-14 01:27:19 +00:00
glx f833de284f (svn r8111) -Fix r8106: silence warnings 2007-01-13 21:28:46 +00:00
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. 2007-01-13 18:55:54 +00:00
glx 1f0206f62d (svn r8109) -Fix r5693: ignore .hpp to avoid problems with deps 2007-01-13 18:44:38 +00:00
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)
2007-01-13 18:32:50 +00:00
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. 2007-01-13 17:44:11 +00:00
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.
2007-01-13 17:42:50 +00:00
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
2007-01-13 17:23:02 +00:00
KUDr ae41162322 (svn r8104) -Fix: missing helpers.hpp added into source.list and VC 2007-01-13 16:23:24 +00:00
peter1138 85c466b1d1 (svn r8103) -Docchange: Include station tile types used by RichK's airports 2007-01-13 16:09:53 +00:00
Darkvater 5863a6088d (svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast 2007-01-13 15:55:22 +00:00
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. 2007-01-13 15:50:36 +00:00
KUDr 64c30ae737 (svn r8100) -Propchange: EOL style changed to LF for /projects/generate 2007-01-13 15:24:31 +00:00
KUDr 0108e5f85c (svn r8099) -Fix (r8092): source.list updated to reflect move of header files (thanks stillunknown). vcproj files updated too (thanks glx) 2007-01-13 15:22:36 +00:00
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. 2007-01-13 15:00:40 +00:00
tron abb644771a (svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). Additionally the test takes O(1) instead of O(n) now 2007-01-13 15:00:16 +00:00
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. 2007-01-13 14:48:47 +00:00
KUDr 0edc029f9f (svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h to gfx.h 2007-01-13 14:43:46 +00:00
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.
2007-01-13 14:01:05 +00:00
Darkvater 5ed33e549e (svn r8093) -Codechange: Add a function to get a string representation of an MD5SUM and use it. 2007-01-13 13:47:57 +00:00
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. 2007-01-13 13:33:36 +00:00
KUDr 38a9d09214 (svn r8091) -Propchange: EOL style changed to LF for config.lib (fixes ./configure errors when sharing WC between linux and windows) 2007-01-13 13:23:56 +00:00
Darkvater c09b7e7fac (svn r8090) -[win32] Fix (r8089): for *nprintf 'ret = count' NOT 'ret = 0'... 2007-01-13 13:13:32 +00:00
Darkvater 120f57b865 (svn r8089) -[win32] MS-borkedness: All *nprintf functions are broken, but we didn't test to fix it ourselves when 'len = count'. 2007-01-13 13:06:18 +00:00
tron 4ee1050976 (svn r8088) -Regression (r8087): Fix japanese translation by adding missing { and removing spurious 0 2007-01-13 10:38:58 +00:00
miham dbeb30fcab (svn r8087) [Translations] Japanese translation manually updated by ickoonite 2007-01-13 07:31:35 +00:00
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)
2007-01-13 07:19:26 +00:00
miham a6ed8732c8 (svn r8085) [Translations] fixed the filenames to the scheme the others use, updated projectfile, sorry 2007-01-12 22:32:58 +00:00
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
2007-01-12 22:27:27 +00:00
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. 2007-01-12 20:19:49 +00:00
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)
2007-01-12 18:32:39 +00:00
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. 2007-01-12 16:44:08 +00:00
Darkvater a352bf8529 (svn r8080) -Codechange (r8079): Move the *WHOLE* performance code into the #ifndef and some style changes. 2007-01-12 16:30:41 +00:00
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) 2007-01-12 15:43:00 +00:00
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. 2007-01-12 14:30:01 +00:00
Darkvater bccef9f948 (svn r8077) -Cleanup: Restructure some switch() statements' default case when they're unreachable 2007-01-12 14:28:00 +00:00
maedhros 4ae861880b (svn r8075) -Feature: Add support for variable 7E - subroutines. (peter1138) 2007-01-12 11:20:34 +00:00