summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-14(svn r8139) -Cleanup: simplify auto_ptr initialization (Tron)KUDr
2007-01-14(svn r8138) -Cleanup: comment style correctionsKUDr
2007-01-14(svn r8137) -Fix (FS#551, r4259, r4320): roadstop->num_vehicles was wrong ↵rubidium
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.
2007-01-14(svn r8136) -Codechange: Station spread rectangle manipulators turned into ↵KUDr
StationRect::methods.
2007-01-14(svn r8135) -Fix (r7582): Don't assert on duplicate non-static grfs when ↵Darkvater
removing duplicates as the PEBKAC effect can result in the user adding the same grf's in the config file.
2007-01-14(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console outputDarkvater
2007-01-14(svn r8133) -Fix [FS#535]: "out of sprite memory" warning messages due to ↵Darkvater
incorrect assumption of requested memory for sprites (smatz)
2007-01-14(svn r8132) -Fix (r6824): The game could crash when the chat key (<ENTER>) ↵Darkvater
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.
2007-01-14(svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data ↵KUDr
member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped.
2007-01-14(svn r8130) Provide struct GoodsEntry with a constructortron
2007-01-14(svn r8129) -Codechange: Change data tables to use split off palette map. And peter1138
include a file missed last time...
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
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.
2007-01-14(svn r8127) -Fix (r8125): removed redundant free() call which is also in ↵KUDr
Station destructor (Tron)
2007-01-14(svn r8126) -Fix (r8125): missing #include fixes compilation error on g++ ↵KUDr
(still some warnings, working on it)
2007-01-14(svn r8125) -Codechange: Station is now constructed/destroyed using ↵KUDr
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(svn r8124) -Add [DEBUG]: _debug_station_levelKUDr
2007-01-14(svn r8123) -Fix (r117): FindFirstBit now really returns the first bit. ↵maedhros
Fixes bug FS#538.
2007-01-14(svn r8122) -Fix[LANG]: terror in czech lang file (again)KUDr
2007-01-14(svn r8121) WebTranslator2 update to 2007-01-14 19:39:35miham
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(svn r8120) -Fix (r8055): Station cargo waiting value clamp should be signed ↵peter1138
not unsigned. This resulted in cargo magically appearing...
2007-01-14(svn r8119) -Fix (r8101): Uninitializing windows should be called before ↵Darkvater
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(svn r8118) -Codechange: change the ordering of the network list a little:rubidium
- 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(svn r8117) -Fix (r8114): 'no matching operator delete found' warning on VC8KUDr
2007-01-14(svn r8116) Undo r8113tron
2007-01-14(svn r8114) Allocate struct GRFText in the C++ waytron
2007-01-14(svn r8113) Fix the #include path to table/strings.htron
2007-01-14(svn r8112) -Codechange: MSVC solution files will now make it so that ↵belugas
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-13(svn r8111) -Fix r8106: silence warningsglx
2007-01-13(svn r8110) -Codechange: direct Vehicle::current_order.type changes (to ↵KUDr
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(svn r8109) -Fix r5693: ignore .hpp to avoid problems with depsglx
2007-01-13(svn r8108) WebTranslator2 update to 2007-01-13 19:32:03miham
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(svn r8107) -Codechange (r8106): Show the MD5SUM of the original GRF (saved ↵Darkvater
in savegame) instead of that of the replacement so a user can still go hunt for the original GRF if needed.
2007-01-13(svn r8106) -Feature/Fix: Add the ability to load savegames when you don't ↵Darkvater
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(svn r8105) -Codechange: Change FindGRFConfig so that if md5sum parameter is ↵Darkvater
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(svn r8104) -Fix: missing helpers.hpp added into source.list and VCKUDr
2007-01-13(svn r8103) -Docchange: Include station tile types used by RichK's airportspeter1138
2007-01-13(svn r8102) -Cleanup: Remove unreachable code (r8096), useless castDarkvater
2007-01-13(svn r8101) -Fix (runknown): Plug potential memleaks when calling ↵Darkvater
UnInitWindowSystem. The function directly deleted all windows instead of calling their respective deallocators which could then in turn any used memory.
2007-01-13(svn r8100) -Propchange: EOL style changed to LF for /projects/generateKUDr
2007-01-13(svn r8099) -Fix (r8092): source.list updated to reflect move of header ↵KUDr
files (thanks stillunknown). vcproj files updated too (thanks glx)
2007-01-13(svn r8098) -Fix (r6964): For editboxen, always fill the background with ↵Darkvater
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(svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). ↵tron
Additionally the test takes O(1) instead of O(n) now
2007-01-13(svn r8096) -Codechange: Invert the check if you are allowed to clear a road ↵Darkvater
tile so there are not so many negations (too confusing) and added some comments to further clarify what happens.
2007-01-13(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h ↵KUDr
to gfx.h
2007-01-13(svn r8094) -Feature/Fix (r7523): Show the activated status of the GRF list ↵Darkvater
after pressing 'apply' in the newgrf window, instead of the local list.
2007-01-13(svn r8093) -Codechange: Add a function to get a string representation of an ↵Darkvater
MD5SUM and use it.
2007-01-13(svn r8092) -Codechange: header files with miscellaneous template classes ↵KUDr
(smart pointers, blob, array, hashtable, etc.) moved from src/yapf to src/misc as they can now be used anywhere.
2007-01-13(svn r8091) -Propchange: EOL style changed to LF for config.lib (fixes ↵KUDr
./configure errors when sharing WC between linux and windows)
2007-01-13(svn r8090) -[win32] Fix (r8089): for *nprintf 'ret = count' NOT 'ret = 0'...Darkvater
2007-01-13(svn r8089) -[win32] MS-borkedness: All *nprintf functions are broken, but ↵Darkvater
we didn't test to fix it ourselves when 'len = count'.