Commit graph

16805 commits

Author SHA1 Message Date
ipochto
52ebdd22d3
Merge pull request from Wargus/master
Increase buffersize due to possible overflow
2020-02-14 11:11:37 +03:00
Tim Felgentreff
749818369a
Merge pull request from mxdamien/master
Increase buffersize due to possible overflow
2020-02-13 22:54:38 +01:00
mxdamien
f51a9b9f69 Increase buffersize due to possible overflow 2020-02-13 22:09:29 +01:00
alyokhin
69aa6c8f74 Fix condition check 2019-12-20 20:03:30 +03:00
Tim Felgentreff
607fe40ef1
Merge pull request from ilwar2/master
opengl crash on video playback fixed
2019-12-03 15:01:50 +01:00
ilwar2
032ebb89e3
fixed 2019-12-03 12:05:06 +03:00
ilwar2
819dcf90aa
remove fprintf 2019-12-03 12:02:11 +03:00
iL
e0d0ac79ad opengl crash on video playback fixed 2019-12-02 17:32:49 +03:00
Tim Felgentreff
e5de46d73c
Update README.md 2019-10-18 06:47:10 +02:00
Tim Felgentreff
ff7777dbe3
Merge pull request from talas/selfspell
allow self-cast if enabled, default is disabled
2019-09-25 15:38:31 +02:00
Tim Felgentreff
392e04a46d
Merge pull request from talas/skirmisher
add flag for unittypes that should snipe from distance
2019-07-18 09:01:31 +02:00
Tim Felgentreff
25cc4d43fb
Merge pull request from talas/harvester
fixes for terrain-harvester and maybe lose-resources
2019-07-17 09:06:18 +02:00
Tim Felgentreff
53e5bfccb1
Merge pull request from talas/morelua
Add some more lua bindings
2019-07-16 17:59:04 +02:00
Talas
49916e5f58 allow setting TTL, Summoned and explore from lua
First two useful to create summoned units from lua
Second can be used to have AI use the autoexplore action
2019-07-16 13:57:50 +02:00
Talas
8118d72598 add OnReady luacallback for units
called when the unit is finished training/built
2019-07-16 13:57:50 +02:00
Talas
94bf1b85df allow self-cast if enabled, default is disabled 2019-07-16 13:45:43 +02:00
Talas
29f3a349e9 fixes for terrain-harvester and maybe lose-resources 2019-07-16 13:21:42 +02:00
Talas
90d2272556 add flag for unittypes that should snipe from distance 2019-07-15 16:22:16 +02:00
Tim Felgentreff
6270a585c0
Merge pull request from talas/small_fixes
Various small ui/gfx/sound fixes
2019-07-14 18:51:15 +02:00
Talas
7424440568 Various small ui/gfx/sound fixes
* Don't let pointtopoint missiles wobble
* Don't spam "Game Resumed" from SDL
* Hack to make mana visible for units on bottom row
* Play transport docking sound more reliably
* Play random building noises
* Don't show wood being cut under fog of war
* Fix wood not updated by ally vision
2019-07-14 17:23:04 +02:00
Tim Felgentreff
663073c55d
Merge pull request from talas/autoexplore
add a simple explore action
2019-07-12 07:14:20 +02:00
Tim Felgentreff
7ec42b45c9
Merge pull request from talas/demo_mode
add minimal support for attract/demo mode
2019-07-12 07:10:06 +02:00
Talas
957cb1a591 add IsDemoMode to clean up UI code 2019-07-07 16:29:42 +02:00
Talas
accaaf56e1 add a simple explore action
flies around randomly, much room for improvement
2019-07-07 15:38:29 +02:00
Talas
b8a1646c76 add minimal support for attract/demo mode
in wargus, this means watching 2 computers fight eachother.
any interaction will end the demo.
2019-06-30 18:47:16 +02:00
Tim Felgentreff
9f36458389
Merge pull request from talas/recurse_editor
let EditorChangeSurrounding recurse until done
2019-06-26 18:38:14 +02:00
Talas
ef6ba2c91c let EditorChangeSurrounding recurse until done
Fixes tiling issue when placing forest in dark water and
similar situations involving dark water, dark grass or forests.
May cause some organic growth of coasts.
2019-06-26 16:06:13 +02:00
DinkyDyeAussie
c2ba0506fc
Colorcycling change
Slowed down color cycling to better mimic original Warcraft 2 speed.
2019-06-26 05:12:48 +10:00
Tim Felgentreff
3ed9443edd
Merge pull request from talas/attack_autocast
enable autocast during attack-move
2019-06-21 18:36:27 +02:00
Talas
3be1864d2a enable autocast during attack-move
Feature request from wargus issue 
2019-06-21 17:55:29 +02:00
Tim Felgentreff
61feee8cbb
Merge pull request from talas/cast_portraits
Fix issue  in wargus, Casting on unit portraits
2019-06-20 06:15:51 +02:00
Tim Felgentreff
a8912b87bd
Merge pull request from talas/minimap_remove
Fix issue  in wargus, Minimap not updated after buildings destroyed
2019-06-20 06:14:47 +02:00
Talas
cee9fb0efd fix issue in wargus, Minimap not updated after buildings destroyed 2019-06-19 21:59:30 +02:00
Talas
5af6a25bc5 fix issue in wargus, Casting on unit portraits 2019-06-19 18:41:46 +02:00
Tim Felgentreff
c7fc80ff7e add a lua binding to replay the intro 2019-05-05 20:02:58 +02:00
Tim Felgentreff
21d701b67a fix ttl percent calculation 2019-05-05 12:54:15 +02:00
Tim Felgentreff
47e5c8aaea fix width, saving, and restoring summoned game cycle 2019-05-05 12:11:56 +02:00
Tim Felgentreff
e0227e931b fix typo in unit upgrade path 2019-05-05 12:11:55 +02:00
Tim Felgentreff
a2548e5d42
Merge pull request from Wargus/topic/296
Support setting a work-complete sound per unit type
2019-05-04 16:02:00 +02:00
Tim Felgentreff
6690e96577 support setting a work-complete sound per unit type 2019-05-01 17:20:32 +02:00
Tim Felgentreff
c7da7154db Fix , draw the click missile over the fog of war 2019-05-01 09:24:37 +02:00
Tim Felgentreff
5e1380c8c5 make the normal game extraction boxes less scary 2019-05-01 09:18:46 +02:00
Tim Felgentreff
8075892b08 remove senseless condition so we don't target units that we cannot attack 2019-04-28 16:46:10 +02:00
Tim Felgentreff
eb284a2c5a fix crash because of out-of-bounds access in terrain traversal 2019-04-28 16:22:42 +02:00
Tim Felgentreff
2590eeabf1 fix syntax error 2019-04-07 11:42:09 +02:00
Tim Felgentreff
3284a17140 fix extraction on windows, avoid side-effect of modifying the input 2019-04-07 11:13:22 +02:00
Tim Felgentreff
0dc69df476 Update the README 2019-04-06 18:58:33 +02:00
Tim Felgentreff
8c78ab8433
Merge pull request from Wargus/topic/fixes
Incorporate a couple of fixes from Wyrmgus
2019-04-06 17:58:38 +02:00
Andrettin
4f5387e3db Improved the performance of the AI enemy finder. Fixes 2019-04-06 17:48:27 +02:00
Andrettin
e5f0a466a1 Removed the NOUSER define as it was making compilation fail under VS2017 2019-04-06 17:25:07 +02:00