Compare commits

..

10 Commits
main ... linux

Author SHA1 Message Date
Vladislav Khorev
3094fc6112 Merge branch 'main' into linux 2026-03-09 20:06:00 +00:00
Vladislav Khorev
9e6ff5e08f Merge branch 'main' into linux 2026-03-09 16:28:12 +00:00
Vladislav Khorev
24526efb8d gitMerge branch 'main' into linux 2026-03-09 15:37:39 +00:00
Vladislav Khorev
e5d7885a12 Merge branch 'main' into linux 2026-03-09 10:52:04 +00:00
Vladislav Khorev
d151d4bfaf Merge branch 'main' into linux 2026-03-06 17:06:42 +00:00
Vladislav Khorev
147aa266d5 Merge branch 'linux' into ShipSpawnLinux 2026-03-05 07:28:05 +00:00
Vladislav Khorev
2884865b53 Merge branch 'main' into linux 2026-03-05 06:41:04 +00:00
Vladislav Khorev
a1a7f714d9 Merge branch 'main' into linux 2026-03-01 19:40:48 +00:00
Vladislav Khorev
03323638e1 Merge branch 'main' into linux 2026-02-23 07:04:02 +00:00
Vladislav Khorev
bd17d0ff9e linux changes 2026-02-23 07:03:46 +00:00
3 changed files with 12 additions and 12 deletions

View File

@ -323,7 +323,7 @@ set(_have_freetype TRUE)
foreach(cfg IN LISTS BUILD_CONFIGS)
if(NOT EXISTS "${FREETYPE_BASE_DIR}-${cfg}/lib/freetype.lib" AND
NOT EXISTS "${FREETYPE_BASE_DIR}-${cfg}/lib/freetyped.lib")
set(_have_freetype FALSE)
#set(_have_freetype FALSE)
endif()
endforeach()
@ -391,7 +391,7 @@ foreach(cand
endforeach()
if(_ft_debug_lib STREQUAL "" OR _ft_release_lib STREQUAL "")
message(FATAL_ERROR "FreeType libs not found in ${FREETYPE_BASE_DIR}-Debug/Release")
# message(FATAL_ERROR "FreeType libs not found in ${FREETYPE_BASE_DIR}-Debug/Release")
endif()
add_library(freetype_external_lib UNKNOWN IMPORTED GLOBAL)
@ -441,7 +441,7 @@ if(NOT _have_sdl2ttf)
endforeach()
if(_FT_LIB STREQUAL "")
message(FATAL_ERROR "FreeType library not found for ${cfg}")
# message(FATAL_ERROR "FreeType library not found for ${cfg}")
endif()
log("Configuring SDL_ttf (${cfg}) ...")
@ -462,7 +462,7 @@ if(NOT _have_sdl2ttf)
RESULT_VARIABLE _ttf_cfg_res
)
if(NOT _ttf_cfg_res EQUAL 0)
message(FATAL_ERROR "SDL_ttf configure failed for ${cfg}")
#message(FATAL_ERROR "SDL_ttf configure failed for ${cfg}")
endif()
log("Building SDL_ttf (${cfg}) ...")
@ -472,7 +472,7 @@ if(NOT _have_sdl2ttf)
RESULT_VARIABLE _ttf_build_res
)
if(NOT _ttf_build_res EQUAL 0)
message(FATAL_ERROR "SDL_ttf build failed for ${cfg}")
#message(FATAL_ERROR "SDL_ttf build failed for ${cfg}")
endif()
log("Installing SDL_ttf (${cfg}) ...")
@ -482,7 +482,7 @@ if(NOT _have_sdl2ttf)
RESULT_VARIABLE _ttf_inst_res
)
if(NOT _ttf_inst_res EQUAL 0)
message(FATAL_ERROR "SDL_ttf install failed for ${cfg}")
#message(FATAL_ERROR "SDL_ttf install failed for ${cfg}")
endif()
endforeach()
@ -510,7 +510,7 @@ foreach(cand
endforeach()
if(_ttf_debug_lib STREQUAL "" OR _ttf_release_lib STREQUAL "")
message(FATAL_ERROR "SDL_ttf libs not found in install-Debug / install-Release")
# message(FATAL_ERROR "SDL_ttf libs not found in install-Debug / install-Release")
endif()
add_library(SDL2_ttf_external_lib UNKNOWN IMPORTED GLOBAL)

View File

@ -938,14 +938,14 @@ void Server::accept()
int main() {
try {
net::io_context ioc;
tcp::acceptor acceptor{ ioc, {tcp::v4(), 8081} };
tcp::acceptor acceptor{ ioc, {tcp::v4(), 8010} };
Server server(acceptor, ioc);
server.init();
server.accept();
std::cout << "Server started on port 8081...\n";
std::cout << "Server started on port 8010...\n";
server.update_world();
ioc.run();