Commit Graph

31 Commits

Author SHA1 Message Date
rubidium
1b27095c83 (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string. 2007-06-21 14:54:51 +00:00
rubidium
8220153e6b (svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder. 2007-06-18 22:49:55 +00:00
rubidium
23727da96f (svn r10208) -Codechange: replace int32 with Money where appropriate. 2007-06-18 21:44:47 +00:00
rubidium
7dda2d93da (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money. 2007-06-18 21:00:14 +00:00
rubidium
773a7c9cb6 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 2007-06-18 19:53:50 +00:00
rubidium
3ccc83e640 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 2007-06-18 10:48:15 +00:00
bjarni
e1b7b7aecc (svn r10080) -Cleanup: replaced magic numbers in SubtractMoneyFromAnyPlayer() with enum values 2007-06-10 09:37:09 +00:00
peter1138
7273802f0c (svn r9956) -Codechange: Add tram livery schemes 2007-05-27 09:33:41 +00:00
rubidium
21546a66f3 (svn r9917) -Codechange: prepare some more areas for more road types. 2007-05-25 08:13:01 +00:00
rubidium
a7edb4e914 (svn r9879) -Fix (r9874): global autoreplace was little broken ;) 2007-05-19 12:46:48 +00:00
rubidium
8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 2007-05-19 09:40:18 +00:00
rubidium
5a46c763f0 (svn r9760) -Codechange: remove the need for saving some vehicle variables. 2007-05-01 16:35:14 +00:00
belugas
76faa0f759 (svn r9664) -Documentation: Doxygen corrections,errors and omissions 2007-04-17 21:09:38 +00:00
truelight
9d7497c837 (svn r9529) -Fix [FS#705]: when 2 clients joined together, the second asserted on the NewCompany command of the first 2007-03-30 22:17:47 +00:00
belugas
e9295b82ff (svn r9391) -Documentation : correct Doxygen of comments and @file inclusion. Time for P and Q files 2007-03-21 17:42:43 +00:00
rubidium
f64f9fad4f (svn r9377) -Fix (r9376): the off-by-one error was also present at another location :( 2007-03-20 16:43:20 +00:00
rubidium
36cea84b11 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 2007-03-08 16:27:54 +00:00
rubidium
4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 2007-03-07 11:47:46 +00:00
rubidium
5b4b9cbd5c (svn r8969) -Codechange: rework of the player face bits.
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
 - replace tons of ifs/switches/magic numbers by table lookups
2007-03-02 01:17:11 +00:00
rubidium
1a3763d258 (svn r8892) -Fix (r8879): swapped the eye colour and eyebrow bits. 2007-02-25 09:06:13 +00:00
KUDr
856ecd41e8 (svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto 2007-02-24 19:43:50 +00:00
rubidium
d1f56bb45b (svn r8879) -Codechange: make DrawPlayerFace easier to read. 2007-02-24 14:53:32 +00:00
belugas
b1b5aecae9 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 2007-02-23 01:48:53 +00:00
bjarni
f626458af7 (svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
-The user will notice the following changes:
      All vehicle types behaves in the same way
      Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine
      All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF)
      Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list

   -The code changes:
      Instead of looping all engines all the time, each list generates a list like the build windows
        This ensures consistent list generation since only one function can loop all engines
      Unified code for all vehicle types
      It now use the lists to call the drawing code in the build vehicle window
      Works on selected EngineIDs instead of selected index in the list
2007-02-06 11:11:12 +00:00
belugas
e8af755d7f (svn r8455) -Codechange: Give a more meaningful name (railveh_type)to member flags of RailVehInfo, as well as changing the code to reflect the fact that it was not a flag but rather a one value only variable. Doing so, some evaluations have been simplified.
-Codechange: Add and use RAILVEH_SINGLEHEAD when railveh_type is set to 0, which was implicit before.
-Cleanup: Remove some extraneous parenthesis.
2007-01-30 11:53:35 +00:00
tron
7fffe8b3d4 (svn r8385) -Fix
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
2007-01-24 07:14:09 +00:00
maedhros
cf06eae3bb (svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
2007-01-21 11:49:18 +00:00
bjarni
b10556a90e (svn r8155) -Fix: fixed compilation when --disable-network is in use 2007-01-16 15:20:22 +00:00
peter1138
ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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 19:57:49 +00:00
rubidium
a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
KUDr
07c30785ab (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 2007-01-10 18:12:09 +00:00