Updated VS project file, fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
28e75aa40d
commit
2e48901c69
@ -73,8 +73,8 @@ int estimateIconAreaFor(const int rowCount, const int wantedIconWidth,
|
||||
{
|
||||
const int row_height = height / rowCount;
|
||||
|
||||
float icon_height = row_height;
|
||||
float icon_width = int(row_height * iconAspectRatio);
|
||||
float icon_height = (float)row_height;
|
||||
float icon_width = row_height * iconAspectRatio;
|
||||
|
||||
const int icons_per_row = std::min(int(width / icon_width), int(width / wantedIconWidth));
|
||||
|
||||
|
@ -982,6 +982,10 @@
|
||||
RelativePath="..\..\states_screens\help_screen_3.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\states_screens\help_screen_4.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\states_screens\kart_selection.cpp"
|
||||
>
|
||||
@ -1852,6 +1856,10 @@
|
||||
RelativePath="..\..\states_screens\help_screen_3.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\states_screens\help_screen_4.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\states_screens\kart_selection.hpp"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user