Minimap
Made some action buttons (hooked up 'kill' and 'garrison', haven't found the game logic for other ones).
Borrowed https://github.com/SFTtech/openage/pull/344 for the minimap. But can't understand why the player colours aren't bright. The player palette has only dark shades...
update: dissociated action buttons from this PR.
Whoa. Cool!
What do you think about we try fix the remaining issues so we can finally bring this now >10k lines pull upstream? :P
I'm not sure what was left, I just remember libopenage/gui/CMakeLists.txt.
Do you want me to read through the pulls sonish or still wanna add stuff?
I have nothing to add/change for https://github.com/SFTtech/openage/pull/422 and https://github.com/SFTtech/openage/pull/527
The visuals are working as in #344. Just made the background generation trigger when chunks are added.
Implemented icons for types, so they go through the QML layer: to be able to assemble them there or animate them.
Leaving minimap navigation for the future (easy and independent).
lisac@Pingus-PC ~/openage_mm $ ./run
INFO launching engine with data directory './assets' and fps limit 0
INFO SDL audio subsystems initialized
INFO Using audio device: default [freq=48000, format=32784, channels=, samples=2048]
INFO Initialized SDL video subsystems.
INFO loading configuration files...
INFO [py] loading config file /home/lisac/openage_mm/cfg/keybinds.oac...
INFO Loading time [engine]: 0.854 s
INFO Loading time [game]: 0.925 s
ERR file:///home/lisac/openage_mm/libopenage/gui/qml/main.qml:208 Type IngameHud unavailable
file:///home/lisac/openage_mm/libopenage/gui/qml/IngameHud.qml:232 DefaultMinimap is not a type
^CINFO freeing GUI...
INFO GUI was reset
Traceback (most recent call last):
File "run.py", line 15, in init run (/home/lisac/openage/run.cpp:832)
main()
File "/home/lisac/openage_mm/openage/__main__.py", line 97, in main
return args.entrypoint(args, cli.error)
File "/home/lisac/openage_mm/openage/game/main.py", line 47, in main
return run_game(args, assets)
KeyboardInterrupt
Doesn't work :(
Again. Commits from the last year, but the copyright dates are already for this year in the upstream. Have to rewrite the commit dates.
@lisacvuk what is the Qt version?
lisac@Pingus-PC ~ $ qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
@ChipmunkV
I can only reproduce this kind of error when I delete the libopenage/gui/qml/DefaultMinimap.qml
Sorry, I made a mistake. After cloning the repo, and re-compiling, it works.
This thing was here for a long time. Is there anything specific to add?
Time for rebase :P
Is it possible to have the minimap on another monitor as seperate Window? (dual monitor setup)
Good idea, open a new issue for that please. We would need another window for that, though, currently openage is running in one window only.