summaryrefslogtreecommitdiff
path: root/functions.h
AgeCommit message (Collapse)Author
2005-01-13(svn r1497) -Fix: [1101179] Crash if generating land while industry window ↵darkvater
is open. This also happened for towns and the land information window -Added DeleteWindowByClass() function that deletes all windows of a given class
2005-01-13(svn r1496) -Fix: highscore no longer crashes in network games with a ↵darkvater
dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game -Fix: fixed some compiler warnings -Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
2005-01-12(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared ↵truelight
it for dynamic arrays
2005-01-11(svn r1479) -Added highscore chart (accessible from the difficulty window) ↵darkvater
with top5 companies for a given difficulty (select the difficulty in the menu) -Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while -These values are saved in hs.dat; added read/write functions for it -Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-03(svn r1354) Use WindowClass/WindowNumber to store/pass window class/number, ↵tron
not some arbitrary data types
2004-12-23(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)truelight
Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives'
2004-12-20(svn r1194) Feature: You can now add and remove servers from the server ↵dominik
list. Those will be remembered until you delete them by pressing the Delete key.
2004-12-13(svn r1045) -Fix: OpenTTD compiles again under VC6 (sign_de)truelight
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-03(svn r907) Sprinkle holy ANSI water:tron
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
2004-11-21(svn r724) Remove restriction that a tile can only accept 3 cargo types.tron
This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-15(svn r631) Merge r440, r444, r485, r630 to trunk:tron
r440 Move screenshot function declarations to new file screenshot.h Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values r485 Remove unused field from struct ScreenshotFormat
2004-11-14(svn r612) [newgrf] Fix: custom waypoints on monorail/maglev are displayed ↵dominik
correctly
2004-11-14(svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name ↵darkvater
actually makes some sense and is also compatible with TTDPatch (pasky).
2004-11-14(svn r585) -newgrf: GUI for selecting custom waypoint graphics to use. Patch ↵darkvater
by dominik81 and pasky.
2004-11-14(svn r579) Remove now unused function memswap()tron
2004-11-05(svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunktron
This includes 2 fixes -Fix: [1048596] Monorail and Maglev sounds are swapped (r511) -Add special case to load the jackhammer sound (r478) The rest are cleanups und enumeration to make merging possible/easier
2004-09-13(svn r240) -Fix: desync on subsidy generationsignde
-Fix: sometimes commands got executed to early on some clients -Feature: universal event packets for transmitting subsidys
2004-09-12(svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now ↵darkvater
default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc).
2004-09-12(svn r212) -Fix: Network-gui fixes (sign_de)darkvater
-Fix: any disabled button in a window doesn't receive WE_CLICK events -Added network.h
2004-09-11(svn r209) -Fix: network code based desyncsignde
-Feature: framesync packets to hold the clients framecount near the servers -Fix: command queue now aligns the commands to be processed right after an sync or framesync packet -Fix: added stubs for compiling without network
2004-09-11(svn r207) -Codechange: randomizer handlingsignde
-Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
2004-09-08(svn r186) -Add: debug 'net' for network debug (sign_de)truelight
-Fix: desync problem (server was not waiting for clients) (sign_de)
2004-09-07(svn r176) -Fix: network_gui const and warnings fixes (Tron)darkvater
2004-09-05(svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs)truelight
-Fix: some minor fixes around GetTileTrackStatus (blathijs)
2004-09-03(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, ↵darkvater
open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)
2004-08-24(svn r132) -Fix: [1014278] TileAddWrap() gave wrong results. Fixed now.truelight
2004-08-22(svn r106) New network core (by sign_de)dominik
Features: * network core is dynamicly loaded when needed (-n isn't needed anymore) for easy switching between single and multiplayer. But commandline shortcuts are still enabled: -n = autodetect network server -n [ip] = connect to the server * udp now uses 2 different ports - you can run 1 server and serveral clients on one pc - the clients udp-socket gets unloaded when the network game starts - the servers udp-sockets remains online to allow the network gui to detect itself * new gameinfo structure this struct is available for every online/lan game * dynamic NetworkGameList
2004-08-10(svn r3) -[1005611] Player Window patch: When looking in dropdownlist for ↵darkvater
player stuff, it will say for all human players (Player #), not only for the first 2
2004-08-10(svn r2) -Fix [993829] UDP Fixes (lucaspiller)darkvater
-Fix change 255/0xFF to OWNER_SPECTATOR for spectator stuff (TrueLight)
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight