Commit Graph

5886 Commits

Author SHA1 Message Date
Rampoina c3e8a25e9e Update commonCommands for a uniform selection 2022-08-14 12:26:38 +02:00
Rampoina 2cd190d822 Retabulate (use only tabs) 2022-08-14 12:26:38 +02:00
Rampoina f322a3ee52 Add command grid hotkeys to the default hotkeys 2022-08-14 12:26:38 +02:00
Rampoina 5783db3033 Check the number of shared commands before trying to click from a hotkey 2022-08-14 12:26:38 +02:00
Rampoina e9b771241f Add building and unit hotkeys 2022-08-14 12:26:38 +02:00
Rampoina ff9c9ad864 add hotkeybuild1 2022-08-14 12:26:38 +02:00
Rampoina 3b03b458e5 Load the game on double click on the loading menu 2022-08-09 21:14:10 +02:00
Rampoina 22a474b93b
Allow a selected group to have the attack command even if some units … (#217)
* Allow a selected group to have the attack command even if some units don't have it

* Add getUnitFromCC function

* return NULL if getFirstCtOfClass founds no unit

* Search for the unit containing the attack command in a non uniform selection

Co-authored-by: Rampoina <Rampoina@protonmail.com>
2022-08-08 23:26:47 +01:00
Jammyjamjamman 94fa13cde7 Update data submodule 2022-07-30 20:20:01 +01:00
James Sherratt ebecdbb5ed
try vs 2022 2022-07-28 18:51:38 +01:00
NetSysFire 873217577a
Replace some http links with https (#211)
* Replace working http links with https

* downloads also has working https

* forum also has working https

* Fix get_started link

* fix get_started link

Co-authored-by: James Sherratt <jdsherratt3@gmail.com>
2022-07-20 22:59:09 +01:00
titiger 1e4441e099 data was changed 2022-03-02 01:05:39 +01:00
titiger 04bd8e8038 new norse faces 2022-02-16 00:03:39 +01:00
titiger e3af470288 Level up should not be effect boosts 2021-11-23 18:17:45 +01:00
Jammyjamjamman 3c0858318d Fix colours in endgame statistics.
Text colours where the colour wasn't explicitly set was rendering as the
previous (incorrect) colour instead of white. Now text colour is
explicitly set.
2021-11-09 21:48:38 +00:00
titiger ae5e308a28 set meeting point for whole selection ( via icon ) 2021-10-06 23:40:18 +02:00
titiger f344fa7fbd Fixed mixed upgrades and boosts of EP and HP regeneration 2021-09-13 22:33:47 +02:00
Jammyjamjamman 680c868aa9 FTGL required + Manjaro wx package corrected to wxgtk-common
Fixes bugs found in iss #206. Building without FTGL fails and the error
is confusing. So we'll fail at the cmake stage (suggested by andy5995).
People who don't want it can disable this at their own peril! ;-)
2021-07-14 22:28:06 +01:00
Jammyjamjamman 0e5d3a2d49 Add macos workflow
Macos workflow does not work atm, so it's commented out. But this shows
the general idea of how it should work.
2021-07-02 19:49:53 +01:00
Jammyjamjamman 367c6e61ec More improvements to actions
* Better naming for "preparing snapshot".
* Strip debug info on linux builds for artifact, to make smaller.
2021-06-20 22:56:41 +01:00
Jammyjamjamman d18cbac6d4 Another fix to artifact generation 2021-06-20 18:00:21 +01:00
Jammyjamjamman ecbddb4137 More fixes to artifact generation 2021-06-20 16:22:43 +01:00
Jammyjamjamman 3bf6bffa7d Continue attempting other builds, even if one fails 2021-06-20 03:38:01 +01:00
Jammyjamjamman d357ff859e Another fix to the actions yml... 2021-06-20 02:24:13 +01:00
Jammyjamjamman 8cc3b515b4 Hopefullly last actions fix 2021-06-20 02:15:55 +01:00
Jammyjamjamman ade0bffc37 Another actions yml fix 2021-06-20 02:14:04 +01:00
Jammyjamjamman 51cdfd8382 Fix actions yml (again) 2021-06-20 02:11:38 +01:00
Jammyjamjamman 5032f6c266 Add Linux to actions 2021-06-20 02:03:46 +01:00
Jammyjamjamman 9224a72651 Fix gh action artifacts 2021-06-18 21:24:55 +01:00
titiger 4e532db6dd Food shortage warning sound
General sound to warn about consumable resources shortage
2021-06-18 17:25:37 +02:00
Jammyjamjamman fdf77e846e Attempt #3 to fix Github action 2021-06-18 02:03:30 +01:00
Jammyjamjamman d48d0870f1 Another fix for Github actions 2021-06-18 01:43:59 +01:00
Jammyjamjamman 64b0a3e33a Fix Github actions yml 2021-06-18 01:27:58 +01:00
Jammyjamjamman 5b01dd4841 Github actions: Get more windows deps, tidy up yml 2021-06-18 01:24:22 +01:00
Jammyjamjamman 6cc27462e6 Fix action yml error 2021-06-17 20:43:30 +01:00
Jammyjamjamman 85f16f77b5 Update actions yml to create archive + create artifact 2021-06-17 20:40:42 +01:00
James Sherratt 25ccf25464
Create cmake.yml for windows builds
Test windows building with github actions.
2021-06-17 00:59:39 +01:00
titiger 412b37d074 get rid of manual wx???Event creation 2021-06-05 01:40:14 +02:00
titiger 5801b1faff get rid of manual wxPaintEvent creation 2021-06-05 01:33:50 +02:00
Jammyjamjamman 789e1cdf37 Fix editor and g3dviewer for wx 3.1.x
glCanvas args struct needs to be null terminated.
https://trac.wxwidgets.org/ticket/19193#ticket
fixes iss #207.
2021-06-04 22:08:18 +01:00
titiger fbd0cfb17e get rid of manual wxPaintEvent creation 2021-05-29 02:41:40 +02:00
titiger e09ba53c43 get rid of manual wxPaintEvent creation 2021-05-29 02:12:38 +02:00
Tom Reynolds d1ed68ef00 Update IRC server (Freenode -> Libera) 2021-05-22 12:43:51 +02:00
titison a700ced734 Editor: Heightmap Export function (small fix for import function)
Not without loss because megaglest uses floats for height
2021-05-16 15:16:22 +02:00
titison 98c8cab708 MapEditor: Reworked resize function 2021-05-09 12:21:49 +02:00
titiger 12bd61c218 Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop 2021-04-16 01:56:16 +02:00
titiger fb178f9c65 fix for spawn unit when projectile impacts 2021-04-16 01:56:05 +02:00
Jammyjamjamman 86905dc6f7 G3D B290: remove line generating mesh code
Line was generated for meshes with duplicate verts, to prevent loss
of vertices. But this was a problem because some duplicate verts
need removing. (E.g. some duplicate verts are generated for UV
mapping. These should be removed during import.) This does mean the
g3d script can lose information on import.
2021-04-15 20:23:21 +01:00
Jammyjamjamman 9725336823 G3D B290: Better vert compare
* Use hashset for more efficient vert comparison. (Suggested by Titi.)
* Create line of verts for basis mesh, for rare cases where there's no
mesh frame where all the verts are different.
* Fix bug in animation where all animation frames shifted by 1 (and last
frame was not included in the animation).
2021-04-13 01:33:57 +01:00
Jammyjamjamman 133a1fc8b5 G3D B290 script: fix importing mesh with 0 size first frame
Script use to always use the first frame as the "basis" mesh.
But this caused problems because sometimes the first mesh had a
size 0 i.e. all the verts are the same. This is fixed by adding
a step to search for a frame with the largest number of verts in
different positions. This frame is then used as the basis mesh.
Errors could still happen if the mesh doesn't have any frames
without overlapping verts.
2021-04-12 01:34:02 +01:00