summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
2019-03-16Remove: OPFCharles Pigott
2019-03-05Remove: MorphOS / AmigaOS supportPatric Stout
In 10 years there is no commit to change how MorphOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), MorphOS is no longer support. There is an SDL2 port for MorphOS, but it is not maintained by upstream SDL2, and nobody can currently test it out. If anyone wants to re-add MorphOS, please do (revert this patch, fix the problems, and create a Pull Request). If you need any help doing so, let us know! It is not that we don't like MorphOS, it is that we don't have anyone fixing the problems :(
2019-02-23Add: Show performance of AI and GS in framerate windowNiels Martin Hansen
2019-02-02Codechange: Additional type safety for saveload version variables.Peter Nelson
2019-01-30Fix: don't show OS error box for non GUI video driversglx
2019-01-17Fix: Some code and comment typosnikolas
Found with codespell
2019-01-11Change: Animate text effects by real time instead of game ticks.Peter Nelson
2019-01-11Change: Switch various window timers to real time instead of game ticks.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2019-01-10Add #4115: default company colour setting (#6998)Gabda87
Works only in single player.
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-11-01Fix #6460: [AI] Add start_date parameter for Random AIs on new gameSamuXarick
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-10-27Fix e00908f: Visual C++ 2015 compile errorNiels Martin Hansen
Microsoft Visual C++ 2015 Update 3 (and possibly other versions) consider a struct member undefined in a static_assert in the struct body. Moving the static_assert to a member function solves the issue.
2018-10-11Fix #6898: Replace atoi() with strtoul()Miguel Horta
Normalize type and parsing of generation_seed across all files Add assert_compile() to ensure correct type
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
2018-06-24Change: Modernise music control logic implementation (#6839)Niels Martin Hansen
Rewrite of almost the entire music control logic to a more modern style, hopefully also easier to understand. The old playlist handling made it look like arcane magic, which it doesn't have to be. - Playlists are now stored in std::vector of objects instead of arrays of bytes with magic sentinel values, that need to be rotated around all the time. Position in playlist is stored as a simple index. - The theme song is now reserved for the title screen, it doesn't play on any of the standard playlists, but is still available for use on custom playlists. - When the player enters/leaves the game from the main menu, the music always restarts. - Playback state (playing or not) is kept even if music becomes unavailable due to an empty playlist (or an empty music set), so it can restart immediately if music becomes available again. - The shuffle algorithm was changed to a standard Fisher-Yates. - Possibly better behavior when editing a custom playlist while it's playing. - Custom playlists should be compatible. - Framework for supporting custom playlists with songs from multiple music sets.
2018-04-29Remove: WinCE supportPatric Stout
2018-04-29Remove: PSP supportPatric Stout
2018-04-21Cleanup: Use new filename for README file. (#6738)Ricardo N Feliciano
2017-01-14(svn r27732) -Change: Turn the message about 'missing baseset sprites' from ↵frosch
a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
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 r27651) -Codechange: Introduce methods for setting the name and title ↵alberth
of _file_to_saveload.
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2016-09-04(svn r27647) -Codechange: Introduce file operations, and use it to replace ↵alberth
most of SaveLoadDialogMode
2016-09-04(svn r27640) -Codechange: Remove another use of _saveload_mode in the ↵alberth
loading code.
2016-09-04(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType ↵alberth
function.
2014-09-16(svn r26828) -Fix: memory leak when passing -c multiple timesrubidium
2014-08-13(svn r26729) -Feature: Warn about missing industries after generating a map.alberth
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-27(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video ↵frosch
modes. -Remove: [win32] fullscreen_bpp setting, which is replaced by above setting. -Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26506) -Codechange: replace most of vsnprintf with vseprintfrubidium
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.
2014-02-23(svn r26369) -Fix-ish: Do not run scripts during command replay.frosch
2014-02-09(svn r26326) -Fix [FS#5871]: when autosaving the message about a save ↵rubidium
already happening could be shown, even though the code's intention was to not show it (MJP)
2014-02-07(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity ↵frosch
when they are not supposed to, and truncate cargo appropiately if they are allowed to.
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2014-01-02(svn r26205) -Feature: SSE 4.1 sprite sorter, improving the sorting ↵rubidium
performance significantly (MJP) For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch improves the performance of Pile, Treham and Hamac test save games by about 10% in over-all run time at fast forward at 1920x1080 when zoomed out and when trees are not disabled.
2013-12-23(svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArrayfrosch
2013-11-25(svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the ↵rubidium
driver factory instatiations
2013-11-25(svn r26099) -Codechange: make NewGRF scanner management slightly easierrubidium
2013-11-25(svn r26098) -Fix: close the log file when OpenTTD was forked and finally closedrubidium
2013-11-25(svn r26097) -Fix: another minor memory leak (when pressing cancel in the ↵rubidium
bootstrap window)
2013-11-24(svn r26091) -Fix (r26089): double frees... woospierubidium
2013-11-24(svn r26089) -Fix: a number of minor memory leaksrubidium
2013-07-06(svn r25570) -Add: cache for ParagraphLayouts.frosch
2013-07-02(svn r25553) -Fix [FS#5530]: provide a warning when no vehicles are ↵rubidium
available, and tell what to do in that case