-- All Lua functions that existed in v1.1, extracted via tools/oldfunclist.lua and reformatted
-- Returns table with function names as keys

local fns = [[
addInfluence
appendUserDataPath
avatar_clampPosition
avatar_fallOffWall
avatar_getRollDirection
avatar_getSpellCharge
avatar_getStillTimer
avatar_isBursting
avatar_isLockable
avatar_isOnWall
avatar_isRolling
avatar_isShieldActive
avatar_isSinging
avatar_isTouchHit
avatar_setBlockSinging
avatar_setCanDie
avatar_setHeadTexture
avatar_setPullTarget
avatar_toggleCape
avatar_toggleMovement
avatar_updatePosition
beaconEffect
beam_delete
beam_setAngle
beam_setBeamWidth
beam_setDamage
beam_setPosition
beam_setTexture
bedEffects
bone_addSegment
bone_alpha
bone_color
bone_damageFlash
bone_getIndex
bone_getName
bone_getNormal
bone_getPosition
bone_getRotation
bone_getScale
bone_getWorldPosition
bone_getWorldRotation
bone_getidx
bone_isName
bone_isVisible
bone_lookAtEntity
bone_offset
bone_rotate
bone_rotateOffset
bone_scale
bone_setAnimated
bone_setBlendType
bone_setColor
bone_setPosition
bone_setRenderPass
bone_setSegmentChainHead
bone_setSegmentOffset
bone_setSegmentProps
bone_setSegs
bone_setTexture
bone_setTouchDamage
bone_setVisible
bone_showFrame
bone_update
cam_setPosition
cam_snap
cam_toEntity
cam_toNode
castSong
centerText
chance
changeForm
clearControlHint
clearHelp
clearShots
confirm
createBeam
createEntity
createQuad
createShot
createSpore
createWeb
cureAllStatus
debugLog
decrFlag
disableInput
disableOverrideZoom
doLoadMenu
doModSelect
dofile
egetv
egetvf
eisv
emote
enableInput
entityFollowEntity
entity_addGroupVel
entity_addIgnoreShotDamageType
entity_addRandomVel
entity_addTargetPoint
entity_addVel
entity_addVel2
entity_adjustPositionBySurfaceNormal
entity_alpha
entity_animate
entity_applyRandomForce
entity_applySurfaceNormalForce
entity_avgVel
entity_changeHealth
entity_checkSplash
entity_checkSurface
entity_clampToHit
entity_clampToSurface
entity_clearTargetPoints
entity_clearVel
entity_clearVel2
entity_collideCircleVsLine
entity_collideCircleVsLineAngle
entity_collideHairVsCircle
entity_collideSkeletalVsCircle
entity_collideSkeletalVsCircleForListByName
entity_collideSkeletalVsLine
entity_color
entity_createEntity
entity_damage
entity_debugText
entity_decrTargetLeaches
entity_delete
entity_disableMotionBlur
entity_doCollisionAvoidance
entity_doEntityAvoidance
entity_doFriction
entity_doGlint
entity_doSpellAvoidance
entity_enableMotionBlur
entity_ensureLimit
entity_exertHairForce
entity_fh
entity_fhTo
entity_findNearestEntityOfType
entity_findTarget
entity_fireAtTarget
entity_fireGas
entity_fireShot
entity_flipHToAvatar
entity_flipHorizontal
entity_flipTo
entity_flipToEntity
entity_flipToNode
entity_flipToSame
entity_flipToVel
entity_flipVertical
entity_followEntity
entity_followPath
entity_fv
entity_generateCollisionMask
entity_getAimVector
entity_getAlpha
entity_getAnimLen
entity_getAnimName
entity_getAnimationLength
entity_getAnimationName
entity_getBehaviorType
entity_getBoneByIdx
entity_getBoneByName
entity_getBoneLockEntity
entity_getBounceType
entity_getCollideRadius
entity_getDistanceToEntity
entity_getDistanceToTarget
entity_getEnqueuedState
entity_getEntityType
entity_getGroupID
entity_getHairPosition
entity_getHealth
entity_getHealthPerc
entity_getID
entity_getLookAtPoint
entity_getMaxSpeed
entity_getName
entity_getNearestBoneToPosition
entity_getNearestEntity
entity_getNearestNode
entity_getNormal
entity_getOffset
entity_getPosition
entity_getPositionX
entity_getPositionY
entity_getPrevState
entity_getRandomTargetPoint
entity_getRiding
entity_getRotation
entity_getScale
entity_getState
entity_getStateTime
entity_getTarget
entity_getTargetPoint
entity_getTargetPositionX
entity_getTargetPositionY
entity_getVectorToEntity
entity_getVelLen
entity_grabTarget
entity_handleShotCollisions
entity_handleShotCollisionsHair
entity_handleShotCollisionsSkeletal
entity_hasTarget
entity_heal
entity_hurtTarget
entity_idle
entity_incrTargetLeaches
entity_initEmitter
entity_initHair
entity_initPart
entity_initSegments
entity_initSkeletal
entity_initStrands
entity_interpolateTo
entity_isAnimating
entity_isBeingPulled
entity_isDamageTarget
entity_isDead
entity_isEntityInRange
entity_isFlag
entity_isFlippedHorizontal
entity_isFollowingEntity
entity_isFollowingPath
entity_isHit
entity_isInDarkness
entity_isInRect
entity_isInterpolating
entity_isInvincible
entity_isName
entity_isNearGround
entity_isNearObstruction
entity_isPositionInRange
entity_isProperty
entity_isRidingOnEntity
entity_isRotating
entity_isSaying
entity_isScaling
entity_isSlowingToStopPath
entity_isState
entity_isTargetInRange
entity_isUnderWater
entity_isValidTarget
entity_isVelIn
entity_isfh
entity_isfv
entity_move
entity_moveAlongSurface
entity_moveAround
entity_moveAroundAngle
entity_moveAroundTarget
entity_moveToBack
entity_moveToFront
entity_moveToNode
entity_moveTowards
entity_moveTowardsAngle
entity_moveTowardsGroupCenter
entity_moveTowardsGroupHeading
entity_moveTowardsTarget
entity_msg
entity_offset
entity_offsetUpdate
entity_partAlpha
entity_partBlendType
entity_partRotate
entity_partSetSegs
entity_partWidthHeight
entity_pathBurst
entity_playSfx
entity_pullEntities
entity_push
entity_pushTarget
entity_releaseTarget
entity_resetTimer
entity_resumePath
entity_revive
entity_rotate
entity_rotateOffset
entity_rotateTo
entity_rotateToEntity
entity_rotateToSurfaceNormal
entity_rotateToTarget
entity_rotateToVec
entity_rotateToVel
entity_say
entity_scale
entity_setActivation
entity_setActivationType
entity_setAffectedBySpell
entity_setAffectedBySpells
entity_setAllDamageTargets
entity_setAnimLayerTimeMult
entity_setAutoSkeletalUpdate
entity_setBeautyFlip
entity_setBehaviorType
entity_setBlendType
entity_setBoneLock
entity_setBounce
entity_setBounceType
entity_setCanLeaveWater
entity_setClampOnSwitchDir
entity_setCollideRadius
entity_setCollideWithAvatar
entity_setColor
entity_setCull
entity_setCullRadius
entity_setCurrentTarget
entity_setDamageTarget
entity_setDeathParticleEffect
entity_setDeathScene
entity_setDeathSound
entity_setDieTimer
entity_setDropChance
entity_setEatType
entity_setEnergyChargeTarget
entity_setEnergyShotTarget
entity_setEnergyShotTargetPosition
entity_setEntityLayer
entity_setEntityType
entity_setFillGrid
entity_setFlag
entity_setHairHeadPosition
entity_setHealth
entity_setHeight
entity_setIngredient
entity_setInternalOffset
entity_setInvincible
entity_setLife
entity_setLookAtPoint
entity_setMaxSpeed
entity_setMaxSpeedLerp
entity_setNaijaReaction
entity_setName
entity_setNodeGroupActive
entity_setOverrideCullRadius
entity_setPauseInConversation
entity_setPosition
entity_setPositionX
entity_setPositionY
entity_setProperty
entity_setRegisterEntityDied
entity_setRenderPass
entity_setRiding
entity_setRidingData
entity_setRidingPosition
entity_setSayPosition
entity_setSegmentTexture
entity_setSegs
entity_setSegsMaxDist
entity_setSpiritFreeze
entity_setState
entity_setStateTime
entity_setTarget
entity_setTargetPriority
entity_setTargetRange
entity_setTexture
entity_setTouchDamage
entity_setTouchPush
entity_setUpdateCull
entity_setVelLen
entity_setWeight
entity_setWidth
entity_slowToStopPath
entity_sound
entity_soundFreq
entity_spawnParticlesFromCollisionMask
entity_startEmitter
entity_stopAllAnimations
entity_stopEmitter
entity_stopFollowingPath
entity_stopInterpolating
entity_stopPull
entity_stopTimer
entity_swimToNode
entity_swimToPosition
entity_switchLayer
entity_switchSurfaceDirection
entity_toggleBone
entity_touchAvatarDamage
entity_update
entity_updateCurrents
entity_updateHair
entity_updateLocalWarpAreas
entity_updateMovement
entity_updateSkeletal
entity_velTowards
entity_velx
entity_vely
entity_waitForPath
entity_warpLastPosition
entity_warpSegments
entity_warpToNode
entity_warpToPathStart
entity_watchEntity
entity_watchForPath
entity_x
entity_y
esetv
esetvf
fade
fade2
fade3
fadeIn
fadeOut
fadeOutMusic
fadeSfx
findWall
flingMonkey
foundLostMemory
getAngleBetween
getAngleBetweenEntities
getAvatar
getBeacon
getCostume
getEnqueuedState
getEntity
getEntityByID
getEntityByName
getEntityInGroup
getFirstEntity
getFlag
getForm
getHalfTimer
getIngredientGfx
getLastCollidePosition
getLi
getLiPower
getMapName
getMousePos
getMouseWorldPos
getNaija
getNearestIngredient
getNearestNode
getNearestNodeByType
getNextEntity
getNode
getNodeByName
getNodeFromEntity
getNodeToActivate
getNoteColor
getNoteName
getNoteVector
getNumberOfEntitiesNamed
getPetPower
getRandNote
getRandVector
getScreenCenter
getStory
getStringBank
getStringFlag
getTimer
getWallNormal
getWaterLevel
getWorldType
goToTitle
hasFormUpgrade
hasLi
hasSong
healEntity
hideImage
hideInGameMenu
incrFlag
ing_hasIET
inp
isDemo
isDeveloperKeys
isElementLayerVisible
isEscapeKey
isFlag
isForm
isInCutscene
isInDialog
isInputEnabled
isLeftMouse
isMapName
isNested
isNestedMain
isObstructed
isObstructedBlock
isPlat
isPlayingVoice
isQuitFlag
isRightMouse
isStory
isStreamingVoice
isWithin
jumpState
killEntity
learnFormUpgrade
learnSong
learnSpell
loadMap
loadSound
mapNameContains
moveEntity
msg
musicVolume
node_activate
node_getAmount
node_getContent
node_getFlag
node_getName
node_getNearestEntity
node_getNearestNode
node_getNumEntitiesIn
node_getPathPosition
node_getPosition
node_getSize
node_isEntityIn
node_isEntityInRange
node_isEntityPast
node_isFlag
node_isPositionIn
node_setActive
node_setCatchActions
node_setCursorActivation
node_setEffectOn
node_setElementsInLayerActive
node_setFlag
node_setPosition
node_x
node_y
overrideZoom
pause
pickupGem
playMusic
playMusicOnce
playMusicStraight
playNoEffect
playSfx
playVfx
playVisualEffect
playVoice
quad_alpha
quad_alphaMod
quad_color
quad_delete
quad_getAlpha
quad_rotate
quad_scale
quad_setBlendType
quad_setPosition
quit
quitNestedMain
randAngle360
randRange
randVector
reconstructEntityGrid
reconstructGrid
registerSporeChildData
registerSporeDrop
reloadTextures
resetContinuity
resetTimer
savePoint
screenFadeCapture
screenFadeGo
screenFadeTransition
sendEntityMessage
setActivation
setActivePet
setBeacon
setBlackBarsColor
setCameraLerpDelay
setCanChangeForm
setCanWarp
setControlHint
setCostume
setCutscene
setElementLayerVisible
setEntityScript
setFlag
setGLNearest
setGameOver
setGameSpeed
setInvincible
setInvincibleOnNested
setLi
setLiPower
setMiniMapHint
setMousePos
setMusicToPlay
setNaijaHeadTexture
setNaijaModel
setNodeToActivate
setOverrideMusic
setOverrideVoiceFader
setPoison
setSceneColor
setStory
setStringFlag
setTimerText
setTimerTextAlpha
setVersionLabelText
setWaterLevel
setupBasicEntity
setupConversationEntity
setupEntity
shakeCamera
shot_getPosition
shot_setAimVector
shot_setBounceType
shot_setLifeTime
shot_setNice
shot_setOut
shot_setVel
showControls
showImage
showInGameMenu
spawnAllIngredients
spawnAroundEntity
spawnIngredient
spawnManaBall
spawnParticleEffect
stopAllSfx
stopAllVoice
stopCursorGlow
stopMusic
stopVoice
streamSfx
toWindowFromWorld
toggleBlackBars
toggleConversationWindow
toggleCursor
toggleDamageSprite
toggleDialogWindow
toggleLiCombat
toggleSteam
toggleTransitFishRide
toggleVersionLabel
unlearnSong
unpause
updateMusic
upgradeHealth
user_save
user_set_demo_intro
vector_cap
vector_dot
vector_getLength
vector_isLength2DIn
vector_normalize
vector_setLength
vision
voice
voiceInterupt
voiceOnce
wait
warpAvatar
warpNaijaToEntity
warpNaijaToSceneNode
watch
watchForVoice
web_addPoint
web_delete
web_getNumPoints
web_setPoint
wnd
wnds
]]

local tab = {}
for f in fns:gmatch"%S+" do
    tab[f] = true
end

return tab
