Changeset 3224
- Timestamp:
- 01/17/10 16:02:23 (8 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 modified
-
USE_HOME_DIR (added)
-
lua/config_declarations.lua (modified) (1 diff)
-
lua/lib.compass.lua (modified) (1 diff)
-
lua/lib.configdialog.lua (modified) (1 diff)
-
lua/main.lua (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lua/config_declarations.lua
r3218 r3224 433 433 gConfig:DeclareBoolean("gEnable2DWaterAnim", "gfx", "2D : Water Animation", 'enable/disable Water Animation in 2d mode', false) 434 434 gConfig:DeclareBoolean("gEnableBloomShader", "gfx", "bloom shader", 'TODO', false) 435 gConfig:DeclareBoolean("gGrannyAnimEnabled", "gfx", "granny anims, bad for performance as long as we don't use anim-shader", 'TODO', false)435 gConfig:DeclareBoolean("gGrannyAnimEnabled", "gfx", "granny anims, bad for performance as long as we don't use anim-shader", 'TODO', true) 436 436 gConfig:DeclareBoolean("gUseWaterShader", "gfx", "water shader", 'TODO', false) 437 437 gConfig:DeclareBoolean("gWaterAsGroundTiles", "gfx", "water as ground tiles", 'TODO', false) -
trunk/lua/lib.compass.lua
r3218 r3224 60 60 61 61 function MarkCurrentPosition (name) 62 if gUoamMark FilePaththen63 local fp = io.open(gUoamMark FilePath,"a")62 if gUoamMarkPathFile then 63 local fp = io.open(gUoamMarkPathFile,"a") 64 64 if (fp) then 65 65 local x,y,z = MacroRead_GetPlayerPosition() -
trunk/lua/lib.configdialog.lua
r3125 r3224 194 194 function ConfigDialogPage_PacketVideo(page) 195 195 page:AddChild("Button",{label="Play Iris PacketVideo (*.ipv)",on_button_click=function () 196 if (PacketVideo_Load(FileOpenDialog( ".","*.ipv","select iris packetvideo"))) then PacketVideo_Playback() end196 if (PacketVideo_Load(FileOpenDialog(gPacketVideoFileName_folderpath,"*.ipv","select iris packetvideo"))) then PacketVideo_Playback() end 197 197 end}) 198 198 page:AddChild("Button",{label="Play Razor PacketVideo (*.rpv)",on_button_click=function () -
trunk/lua/main.lua
r3220 r3224 15 15 -- User Directories/Files 16 16 gTempPath = gMainWorkingDir.."tmp/" 17 gUoamMarkFile = "mark.uoam"18 gUoamMarkFilePath = gTempPath..gUoamMarkFile19 17 gScreenshotDir = gMainWorkingDir.."screenshots/" 20 18 gConfigPath = gMainWorkingDir.."config/" … … 28 26 gPacketVideoFileName_folderpath = gMainWorkingDir.."videos/" 29 27 gUOAMDir = gConfigPath.."uoam/" 28 gUoamMarkFile = "mark.uoam" 29 gUoamMarkPathFile = gUOAMDir..gUoamMarkFile 30 30 31 31 gSecondsSinceLastFrame = 0 … … 54 54 gPacketVideoFileName_folderpath = gHomeIrisPath.."videos/" -- todo : text='will be saved as .ipv files in iris/videos/' 55 55 gUOAMDir = gConfigPath.."uoam/" 56 gUoamMarkPathFile = gUOAMDir..gUoamMarkFile 56 57 57 58 -- check if config.lua is already copied
