summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
AgeCommit message (Collapse)Author
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2019-04-06Codechange: Replace custom mutex code with C++11 mutex'es.Michael Lutz
A conforming compiler with a valid <mutex>-header is expected. Most parts of the code assume that locking a mutex will never fail unexpectedly, which is generally true on all common platforms that don't just pretend to be C++11. The use of condition variables in driver code is checked.
2019-02-08Codechange: Make the style of MakeVoid calls uniform (#7192)Gabda
2016-10-30(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) ↵frosch
threads. (JGR)
2016-09-04(svn r27653) -Fix(r27647): Rename FileOperation enum and values to ↵alberth
SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2016-08-15(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.frosch
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-26(svn r26518) -Change: make genworld messages on the dedicated server ↵rubidium
disable-able by using -dnet=0
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-02-23(svn r26371) -Fix [FS#5831]: Calling DoCommandP during the gameloop cleared ↵frosch
pending persistent storage changes.
2013-12-23(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArrayfrosch
2012-04-17(svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile ↵michi_cc
loop. (monoid)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23611) -Add: run the begin of the script already while generating, and ↵truebrain
don't sleep on DoCommand while doing so
2011-12-19(svn r23609) -Add: save/load all GameScript related materialtruebrain
2011-12-19(svn r23601) -Fix: fix the conflict in window numbertruebrain
2011-12-10(svn r23480) -Fix [FS#4594]: replace OS error messages with internal error ↵rubidium
messages when that's possible
2011-12-10(svn r23470) -Codechange: move declaration of SwitchToMode to a header ↵rubidium
instead of declaring it in 6 other files
2011-11-30(svn r23376) -Remove: on popular demand, remove my (revoked) name from ↵truebrain
comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
2011-08-24(svn r22819) -Fix: include the header where it should be includedrubidium
2011-08-24(svn r22818) -Fix [FS#4742] (r22796, rlongago): don't spawn threads for ↵rubidium
world generation and NewGRF scanning when using the dedicated or null video driver regardless of the used blitter
2011-08-21(svn r22789) -Codechange: rename generation window class to modal progressrubidium
2011-08-21(svn r22788) -Codechange: move modal progress related functions and ↵rubidium
variables to progress.cpp/h
2011-08-21(svn r22786) -Codechange: rename genworld mutices to model_progress muticesrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-18(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually ↵rubidium
saved in case threading is enabled, which is enabled by default
2010-09-17(svn r20822) -Fix [FS#3707]: deadlock when aborting map generation on windowsyexo
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-22(svn r20591) -Codechange: make sure _date_fract is set when SetDate is ↵rubidium
called. Some places wouldn't reset _date_fract correctly at all
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-02(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed ↵alberth
addition.
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
2010-06-05(svn r19934) -Fix [FS#3857]: When 'pause on new game' is set, pause the game ↵frosch
before CleanupGeneration() to avoid conflicts with concurrent GUI code.
2010-06-05(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in ↵frosch
sync during GUI operation.
2010-04-08(svn r19589) -Change: add some more useful information to the desync log and ↵rubidium
unify the formatting
2010-01-18(svn r18861) -Doc: more doxygen documentation in genworld filessmatz
2010-01-17(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs ↵smatz
and typedefs
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-15(svn r18506) -Fix [FS#3368]: no error message was created for the first ↵rubidium
fatal NewGRF error.
2009-11-21(svn r18207) -Fix [FS#3324] (r11961): [NewGRF] When starting a new game the ↵rubidium
values of action D variable 13 were incorrect
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-01(svn r17339) -Codechange: move thread related files to their own directory ↵rubidium
(like done for video, music, sound, etc)
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-06(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and ↵rubidium
make the help show how it works and how it doesn't work