Commit graph

17658 commits

Author SHA1 Message Date
Tim Felgentreff
8bb7c9f2fe fix scaled cursor hot pos 2022-02-02 09:47:57 +01:00
Tim Felgentreff
78b9b09f47
Merge pull request from Wargus/hardwarecursor
Hardware cursor option
2022-02-01 22:23:44 +01:00
Tim Felgentreff
66fa7bca72 make hardware cursor a preference 2022-02-01 22:17:19 +01:00
Tim Felgentreff
cb94928d3b fix mouse event coordinates for vertical pixel stretching 2022-02-01 21:52:32 +01:00
Tim Felgentreff
faeb1044f1 fix cursor drawing, now only the offset may be wrong 2022-02-01 21:52:32 +01:00
Tim Felgentreff
98fe0c87a8 use sdl hardware cursor to decouple the cursor speed from the game speed 2022-02-01 21:52:32 +01:00
Tim Felgentreff
9f4eddb375 fix walls disappearing when changing surroundings 2022-01-31 23:01:23 +01:00
Tim Felgentreff
3dff36288c add button check units-nor and fix CopyUnitType 2022-01-30 20:00:11 +01:00
Tim Felgentreff
8b4a2fb064 fix a minor crash 2022-01-30 14:37:53 +01:00
Tim Felgentreff
2a55642ed8 add animated sprite decoration 2022-01-30 14:14:49 +01:00
Tim Felgentreff
e9b93f09cc draw missile cliptotarget centered on top left corner of target 2022-01-29 20:07:56 +01:00
Tim Felgentreff
30eb5371be Merge branch 'master' of https://github.com/Wargus/stratagus 2022-01-29 14:41:43 +01:00
Tim Felgentreff
79f432a207 allow setting NumBounces for missile-clip-to-target 2022-01-29 14:41:30 +01:00
Tim Felgentreff
39fa8bdd82 fix my bug that caused the game to weirdly pause 2022-01-27 21:00:14 +01:00
Tim Felgentreff
23b0d64a15
Merge pull request from SimoneStarace/master
ChangeUnitsOwner now can be applied for specific units.
2022-01-27 20:57:38 +01:00
Tim Felgentreff
6b237d0ea1 rename mobdebug.h, not a real header 2022-01-27 20:29:20 +01:00
Tim Felgentreff
c62d17536d update codepoint mapping to allow multichar subst 2022-01-27 13:00:32 +01:00
Tim Felgentreff
272a2136bf avoid useless utf8 work for numbers 2022-01-27 10:34:15 +01:00
Tim Felgentreff
ec07626654 better docs for SetFontCodePage 2022-01-27 10:34:03 +01:00
Simone Starace
77c0984711
Merge branch 'Wargus:master' into master 2022-01-26 23:33:50 +01:00
Simone Starace
bca17dafe7 Changed the body of function ChangeUnitsOwner. 2022-01-26 23:31:29 +01:00
Tim Felgentreff
28d2cb66ab add support for mapping between codepages 2022-01-26 20:13:18 +01:00
Tim Felgentreff
2854d6afcc use lookup tables for cp437 and cp866 font graphics 2022-01-25 10:06:04 +01:00
Tim Felgentreff
61e2ad6752 fix a crash 2022-01-24 10:45:34 +01:00
Tim Felgentreff
71c3db3520 add GiveUnitsToPlayer function 2022-01-24 10:45:25 +01:00
Tim Felgentreff
1b24c97e06 fix SetUnitVariable("Color") 2022-01-24 08:48:34 +01:00
Tim Felgentreff
28e8d73419 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-01-23 21:02:02 +01:00
Tim Felgentreff
0dfb154688 add CopyUnitType function 2022-01-23 21:00:52 +01:00
Tim Felgentreff
f12986a763
Merge pull request from Wargus/tim/online_gaming_improvements
Online Gaming Improvements
2022-01-23 06:42:15 +01:00
Tim Felgentreff
bb5ca12b53 fix selection for editor 2022-01-22 20:36:59 +01:00
Tim Felgentreff
9d0bdeb747 editor fixes
- quick keybinding for switching unit to players 10-16
- unit selection
- pass arguments to editor lua callbacks
- fix crash on exit
2022-01-22 20:16:22 +01:00
Tim Felgentreff
1260b680c7 add ability to change unit color in SetUnitVariable 2022-01-22 14:21:07 +01:00
Tim Felgentreff
c4a37d8a10 use ChangeOwner in SetUnitVariable(..."Player") 2022-01-22 14:15:26 +01:00
Tim Felgentreff
226f002a09 allow unit selection in editor 2022-01-22 14:08:05 +01:00
Tim Felgentreff
490c81aa0a try to build on experimental c++ fs 2022-01-22 13:17:24 +01:00
Tim Felgentreff
e5e04666b4 minimal protection against forged map fragments 2022-01-22 13:08:31 +01:00
Tim Felgentreff
b7f7c813d0 expose full file path in __file__; add disabled filesystem listing lua function 2022-01-22 12:56:02 +01:00
Tim Felgentreff
90f6c23069 workaroun gc indeterminism for widget hierachy 2022-01-18 10:34:23 +01:00
Tim Felgentreff
3c584e989a Merge branch 'tim/online_gaming_improvements' of https://github.com/Wargus/stratagus into tim/online_gaming_improvements 2022-01-16 00:04:46 +01:00
Tim Felgentreff
780c906476 fix linux build 2022-01-16 00:04:40 +01:00
Tim Felgentreff
e6a35f756c Merge branch 'tim/online_gaming_improvements' of https://github.com/Wargus/stratagus into tim/online_gaming_improvements 2022-01-15 23:13:16 +01:00
Tim Felgentreff
c7c4994c1e fix idle crash when online 2022-01-15 23:13:10 +01:00
Tim Felgentreff
2b88567ca1 use portable path for network file name 2022-01-15 21:47:18 +01:00
Tim Felgentreff
849c930ae7 expose the downloading fragment to lua 2022-01-15 21:46:57 +01:00
Tim Felgentreff
83b00e4c3e fix sending last fragment of a file 2022-01-15 21:13:59 +01:00
Tim Felgentreff
7aeca129c9 add missing debug string 2022-01-15 20:37:34 +01:00
Tim Felgentreff
14bcd8f4cc clean up receiving map fragments 2022-01-15 20:25:56 +01:00
Tim Felgentreff
9c93a45eab Merge branch 'tim/online_gaming_improvements' of https://github.com/Wargus/stratagus into tim/online_gaming_improvements 2022-01-15 20:18:15 +01:00
Tim Felgentreff
6a3e5cbb44 fix sending of map fragments 2022-01-15 20:18:07 +01:00
Tim Felgentreff
d248f47658 fix mapfilefragment constructors 2022-01-15 14:35:59 +01:00