Tue, 30 Oct 2018 23:08:43 +0100 |
Wuzzy |
Play another voice as fallback if sndRevenge could not be found
|
file |
diff |
annotate
|
Fri, 26 Oct 2018 04:07:35 +0200 |
Wuzzy |
Add PlayMusicSound/StopMusicSound to Lua API
|
file |
diff |
annotate
|
Wed, 24 Oct 2018 11:05:44 -0400 |
nemo |
disable basic comment support 'cause lua is nuts
|
file |
diff |
annotate
|
Wed, 17 Oct 2018 05:33:02 +0200 |
Wuzzy |
Lua: Add PLATFORM global var to distinguish between desktop and mobile builds
|
file |
diff |
annotate
|
Tue, 09 Oct 2018 09:02:39 -0400 |
nemo |
make explicit for pas2c some string casts that fpc was probably doing automatically
|
file |
diff |
annotate
|
Sat, 06 Oct 2018 00:23:27 +0200 |
Wuzzy |
Make sure AddChatString is only fed with shortstrings
|
file |
diff |
annotate
|
Fri, 05 Oct 2018 17:27:12 +0200 |
Wuzzy |
Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
|
file |
diff |
annotate
|
Thu, 04 Oct 2018 23:29:20 +0200 |
Wuzzy |
Backed out changeset 5f6208031658 (fixes 652)
|
file |
diff |
annotate
|
Thu, 04 Oct 2018 19:04:27 +0200 |
Wuzzy |
Change syntax for Format/FormatA, remove array in function to be friendlier to Pas2C
|
file |
diff |
annotate
|
Sat, 29 Sep 2018 14:52:13 +0200 |
Wuzzy |
Set script globals TurnTimeLeft and ReadyTimeLeft immediately after they were changed by Lua call
|
file |
diff |
annotate
|
Tue, 18 Sep 2018 19:38:58 -0400 |
nemo |
use locale rules for the challenge hashes
|
file |
diff |
annotate
|
Sat, 15 Sep 2018 16:22:04 +0200 |
Wuzzy |
Fix some syntax errors in internal Lua syntax documentation
|
file |
diff |
annotate
|
Tue, 04 Sep 2018 22:59:08 +0200 |
Wuzzy |
Don't write TurnTimeLeft deprecation warning if setter function was used
|
file |
diff |
annotate
|
Mon, 03 Sep 2018 20:01:50 +0200 |
Wuzzy |
Lua: Fix LeftX, RightX, TopY, LAND_WIDTH, LAND_HEIGHT being broken if onVisualGearAdd is set
|
file |
diff |
annotate
|
Mon, 03 Sep 2018 12:46:57 +0200 |
Wuzzy |
Lua: Rename globals: NoPointX→NO_CURSOR, cMaxTurnTime→MAX_TURN_TIME, cMaxHogHealth→MAX_HOG_HEALTH
|
file |
diff |
annotate
|
Mon, 03 Sep 2018 00:48:51 +0200 |
Wuzzy |
Call GetGlobals after entering Lua command with /lua
|
file |
diff |
annotate
|
Mon, 03 Sep 2018 00:03:06 +0200 |
Wuzzy |
Fix buggy behaviour when setting TurnTimeLeft through Retreat
|
file |
diff |
annotate
|
Sun, 02 Sep 2018 22:05:45 +0200 |
Wuzzy |
Change chat text color for Lua warnings to yellow
|
file |
diff |
annotate
|
Sun, 02 Sep 2018 22:02:15 +0200 |
Wuzzy |
Add deprecation warning for setting TurnTimeLeft/ReadyTimeLeft directly, fix SetTurnTimeLeft/SetReadyTimeLeft not setting vars reliably
|
file |
diff |
annotate
|
Sun, 02 Sep 2018 20:57:33 +0200 |
Wuzzy |
Lua API: Add SetTurnTimeLeft, SetReadyTimeLeft
|
file |
diff |
annotate
|
Fri, 31 Aug 2018 21:34:33 +0200 |
Wuzzy |
Add 2nd optional parameter to HedgewarsScriptLoad. If false, its OK if file does not exist. Also, return true/false on success
|
file |
diff |
annotate
|
Fri, 31 Aug 2018 21:22:12 +0200 |
Wuzzy |
Backed out changeset a62408ee8281. Allowing HedgewarsScriptLoad to not stop if script is missing is dumb
|
file |
diff |
annotate
|
Fri, 31 Aug 2018 21:07:07 +0200 |
Wuzzy |
Allow script to be missing when calling HedgewarsScriptLoad, return true/false based on success
|
file |
diff |
annotate
|
Fri, 31 Aug 2018 18:15:45 +0200 |
Wuzzy |
Critical error if loading a script has failed
|
file |
diff |
annotate
|
Wed, 22 Aug 2018 16:47:09 +0200 |
Wuzzy |
Backed out changeset 076b7d23fab8. Well, the commit in question was needed after all ...
0.9.24
|
file |
diff |
annotate
|
Wed, 22 Aug 2018 00:40:11 +0200 |
Wuzzy |
Backed out changeset 6c0cf6b9eff8. Scripters should be prepared for nil and pretending the gear exists would cause more pain
0.9.24
|
file |
diff |
annotate
|
Tue, 21 Aug 2018 15:26:29 -0400 |
nemo |
use 0s instead of nils to try to protect script assumptions
0.9.24
|
file |
diff |
annotate
|
Tue, 21 Aug 2018 15:11:28 -0400 |
nemo |
only-stats should never create visual gears. and lua should never rely on visual gears being created. critical is just to help ensure ones important to gameplay don't get lost in fast-forward
0.9.24
|
file |
diff |
annotate
|
Tue, 21 Aug 2018 15:46:34 +0200 |
Wuzzy |
Make engine chat syntax translatable
|
file |
diff |
annotate
|
Tue, 14 Aug 2018 13:43:04 +0200 |
Wuzzy |
Prevent wrapping of turn time when using extra time
|
file |
diff |
annotate
|
Sat, 11 Aug 2018 21:43:55 +0200 |
Wuzzy |
Add separate TotalRounds var for Lua to count the *actual* number of rounds that have been played
|
file |
diff |
annotate
|
Wed, 08 Aug 2018 14:38:54 +0200 |
Wuzzy |
Refactor text color variable names, export 2 color values to Lua
|
file |
diff |
annotate
|
Tue, 07 Aug 2018 10:29:01 +0200 |
Wuzzy |
Move max. number of crate spawns into variable
|
file |
diff |
annotate
|
Tue, 07 Aug 2018 01:24:57 +0200 |
Wuzzy |
Add comments for most hwengine constants
|
file |
diff |
annotate
|
Mon, 06 Aug 2018 22:39:39 +0200 |
Wuzzy |
Show correct health increase when hog health cap is reached
|
file |
diff |
annotate
|
Thu, 02 Aug 2018 23:43:31 +0200 |
Wuzzy |
Fix hammer/pickhammer not digging land with gfSolidLand on
|
file |
diff |
annotate
|
Thu, 02 Aug 2018 03:16:08 +0200 |
Wuzzy |
Cap hedgehog health to prevent overflow bugs
|
file |
diff |
annotate
|
Thu, 02 Aug 2018 01:45:45 +0200 |
Wuzzy |
Add Lua globals: AMMO_INFINITE and NoPointX
|
file |
diff |
annotate
|
Thu, 02 Aug 2018 01:24:40 +0200 |
Wuzzy |
Add support for infinite fly time of jetpack and Birdy
|
file |
diff |
annotate
|
Wed, 01 Aug 2018 02:49:03 +0200 |
Wuzzy |
Lua: Allow to use negative value for AddTeam to select a default clan color
|
file |
diff |
annotate
|
Tue, 31 Jul 2018 01:00:27 +0200 |
Wuzzy |
Lua API: Add IsHogHidden
|
file |
diff |
annotate
|
Tue, 31 Jul 2018 00:12:19 +0200 |
Wuzzy |
Lua: Add GetVampiric, GetLaserSight
|
file |
diff |
annotate
|
Tue, 10 Jul 2018 18:00:04 +0200 |
Wuzzy |
Refactor: lfCurrentHog→lfCurHogCrate, lfNotCurrentMask→lfNotCurHogCrate
|
file |
diff |
annotate
|
Tue, 10 Jul 2018 16:44:13 +0200 |
Wuzzy |
Lua API: Add parameter forceDisplay to ShowMission to prevent manual hiding
|
file |
diff |
annotate
|
Sun, 08 Jul 2018 02:06:08 +0200 |
Wuzzy |
Fix GetAmmo getting wrong ammo count
|
file |
diff |
annotate
|
Sun, 08 Jul 2018 01:30:13 +0200 |
Wuzzy |
New Lua API function: GetAmmo, to get ammo config
|
file |
diff |
annotate
|
Mon, 02 Jul 2018 16:48:16 -0400 |
nemo |
somehow scale was omitted from this catch-all VG init. late addition to the struct perhaps.
|
file |
diff |
annotate
|
Thu, 17 May 2018 20:04:39 -0400 |
nemo |
0.9.24 merge of physfs tweak
|
file |
diff |
annotate
|
Thu, 17 May 2018 20:04:07 -0400 |
nemo |
Make wrapping a lua and its sidecar actually work.
0.9.24
|
file |
diff |
annotate
|
Fri, 04 May 2018 15:08:59 +0200 |
Wuzzy |
Make EnableSwitchHog() more robust against failure, return gear UID
|
file |
diff |
annotate
|
Fri, 04 May 2018 14:38:01 +0200 |
Wuzzy |
Lua API: Add EnableSwitchHog to manually enable hog switching
|
file |
diff |
annotate
|
Thu, 03 May 2018 22:42:29 +0200 |
Wuzzy |
Fix GetAmmoTimer implementation, swap arguments
|
file |
diff |
annotate
|
Thu, 03 May 2018 22:05:25 +0200 |
Wuzzy |
Lua API: GetAmmoTimer, to get the player-set timer for an ammo
|
file |
diff |
annotate
|
Thu, 03 May 2018 21:40:13 +0200 |
Wuzzy |
Lua API: Add 5th parameter showExtra to SetAmmoTexts to hide extra text
|
file |
diff |
annotate
|
Sun, 29 Apr 2018 11:25:12 -0400 |
nemo |
Seed reset seems fine when moved out of the loader. Also bump protocol
|
file |
diff |
annotate
|
Sun, 29 Apr 2018 10:47:02 -0400 |
nemo |
Back out 12847:1aba77b2e4ac This both does NOT fix the seed mismatch with shoppa map preview *AND* breaks otherwise identical scripts with different file encodings due to multiple lua calls.
|
file |
diff |
annotate
|
Sat, 21 Apr 2018 17:17:42 +0200 |
Wuzzy |
New Lua call: Retreat, to force turn into Retreat time
|
file |
diff |
annotate
|
Fri, 23 Mar 2018 03:17:01 +0100 |
Wuzzy |
Add new game flag gfSwitchHog, enable hog switching at turn start
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 19:25:38 +0100 |
Wuzzy |
Lua API: Add Explode function
|
file |
diff |
annotate
|
Thu, 15 Mar 2018 04:33:11 +0100 |
Wuzzy |
Lua API: Fix not updating CursorX/CursorY properly when moving cursor at screen border
|
file |
diff |
annotate
|
Mon, 12 Mar 2018 12:27:13 +0100 |
Wuzzy |
Lua API: Add SkipTurn() to replace ParseCommand("skip")
|
file |
diff |
annotate
|
Thu, 08 Mar 2018 19:03:03 +0100 |
Wuzzy |
Lua API: PlaySound: Add 3rd parameter instaVoice to instantly play voice
|
file |
diff |
annotate
|
Thu, 08 Mar 2018 18:15:06 +0100 |
Wuzzy |
Lua API: Add SetSoundMask to disable playing certain sounds
|
file |
diff |
annotate
|
Wed, 07 Mar 2018 13:48:51 +0100 |
Wuzzy |
Lua: Rename global variable “L” to “LOCALE”
|
file |
diff |
annotate
|
Fri, 23 Feb 2018 14:26:58 +0100 |
Wuzzy |
Lua API: Fix SetWind not updating flake direction
|
file |
diff |
annotate
|
Tue, 20 Feb 2018 15:37:36 +0100 |
Wuzzy |
Lua API: Remove empty functions CampaignLock and CampaignUnlock
|
file |
diff |
annotate
|
Tue, 20 Feb 2018 15:31:47 +0100 |
Wuzzy |
Expose 5 land flags to Lua for use with SetGearCollisionMask
|
file |
diff |
annotate
|
Tue, 20 Feb 2018 14:03:46 +0100 |
Wuzzy |
Fix inconsistent name of SetGearAIHints
|
file |
diff |
annotate
|
Fri, 16 Feb 2018 19:49:46 +0100 |
Wuzzy |
Lua API: Add functons: GetTeamIndex and GetTeamClan
|
file |
diff |
annotate
|
Fri, 16 Feb 2018 13:57:48 +0100 |
Wuzzy |
Add SetTeamLabel to Lua API, can set arbitrary string as team label
|
file |
diff |
annotate
|
Fri, 09 Feb 2018 21:04:53 +0100 |
Wuzzy |
Lua API: AddAmmo unselects weapons before it would remove current ammo from current hog
|
file |
diff |
annotate
|
Fri, 09 Feb 2018 12:52:05 +0100 |
Wuzzy |
Lua API: Add HealHog to heal hog with visual effects + message
|
file |
diff |
annotate
|
Fri, 09 Feb 2018 06:03:01 +0100 |
Wuzzy |
Lua API: Add SpawnSupplyCrate
|
file |
diff |
annotate
|
Fri, 09 Feb 2018 04:37:27 +0100 |
Wuzzy |
Lua API: Add GetTeamName
|
file |
diff |
annotate
|
Thu, 08 Feb 2018 19:02:51 +0100 |
Wuzzy |
Lua API: Add GetWind function to get current wind
|
file |
diff |
annotate
|
Thu, 08 Feb 2018 18:42:07 +0100 |
Wuzzy |
Lua API: Add SetVampiric and SetLaserSight
|
file |
diff |
annotate
|
Wed, 07 Feb 2018 01:54:50 +0100 |
Wuzzy |
Lua API: Add WriteLnToChat
|
file |
diff |
annotate
|
Wed, 29 Nov 2017 20:38:26 -0500 |
nemo |
er. should be true I think? also... maybe this should be somewhere else
|
file |
diff |
annotate
|
Wed, 29 Nov 2017 20:35:56 -0500 |
nemo |
This is a desyncing change. But... We might need a new release anyway. ☹
|
file |
diff |
annotate
|
Tue, 24 Oct 2017 04:48:20 +0200 |
Wuzzy |
Lua API: Fix Goals text being cut off at ca. 255 characters
|
file |
diff |
annotate
|
Tue, 10 Oct 2017 17:39:11 +0200 |
Wuzzy |
Lua API: Remove BorderColor variable from onGameInit
|
file |
diff |
annotate
|
Sat, 30 Sep 2017 21:54:47 +0200 |
sheepluva |
fix some fpc hints
|
file |
diff |
annotate
|
Sat, 30 Sep 2017 00:09:48 +0200 |
sheepluva |
pas2c happiness initiative 2017, continued
|
file |
diff |
annotate
|
Fri, 29 Sep 2017 22:53:53 +0200 |
sheepluva |
fix some things that annoy pas2c and whitespaces
|
file |
diff |
annotate
|
Thu, 28 Sep 2017 18:36:24 +0200 |
Wuzzy |
Lua API: Add ReadyTimeLeft variable
|
file |
diff |
annotate
|
Tue, 26 Sep 2017 16:07:44 +0200 |
Wuzzy |
New Lua API function: GetTeamStats, to get team stats
|
file |
diff |
annotate
|
Fri, 22 Sep 2017 18:45:51 -0400 |
nemo |
mix it up some more. also had screwed up -- inside quotes
|
file |
diff |
annotate
|
Fri, 22 Sep 2017 18:07:11 -0400 |
nemo |
should be harder to dodge than a xor
|
file |
diff |
annotate
|
Wed, 20 Sep 2017 13:15:17 -0400 |
nemo |
ranges for alnum were silly. also lets not fail to same value
|
file |
diff |
annotate
|
Wed, 20 Sep 2017 11:00:43 -0400 |
nemo |
Data is not part of the path
|
file |
diff |
annotate
|
Tue, 12 Sep 2017 16:14:40 -0400 |
nemo |
Try to prevent the script safety checking from totally screwing up localisation. Also untested.
|
file |
diff |
annotate
|
Tue, 12 Sep 2017 08:32:01 -0400 |
nemo |
This should be ok right?
|
file |
diff |
annotate
|
Mon, 11 Sep 2017 14:28:58 -0400 |
nemo |
Totally untested. Trying to ensure scripts loaded more or less match.
|
file |
diff |
annotate
|
Fri, 28 Apr 2017 02:18:21 +0200 |
Wuzzy |
Lua: Fix SwitchHog breaking the ammo menu of the new hog
|
file |
diff |
annotate
|
Tue, 23 Feb 2016 13:45:49 +0300 |
unc0rr |
Dump best time ghost on console
0.9.22
|
file |
diff |
annotate
|
Thu, 27 Apr 2017 19:09:01 +0200 |
Wuzzy |
Lua: Fix HideHog causing engine crash when provided with invalid gear ID or hog was hidden
|
file |
diff |
annotate
|
Wed, 26 Apr 2017 01:51:51 +0200 |
Wuzzy |
Lua API: SendAchevementsStatsOff, SendGameResultOff, SendRankingStatsOff
|
file |
diff |
annotate
|
Mon, 24 Apr 2017 09:59:10 -0400 |
nemo |
Move sidecar lua load to prior to script load. This should let the script use it for dependencies.
|
file |
diff |
annotate
|
Sat, 22 Apr 2017 18:36:57 +0200 |
Wuzzy |
Lua variable: AmmoTypeMax (maximum ammo type ID for iterating)
|
file |
diff |
annotate
|
Thu, 20 Apr 2017 11:22:29 -0400 |
nemo |
For testing purposes, drop tointeger and pushint since Lua uses ptrdiff causing inconsistent behaviour if we try to get a longword value from tointeger on 64 bit vs 32bit. This should improve script reliability a bit
|
file |
diff |
annotate
|
Wed, 19 Apr 2017 17:50:31 +0200 |
Wuzzy |
New Lua call: EndTurn to end turn
|
file |
diff |
annotate
|
Wed, 05 Apr 2017 17:26:59 +0200 |
Wuzzy |
Remove Lua function SetAmmoStore
|
file |
diff |
annotate
|
Sat, 10 Dec 2016 21:28:10 +0100 |
sheepluva |
Fix ScriptExists() destroying lua stack (fixes Bug #146)
|
file |
diff |
annotate
|
Sun, 27 Nov 2016 05:33:26 +0100 |
Wuzzy |
Add PlaceRubber to Lua API
|
file |
diff |
annotate
|
Wed, 23 Nov 2016 19:39:01 +0100 |
Wuzzy |
Add GetHogFort to Lua API
|
file |
diff |
annotate
|
Sun, 20 Nov 2016 01:50:24 +0100 |
Wuzzy |
Expose number of air mines in Lua variable AirMinesNum
|
file |
diff |
annotate
|
Sat, 19 Nov 2016 22:17:08 +0100 |
Wuzzy |
Allow to ignore overwritten ammo name in GetAmmoName
|
file |
diff |
annotate
|
Sat, 19 Nov 2016 22:00:23 +0100 |
Wuzzy |
GetAmmoName now returns ammo name overwritten by SetAmmoTexts
|
file |
diff |
annotate
|
Tue, 10 May 2016 01:59:54 +0200 |
Wuzzy |
Add SetAmmoDescriptionAppendix to Lua API, see issue 82
|
file |
diff |
annotate
|
Mon, 09 May 2016 22:49:31 +0200 |
Wuzzy |
Add Lua API function SetAmmoTexts (see issue 82)
|
file |
diff |
annotate
|
Tue, 15 Nov 2016 00:42:44 +0100 |
Wuzzy |
Lua API: Add GetVisualGearType, onVisualGearAdd, onVisualGearDelete
|
file |
diff |
annotate
|
Tue, 15 Nov 2016 00:17:31 +0100 |
Wuzzy |
Add WorldEdge to Lua API to expose/change world edge type
|
file |
diff |
annotate
|
Fri, 16 Sep 2016 00:41:03 +0200 |
sheepluva |
fix typo and hopefully also pas2c
|
file |
diff |
annotate
|
Fri, 16 Sep 2016 00:01:43 +0200 |
sheepluva |
Lua API: IsHogLocal(gearUid)
|
file |
diff |
annotate
|
Thu, 15 Sep 2016 23:16:49 +0200 |
sheepluva |
Lua API: GetAmmoName(ammoType)
|
file |
diff |
annotate
|
Sun, 04 Sep 2016 21:23:00 +0200 |
sheepluva |
Lua API: fix incorrect error message. thanks to TheAnachron and rhino for pointing this out
|
file |
diff |
annotate
|
Sun, 15 May 2016 23:11:14 +0200 |
sheepluva |
drop SysUtils inclusion from 5 files where it is not needed anymore
|
file |
diff |
annotate
|
Sun, 15 May 2016 13:18:34 +0200 |
sheepluva |
always include uUtils _after_ SysUtils
|
file |
diff |
annotate
|
Wed, 27 Apr 2016 00:14:06 +0200 |
Wuzzy |
fix for issue 71: Lua API: “Theme” variable is set to empty string initially
|
file |
diff |
annotate
|
Wed, 27 Apr 2016 00:04:37 +0200 |
sheepluva |
Lua-API - GetClanColor: Verify argument and display error message on fail (instead of engine crash)
|
file |
diff |
annotate
|