Changeset 9fe1807 in network-game
- Timestamp:
- Jul 26, 2013, 6:33:18 PM (11 years ago)
- Branches:
- master
- Children:
- 1df6bec
- Parents:
- 46d6469
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/Client.vcxproj
r46d6469 r9fe1807 47 47 <GenerateDebugInformation>true</GenerateDebugInformation> 48 48 <AdditionalLibraryDirectories>c:\allegro\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 49 <AdditionalDependencies>allegro-5.0. 8-monolith-md-debug.lib;%(AdditionalDependencies)</AdditionalDependencies>49 <AdditionalDependencies>allegro-5.0.9-monolith-md-debug.lib;%(AdditionalDependencies)</AdditionalDependencies> 50 50 </Link> 51 51 </ItemDefinitionGroup> … … 68 68 <ItemGroup> 69 69 <ClCompile Include="..\..\common\Common.cpp" /> 70 <ClCompile Include="..\..\common\MessageContainer.cpp" /> 70 71 <ClCompile Include="..\..\common\MessageProcessor.cpp" /> 71 72 <ClCompile Include="..\..\common\Projectile.cpp" /> … … 84 85 <ClInclude Include="..\..\common\Common.h" /> 85 86 <ClInclude Include="..\..\common\Compiler.h" /> 87 <ClInclude Include="..\..\common\MessageContainer.h" /> 86 88 <ClInclude Include="..\..\common\MessageProcessor.h" /> 87 89 <ClInclude Include="..\..\common\Projectile.h" /> -
client/Client/Client.vcxproj.filters
r46d6469 r9fe1807 67 67 <Filter>Source Files\gui</Filter> 68 68 </ClCompile> 69 <ClCompile Include="..\..\common\MessageContainer.cpp"> 70 <Filter>Source Files\common</Filter> 71 </ClCompile> 69 72 </ItemGroup> 70 73 <ItemGroup> … … 108 111 <Filter>Header Files\gui</Filter> 109 112 </ClInclude> 113 <ClInclude Include="..\..\common\MessageContainer.h"> 114 <Filter>Header Files\common</Filter> 115 </ClInclude> 110 116 </ItemGroup> 111 117 <ItemGroup> -
common/MessageProcessor.cpp
r46d6469 r9fe1807 73 73 for (it2 = sentMsg.begin(); it2 != sentMsg.end(); it2++) { 74 74 if (!(it2->second.getAcked())) { 75 sendto(sock, it2->second.getMessage(), sizeof(NETWORK_MSG), 0, (struct sockaddr *)&it2->first, sizeof(struct sockaddr_in));75 sendto(sock, (const char*)it2->second.getMessage(), sizeof(NETWORK_MSG), 0, (struct sockaddr *)&it2->first, sizeof(struct sockaddr_in)); 76 76 } 77 77 }
Note:
See TracChangeset
for help on using the changeset viewer.