Forum posts

Posted 5 years ago2018-04-06 13:45:04 UTC
in compiling for linux Post #339224
The libstdc++.so.6 which is shiped with steam is the problem.

execute strings libstdc++.so.6 | grep CXX against the steam version and also which is the one of your repo. Then you'll see the problem. It's known and for a quick and dirty fix:

https://steamcommunity.com/app/221410/discussions/0/350542683198244989/

Maybe this helps.
Posted 7 years ago2016-11-30 14:23:23 UTC
in catch ESC key/GameUI Post #332494
Hey everyone,

Some time ago the source code of the goldsrc mod Natural Selection was released to public. It is a FPS with some RTS elements. One player (commander) has a top down view and is able to drop buildings and equipment. They will shown as ghostbuildings if they are predroped. Also it has a custom chat input.
The problem now is to catch the ESC key and prevent the GameUI to open if a ghostbuilding or the chatpanel is open.

what has been tried so far

using HUD_Key_Event at input.cpp:
its not possible to block the key there. The key only pass this function at the second time. First press, gameUI opens, key not shown there. Second press, GameUI close, key shown there with key up info.

update function member:
another idea was to update the function member to "cancelselect" which is bound to ESC key. Those only works if you type "cancelselect" at the console but not if you hit the ESC key.

idea

using interface "GameUI007":
It's kinda hard to find any documentation about interfaces and how to use them imo.
Created file IGameUI.h with the class. Created CGameUI class at the cdll_int.cpp and EXPOSE_SINGLE_INTERFACE(CGameUI, IGameUI, GAMEUI_INTERFACE_VERSION);

This isn't working atm.

questions

Is it worth to give the GameUI007 a try to get this work?
Does anyone has some information about how to use this GameUI007?


information about interface GameUI007
http://forums.steampowered.com/forums/showthread.php?t=1819505
https://github.com/FWGS/libvinterface/blob/master/Interface/IGameUI.h