Changeset 3216

Show
Ignore:
Timestamp:
01/16/10 14:59:50 (8 weeks ago)
Author:
ghoulsblade
Message:
texatlas creation on first startup : fixed temp path, fixed videos paths : for packetvids
Location:
trunk/lua
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/lua/lib.packetvideo.lua

    r3179 r3216  
    3030gPacketVideoNoPlaybackPackets[kPacket_Logout] = true -- logout 
    3131 
    32 gPacketVideoFileName_folderpath = "../videos/" 
    3332gPacketVideoFileName_prefix             = gPacketVideoFileName_folderpath.."myvid." 
    3433gPacketVideoFileName_postfix    = ".ipv" 
  • trunk/lua/lib.terrain.multitex.lua

    r2758 r3216  
    174174                local imgAtlas = CreateImage() 
    175175                pTexAtlas:MakeImage(imgAtlas) 
    176                 imgAtlas:SaveAsFile("../data/tmp/terrain_tex_atlas.png") 
     176                imgAtlas:SaveAsFile(gTempPath.."terrain_tex_atlas.png") 
    177177        end 
    178178        local sGroundTexName = pTexAtlas:MakeTexture() 
  • trunk/lua/main.lua

    r3215 r3216  
    2121gDesktopDir                     = gConfigPath.."desktop/" -- old was data/desktop/ 
    2222gTempPath           = datapath.."tmp/" 
     23gPacketVideoFileName_folderpath = gMainWorkingDir.."videos/" 
    2324gSecondsSinceLastFrame = 0 
    2425 
     
    4546                gMacroPathFile      = gConfigPath..gMacroFile 
    4647                gDesktopDir                     = gConfigPath.."desktop/" 
     48                gPacketVideoFileName_folderpath = gHomeIrisPath.."videos/" -- todo : text='will be saved as .ipv files in iris/videos/' 
    4749                 
    4850                 
     
    5456                        mkdir(gConfigPath) 
    5557                        mkdir(gDesktopDir) 
     58                        mkdir(gPacketVideoFileName_folderpath) 
    5659                        CopyDir(gMainWorkingDir.."config/",gConfigPath) 
    5760                end