Support
[Bug] Official flags have alpha layer
This is a very minor “issue”.
Since Hedgewars does not support transparency in flags, all official flags should be RGB PNGs (and not RGBA).
However, almost all flags are RGBA.
There is a problem with the flag “cm_fcw.png”, which includes actual transparent pixels. These pixels will turn white in the game, but is displayed with transparency in the team editing menu, which is a bit awkward.
[Bug] Do not prompt username&pass on first login if make special order of steps.
How to reproduse:
1)Start Hedgewars with clean profile.
2)Go to settings at first.
3)Go back.
4)Click NetworkGame
and you will login as guest12345
if omit steps 2), 3) login\pass prompt will be shown.
Problem when compiling: cannot find -lSDL[...]
I'm trying to compile on Linux Mint.
I believe I've done downloading all dependencies, but...
mint@mint-acer ~ $ sudo apt-get install libsdl2-ttf-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libsdl2-ttf-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libev4 libid3tag0 libimlib2 libxcb-xinerama0 libxcb-xtest0 libxdg-basedir1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.mint@mint-acer ~ $ sudo apt-get install libsdl2-net-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libsdl2-net-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libev4 libid3tag0 libimlib2 libxcb-xinerama0 libxcb-xtest0 libxdg-basedir1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.mint@mint-acer ~ $ sudo apt-get install libsdl2-image-dev
Reading package lists... Done
Building dependency tree
Reading state information...
How to compile more easily?
I need build the game to play on my computer, Linux Mint.
Then, just as I do with any other software, I downloaded the source and will try to compile. If any dependency is missing, I do a search on apt and install, until there is no more missing dependencies.
Example:
mint@mint-acer ~/Desktop/hedgewars-src-0.9.22 $ cmake .
-- Building 0.9.22-r11265 (4c4f22cc3fa4)
-- Using RELEASE configuration
-- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
-- Could NOT find SDL_image (missing: SDL_IMAGE_LIBRARIES SDL_IMAGE_INCLUDE_DIRS)
-- Could NOT find SDL_net (missing: SDL_NET_LIBRARIES SDL_NET_INCLUDE_DIRS)
-- Could NOT find SDL_ttf (missing: SDL_TTF_LIBRARIES SDL_TTF_INCLUDE_DIRS)
-- Could NOT find SDL_mixer (missing: SDL_MIXER_LIBRARIES SDL_MIXER_INCLUDE_DIRS)
CMake Error: your Pascal compiler: "CMAKE_Pascal_COMPILER-NOTFOUND" was not found.
SetGearPosition Question
Hi, i want to ask something about the map coordinates plane, can you explain me where is the origin, and how much ( in pixels) increase by X, Y the coordinate.
Im trying to use this function, but always fail to calculate the coords properly..
