Merge pull request #200 from AngeloG/master

Clearer compiling instructions for Windows and fix for bottom toolbar
This commit is contained in:
Ted John 2014-07-10 07:47:17 +01:00
commit 40c3356ea4
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,7 @@ The aim is to completely decompile RollerCoaster Tycoon 2 into C so that cross-p
### Windows:
1. Check out the repository. This can be done using [GitHub Windows](https://windows.github.com/) or [other tools](https://help.github.com/articles/which-remote-url-should-i-use).
2. Download the [SDL2 development library for Visual C++]((http://www.libsdl.org/release/SDL2-devel-2.0.3-VC.zip)) and copy it to a new directory called "sdl" in the repository. This directory should contain "include". The path should resemble ```\OpenRCT2\sdl\include\```.
3. Open the solution in the projects directory (**openrct2.vcxproj**) with Visual C++.
3. Open the solution in the projects directory (**openrct2.sln**) with Visual Studio.
4. [Select the 'Release' configuration](http://msdn.microsoft.com/en-us/library/wx0123s5.aspx) and click Build -> Rebuild Solution. The dropdown menu to enable the 'release' configuration is towards the top of the VS Express window, near the "TEST" menu.
5. Start debugging. Press the "Local Windows Debugger" button with a green "play" icon next to it. If Visual Studio shows a warning about *openrct2.exe* not having debug information, press Continue.
6. When OpenRCT2 is run for the first time, it creates a settings file in `My Documents/OpenRCT2`. If it can't find the original installation of RCT2, you will need to edit `config.ini` in that folder and change the value of `game_path` to where RCT2 is installed.

View File

@ -43,7 +43,7 @@ const money32 research_cost_table[4] = {
};
/**
*
* Pay an amount of money.
* rct2: 0x069C674
* @param amount (eax)
* @param type passed via global var 0x0141F56C, our type is that var/4.
@ -62,6 +62,7 @@ void finance_payment(money32 amount, rct_expenditure_type type)
RCT2_GLOBAL(0x009A9804, uint32) |= 1; // money diry flag
window_invalidate_by_id(WC_FINANCES, 0);
window_invalidate_by_id(0x40 | WC_BOTTOM_TOOLBAR, 0);
}
/**