Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-27 | Codechange: Replace assert_compile macro with static_assert | Charles Pigott | |
2020-04-10 | Fix a5681d3e: Make goal question ID use 16 bits again (#8072) | Pavel Stupnikov | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-07-14 | Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID ↵ | dP | |
< 2**16 | |||
2019-04-29 | Codechange: Remove Company/OwnerByte types | Charles Pigott | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric Stout | |
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to. | |||
2018-04-28 | Feature: Add GS method to question a single client (#6748) | Pavel Stupnikov | |
2014-04-25 | (svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵ | rubidium | |
the return is not NULL) | |||
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-27 | (svn r26382) -Fix [FS#5932] (r25372): All goal commands invalidated the goal ↵ | frosch | |
list of company 0. | |||
2013-11-16 | (svn r26012) -Add: new goal type that show a story page when clicked | zuu | |
2013-09-13 | (svn r25761) -Change: Disable story/goal buttons when there is no content to ↵ | zuu | |
show instead of when there is zero companies | |||
2013-05-26 | (svn r25296) -Feature: Goals can now have a progress text and/or be marked ↵ | zuu | |
as completed. | |||
2012-02-15 | (svn r23950) -Fix (r23731) [FS#5063]: never show GSGoal::Question() to ↵ | truebrain | |
spectators. Accidently INVALID_COMPANY == COMPANY_SPECTATOR | |||
2012-01-21 | (svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question ↵ | rubidium | |
window's title from a (small) set of options | |||
2012-01-03 | (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files | rubidium | |
2012-01-03 | (svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) ↵ | truebrain | |
company(ies). It can contain random text, and at most 3 buttons from a collection of 17 | |||
2011-12-23 | (svn r23665) -Fix (r23664): revert, and apply other fix, which allows ↵ | truebrain | |
switching companies safely in SinglePlayer | |||
2011-12-23 | (svn r23664) -Fix: adding goals with a company were still added for all ↵ | truebrain | |
companies. Tnx to Zuu for reporting (although cryptic :D) | |||
2011-12-19 | (svn r23630) -Add: a Goal GUI to show your current goals | truebrain | |