mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -04:00
Quick fix for MSVC project not compiling
This commit is contained in:
parent
649eeba2ab
commit
cf61ef23d3
@ -491,6 +491,7 @@
|
||||
<ClCompile Include="HeldBlockRenderer.c" />
|
||||
<ClCompile Include="Http_Web.c" />
|
||||
<ClCompile Include="Http_Worker.c" />
|
||||
<ClCompile Include="InputHandler.c" />
|
||||
<ClCompile Include="Inventory.c" />
|
||||
<ClCompile Include="Launcher.c" />
|
||||
<ClCompile Include="LBackend.c" />
|
||||
@ -500,6 +501,7 @@
|
||||
<ClCompile Include="LWidgets.c" />
|
||||
<ClCompile Include="Generator.c" />
|
||||
<ClCompile Include="Deflate.c" />
|
||||
<ClCompile Include="MenuOptions.c" />
|
||||
<ClCompile Include="Model.c" />
|
||||
<ClCompile Include="Menus.c" />
|
||||
<ClCompile Include="FancyLighting.c" />
|
||||
@ -598,7 +600,9 @@
|
||||
<ResourceCompile Include="..\misc\windows\CCicon.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="LBackend_ios.m" />
|
||||
<None Include="Window_cocoa.m" />
|
||||
<None Include="Window_ios.m" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@ -788,6 +788,12 @@
|
||||
<ClCompile Include="Window_SDL2.c">
|
||||
<Filter>Source Files\Window</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="InputHandler.c">
|
||||
<Filter>Source Files\Game</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MenuOptions.c">
|
||||
<Filter>Source Files\2D</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\misc\windows\CCicon.rc">
|
||||
@ -798,5 +804,11 @@
|
||||
<None Include="Window_cocoa.m">
|
||||
<Filter>Source Files\Window</Filter>
|
||||
</None>
|
||||
<None Include="Window_ios.m">
|
||||
<Filter>Source Files\Window</Filter>
|
||||
</None>
|
||||
<None Include="LBackend_ios.m">
|
||||
<Filter>Source Files\Launcher</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -53,22 +53,22 @@ static cc_bool launcherMode;
|
||||
|
||||
static void AddTouch(UITouch* t) {
|
||||
CGPoint loc = [t locationInView:view_handle];
|
||||
int x = loc.x, y = loc.y; long ui_id = (long)t;
|
||||
Platform_Log3("POINTER %x - DOWN %i,%i", &ui_id, &x, &y);
|
||||
//int x = loc.x, y = loc.y; long ui_id = (long)t;
|
||||
//Platform_Log3("POINTER %x - DOWN %i,%i", &ui_id, &x, &y);
|
||||
Input_AddTouch((long)t, loc.x, loc.y);
|
||||
}
|
||||
|
||||
static void UpdateTouch(UITouch* t) {
|
||||
CGPoint loc = [t locationInView:view_handle];
|
||||
int x = loc.x, y = loc.y; long ui_id = (long)t;
|
||||
Platform_Log3("POINTER %x - MOVE %i,%i", &ui_id, &x, &y);
|
||||
//int x = loc.x, y = loc.y; long ui_id = (long)t;
|
||||
//Platform_Log3("POINTER %x - MOVE %i,%i", &ui_id, &x, &y);
|
||||
Input_UpdateTouch((long)t, loc.x, loc.y);
|
||||
}
|
||||
|
||||
static void RemoveTouch(UITouch* t) {
|
||||
CGPoint loc = [t locationInView:view_handle];
|
||||
int x = loc.x, y = loc.y; long ui_id = (long)t;
|
||||
Platform_Log3("POINTER %x - UP %i,%i", &ui_id, &x, &y);
|
||||
//int x = loc.x, y = loc.y; long ui_id = (long)t;
|
||||
//Platform_Log3("POINTER %x - UP %i,%i", &ui_id, &x, &y);
|
||||
Input_RemoveTouch((long)t, loc.x, loc.y);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user