You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
home/jpenguin/build/TSC/tsc/src/gui/menu_data.cpp: In member function ‘bool TSC::cMenu_Options::Joystick_Name_Click(const CEGUI::EventArgs&)’:
/home/jpenguin/build/TSC/tsc/src/gui/menu_data.cpp:2870:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
if (selected_item >= pJoystick->m_num_joysticks) {
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jpenguin/build/TSC/tsc/src/gui/menu_data.cpp: In member function ‘bool TSC::cMenu_Savegames::Button_Save_Clicked(const CEGUI::EventArgs&)’:
/home/jpenguin/build/TSC/tsc/src/gui/menu_data.cpp:3230:43: error: ‘class TSC::cLevel_Player’ has no member named ‘m_points’; did you mean ‘m_pos_x’?
gp_hud->Set_Points(pLevel_Player->m_points - 3000);
^~~~~~~~
m_pos_x
/home/jpenguin/build/TSC/tsc/src/gui/menu_data.cpp: In member function ‘std::__cxx11::string TSC::cMenu_Savegames::Set_Save_Description(unsigned int)’:
/home/jpenguin/build/TSC/tsc/src/gui/menu_data.cpp:3276:54: error: ‘class TSC::cLevel_Player’ has no member named ‘m_points’; did you mean ‘m_pos_x’?
if (pActive_Level->Is_Loaded() && pLevel_Player->m_points < 3000) {
^~~~~~~~
m_pos_x
make[2]: *** [CMakeFiles/tsc.dir/build.make:692: CMakeFiles/tsc.dir/src/gui/menu_data.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:212: CMakeFiles/tsc.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
The text was updated successfully, but these errors were encountered:
Ah thanks kirbyfan. This was my bad. When I removed the duplicate point
storage, I only compiled with debug mode enabled for obvious reasons. I
should have tested a release build.
Thanks for fixing.
Building 'devel' branch on Fedora 28, my setup is documented here https://github.com/jpenguin/TSC/blob/devel/INSTALL.md
The text was updated successfully, but these errors were encountered: