summaryrefslogtreecommitdiff
path: root/src/misc.cpp
AgeCommit message (Collapse)Author
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-11-26(svn r11527) -Codechange: Split the bitmath functions of to their own filesskidd13
2007-11-21(svn r11488) -Codechange: Spilt the random functions out to seperate fileskidd13
-Codechange: Make the mersenne twister more readable -Codechange: Unify the seeding process of random
2007-11-15(svn r11440) -Codechange: replace magic numbers with enumified ↵rubidium
WindowHighlightMode constants. Patch by SmatZ.
2007-09-24(svn r11157) -Fix: some random data was printed because printf "thought" ↵rubidium
that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.
2007-09-01(svn r11031) -Codechange: reduce the amount of duplication of bit counting ↵rubidium
functions. Based on patches by skidd13, SmatZ and Belugas.
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
2007-06-22(svn r10276) -Codechange: made a counter based on milliseconds and ↵truelight
independent of the game-state to base double-click and TGP Generation Process on -Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-12(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace ↵maedhros
some less efficient loops.
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-03-21(svn r9388) -Codechange: variable scope and type, and standardify all ↵peter1138
CargoID loops.
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-10(svn r8660) -Fixtron
-Codechange: Remove _avail_aircraft Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it. Further it is unnecessary to store it in savegams.
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
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 r8123) -Fix (r117): FindFirstBit now really returns the first bit. ↵maedhros
Fixes bug FS#538.
2007-01-11(svn r8050) -Codechange: Rename map member extra to m6, since its usage has ↵belugas
been widden. Only doc landscape_grid.html has been updated, landscape.html will be done latter. -CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)