Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     IceOSLog    = GetComponent <IceOSLogout>();
     Software    = GameObject.Find("Software");
     System      = GameObject.Find("System");
     sc          = System.GetComponent <SoundControl>();
     appman      = System.GetComponent <AppMan>();
     tv          = System.GetComponent <TaskViewer>();
     RemoveTimer = 0.25f;
 }
Ejemplo n.º 2
0
    void Start()
    {
        SysSoftware     = GameObject.Find("System");
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");

        com  = SysSoftware.GetComponent <Computer>();
        ib   = AppSoftware.GetComponent <InternetBrowser>();
        note = AppSoftware.GetComponent <Notepad>();
        prog = HackingSoftware.GetComponent <Progtive>();
        al   = SysSoftware.GetComponent <AccLog>();

        trace = HackingSoftware.GetComponent <Tracer>();

        cy      = SysSoftware.GetComponent <Descy>();
        ds      = SysSoftware.GetComponent <DirSearch>();
        tv      = SysSoftware.GetComponent <TreeView>();
        al      = AppSoftware.GetComponent <AccLog>();
        cmd     = SysSoftware.GetComponent <CLI>();
        sm      = AppSoftware.GetComponent <SystemMap>();
        clk     = SysSoftware.GetComponent <Clock>();
        defalt  = SysSoftware.GetComponent <Defalt>();
        sc      = SysSoftware.GetComponent <SoundControl>();
        appmenu = SysSoftware.GetComponent <AppMenu>();
        appman  = SysSoftware.GetComponent <AppMan>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        UpdateUI();
        for (Index = 0; Index < GameControl.control.ProgramFiles.Count; Index++)
        {
            if (GameControl.control.ProgramFiles[Index].Name == "Gateway")
            {
                TestCheck = true;
            }
        }

        if (Index >= GameControl.control.ProgramFiles.Count)
        {
            if (TestCheck == false)
            {
                Test();
            }
        }

        X     = -350;
        Speed = 600;

        windowID = appmenu.windowID;
    }
Ejemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        Camera      = GameObject.Find("Camera");
        sh          = Camera.GetComponent <ScreenShot>();
        com         = SysSoftware.GetComponent <Computer>();
        appman      = SysSoftware.GetComponent <AppMan>();

        windowID          = 57;
        ContextMenuID     = 58;
        ContextwindowRect = new Rect(2, 49, 65, 22);
    }
Ejemplo n.º 4
0
    void AfterStart()
    {
        def    = system.GetComponent <Defalt>();
        com    = system.GetComponent <Computer>();
        sc     = system.GetComponent <SoundControl>();
        cli    = GetComponent <CLICommands>();
        appman = GetComponent <AppMan>();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        PosCheck();
    }
Ejemplo n.º 5
0
 // Use this for initialization
 void Start()
 {
     Puter         = GameObject.Find("System");
     WindowHandel  = GameObject.Find("WindowHandel");
     com           = Puter.GetComponent <Computer>();
     def           = Puter.GetComponent <Defalt>();
     sc            = Puter.GetComponent <SoundControl>();
     appman        = Puter.GetComponent <AppMan>();
     winman        = WindowHandel.GetComponent <WindowManager>();
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     CloseButton   = new Rect(378, 1, 21, 21);
 }
Ejemplo n.º 6
0
    // Use this for initialization
    void Start()
    {
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");
        SysSoftware     = GameObject.Find("System");
        //Computer = GameObject.Find("Computer");

        //System
        clk    = SysSoftware.GetComponent <Clock>();
        defalt = SysSoftware.GetComponent <Defalt>();
        am     = SysSoftware.GetComponent <AppMenu>();
        cmd    = SysSoftware.GetComponent <CLI>();
        com    = SysSoftware.GetComponent <Computer>();
        sc     = SysSoftware.GetComponent <SoundControl>();
        appman = SysSoftware.GetComponent <AppMan>();
        boot   = SysSoftware.GetComponent <Boot>();
        post   = SysSoftware.GetComponent <POST>();
        os     = SysSoftware.GetComponent <OS>();
        mouse  = SysSoftware.GetComponent <Mouse>();
        desk   = SysSoftware.GetComponent <Desktop>();

        //Applications
        al = AppSoftware.GetComponent <AccLog>();
        sm = AppSoftware.GetComponent <SystemMap>();
        ib = AppSoftware.GetComponent <InternetBrowser>();

        //Hacking
        prog  = HackingSoftware.GetComponent <Progtive>();
        trace = HackingSoftware.GetComponent <Tracer>();
        cy    = HackingSoftware.GetComponent <Descy>();
        ds    = HackingSoftware.GetComponent <DirSearch>();

        mb    = GetComponent <MissionBrow>();
        cc    = GetComponent <CurContracts>();
        sl    = GetComponent <SiteList>();
        note  = GetComponent <Notepad>();
        fav   = GetComponent <Favs>();
        tv    = GetComponent <TreeView>();
        mPass = GetComponent <MonitorBypass>();
        wsv   = GetComponent <WebSecViewer>();
        sdp   = GetComponent <ShutdownProm>();
        Audio = GetComponent <AudioSource>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        Audio.volume = Customize.cust.Volume;

        DesktopY  = 75;
        StartTime = 0.030f;
    }
Ejemplo n.º 7
0
    // Use this for initialization
    void Start()
    {
        Crash    = GameObject.Find("Crash");
        Desktops = GameObject.Find("Desktops");
        Software = GameObject.Find("Software");
        prompt   = GameObject.Find("Prompts");
        System   = GameObject.Find("System");

        noti = prompt.GetComponent <NotfiPrompt>();
        SCM  = Crash.GetComponent <SysCrashMan> ();
        tv   = System.GetComponent <TaskViewer>();

        appman = System.GetComponent <AppMan>();
    }
Ejemplo n.º 8
0
    void Start()
    {
        Applications = GameObject.Find("Applications");
        SysSoftware  = GameObject.Find("System");
        com          = SysSoftware.GetComponent <Computer>();
        appman       = SysSoftware.GetComponent <AppMan>();
        eventview    = Applications.GetComponent <EventViewer>();

        PosCheck();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect.width  = 185;
        windowRect.height = 200;

        ContextwindowRect.width = 100;

        CloseButton = new Rect(windowRect.width - 23, 2, 21, 21);
        DateString  = new Rect(2, windowRect.height - 178, 200, 22);

        StartingDay = 1;


        DefaltTime.Day           = 1;
        DefaltTime.DayNumber     = 5;
        DefaltTime.Month         = 1;
        DefaltTime.LeapYearCount = 2;
        DefaltTime.Year          = 1970;
        DefaltTime.StartDay      = 5;

        CurrentTimeUpdate();

        Menu = "Dates";

        Months.Add("");
        Months.Add("Jan");
        Months.Add("Feb");
        Months.Add("Mar");
        Months.Add("Apr");
        Months.Add("May");
        Months.Add("Jun");
        Months.Add("Jul");
        Months.Add("Aug");
        Months.Add("Sep");
        Months.Add("Oct");
        Months.Add("Nov");
        Months.Add("Dec");
    }
Ejemplo n.º 9
0
 // Use this for initialization
 void Start()
 {
     Computer = GameObject.Find("Applications");
     System   = GameObject.Find("System");
     ib       = Computer.GetComponent <InternetBrowser>();
     appman   = System.GetComponent <AppMan>();
     //WebSearch();
     //PlayerInfo();
     ResetTime     = 0.15f;
     Timer         = ResetTime;
     SelectedIndex = -1;
     EntryName     = "";
     Name          = "";
     RandomNameS   = "";
 }
Ejemplo n.º 10
0
    //private Files files;
    // Use this for initialization
    void Start()
    {
        System       = GameObject.Find("System");
        com          = System.GetComponent <Computer>();
        def          = System.GetComponent <Defalt>();
        appman       = System.GetComponent <AppMan>();
        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        PosCheck();
        Menu          = "Main";
        SelectedLogin = "";
    }
Ejemplo n.º 11
0
    // Use this for initialization

    void Start()
    {
        Puter = GameObject.Find("System");
        Game  = GameObject.Find("Invisus Mundus");

        com     = Puter.GetComponent <Computer>();
        appman  = Puter.GetComponent <AppMan>();
        control = Game.GetComponent <IMController>();

        windowRect.width  = 600;
        windowRect.height = 300;


        CloseButton = new Rect(windowRect.width - 23, 2, 21, 21);



        AfterStart();
    }
Ejemplo n.º 12
0
    void Start()
    {
        SysSoftware     = GameObject.Find("System");
        AppSoftware     = GameObject.Find("Applications");
        HackingSoftware = GameObject.Find("Hacking");

        com  = SysSoftware.GetComponent <Computer>();
        ib   = AppSoftware.GetComponent <InternetBrowser>();
        note = AppSoftware.GetComponent <Notepad>();
        prog = HackingSoftware.GetComponent <Progtive>();
        al   = SysSoftware.GetComponent <AccLog>();

        trace = HackingSoftware.GetComponent <Tracer>();

        cy      = SysSoftware.GetComponent <Descy>();
        ds      = SysSoftware.GetComponent <DirSearch>();
        tv      = SysSoftware.GetComponent <TreeView>();
        al      = AppSoftware.GetComponent <AccLog>();
        cmd     = SysSoftware.GetComponent <CLI>();
        sm      = AppSoftware.GetComponent <SystemMap>();
        clk     = SysSoftware.GetComponent <Clock>();
        defalt  = SysSoftware.GetComponent <Defalt>();
        sc      = SysSoftware.GetComponent <SoundControl>();
        appmenu = SysSoftware.GetComponent <AppMenu>();
        appman  = SysSoftware.GetComponent <AppMan>();

        windowRect.x = Customize.cust.windowx[windowID];
        windowRect.y = Customize.cust.windowy[windowID];

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        UpdateUI();
        if (GameControl.control.QuickProgramList.Count < 1)
        {
            Test();
        }

        X     = 700;
        Speed = 3;

        windowID = appmenu.windowID;
    }
Ejemplo n.º 13
0
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        com         = SysSoftware.GetComponent <Computer>();
        defalt      = SysSoftware.GetComponent <Defalt>();
        fp          = SysSoftware.GetComponent <FileExplorer>();
        appman      = SysSoftware.GetComponent <AppMan>();

        PosCheck();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect.width  = 300;
        windowRect.height = 300;

        ContextwindowRect.width = 100;

        CloseButton = new Rect(windowRect.width - 23, 2, 21, 21);
    }
Ejemplo n.º 14
0
    void Start()
    {
        Hardware        = GameObject.Find("Hardware");
        Prompts         = GameObject.Find("Prompts");
        SysSoftware     = GameObject.Find("System");
        HackingSoftware = GameObject.Find("Hacking");
        AppSoftware     = GameObject.Find("Applications");
        WindowHandel    = GameObject.Find("WindowHandel");

        winman = WindowHandel.GetComponent <WindowManager>();
        com    = SysSoftware.GetComponent <Computer>();
        def    = SysSoftware.GetComponent <Defalt>();
        appman = SysSoftware.GetComponent <AppMan>();
        // windowRect.x = Customize.cust.windowx[windowID];
        //windowRect.y = Customize.cust.windowy[windowID];
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        //AddNewItems();
    }
Ejemplo n.º 15
0
    // Use this for initialization
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        AppSoftware = GameObject.Find("Applications");
        appman      = SysSoftware.GetComponent <AppMan>();
        def         = SysSoftware.GetComponent <Defalt>();
        com         = SysSoftware.GetComponent <Computer>();
        Database    = GameObject.Find("Database");
        Minigames   = GameObject.Find("MiniGames");
        WebSearch();
        PosCheck();
        SetPos();
        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        if (seb.AddressBar == "")
        {
            seb.AddressBar = "www.stockexchange.com";
            seb.Inputted   = "www.stockexchange.com";
        }
    }
Ejemplo n.º 16
0
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        com         = SysSoftware.GetComponent <Computer>();
        defalt      = SysSoftware.GetComponent <Defalt>();

        appman = SysSoftware.GetComponent <AppMan>();

        PosCheck();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect.width  = 300;
        windowRect.height = 300;

        if (GameControl.control.SoftwareVersion [1] == 0)
        {
            GameControl.control.SoftwareVersion [1] = 1;
        }
    }
Ejemplo n.º 17
0
    // Use this for initialization
    void Start()
    {
        Desktops = GameObject.Find("Desktops");
        //Desktop Enviros
        appaDesktop     = Desktops.GetComponent <AppatureDesktop>();
        treeDesktop     = Desktops.GetComponent <TreeOSDesktop>();
        iceDesktop      = Desktops.GetComponent <IceOSDesktop>();
        cmdsysosDesktop = Desktops.GetComponent <CmdSysOSDesktop>();

        appman = GetComponent <AppMan>();

        boot = GetComponent <Boot>();

        if (boot.Terminal == true)
        {
            this.enabled = false;
        }
        else
        {
            DesktopCheck();
        }
    }
Ejemplo n.º 18
0
    void Start()
    {
        SysSoftware  = GameObject.Find("System");
        Applications = GameObject.Find("Applications");
        com          = SysSoftware.GetComponent <Computer>();
        appman       = SysSoftware.GetComponent <AppMan>();
        calendarv2   = Applications.GetComponent <CalendarV2>();

        PosCheck();

        native_height = Customize.cust.native_height;
        native_width  = Customize.cust.native_width;

        windowRect.width  = 185;
        windowRect.height = 200;

        ContextwindowRect.width = 100;

        CloseButton = new Rect(windowRect.width - 23, 2, 21, 21);

        TextAreaRect = new Rect(2, 50, windowRect.width - 4, windowRect.height - 53);

        SelectedMenu = "Main Menu";
    }
Ejemplo n.º 19
0
    // Use this for initialization
    void Start()
    {
        SysSoftware  = GameObject.Find("System");
        Hardware     = GameObject.Find("Hardware");
        Applications = GameObject.Find("Applications");

        cpu    = Hardware.GetComponent <CPU>();
        ram    = Hardware.GetComponent <RAM>();
        com    = SysSoftware.GetComponent <Computer>();
        def    = SysSoftware.GetComponent <Defalt>();
        sp     = SysSoftware.GetComponent <SystemPanel>();
        tv     = SysSoftware.GetComponent <TaskViewer>();
        ib     = Applications.GetComponent <InternetBrowser>();
        appman = SysSoftware.GetComponent <AppMan>();
        sc     = GetComponent <SoundControl>();
        boot   = GetComponent <Boot>();

        note = Applications.GetComponent <Notepad>();



        if (boot.Terminal == true)
        {
            CPUUsage      += 2;
            MemoryUsage   += 500;
            GraphicsUsage += 5;
            Index          = 2;
            SetOSUsage     = false;
            StartUpdateOS  = false;
            SetUsage();
            SelectedIcon = 1;
            GameControl.control.BootTime = 0.4f;
            appman.SelectedApp           = "Command Line V2";
        }
        else
        {
            StartUpdateOS = true;
        }

//		if (Customize.cust.native_width != 0)
//		{
//			native_width = Customize.cust.native_width;
//			native_height = Customize.cust.native_height;
//		}

        if (Application.isEditor == true)
        {
            windowRect = new Rect(0, 0, Screen.width, Screen.height);
        }
        else
        {
            windowRect = new Rect(0, 0, Customize.cust.RezX, Customize.cust.RezY);
        }

        IconWidth = 10 * 12;
        xmodpic   = 4;
        ymodpic   = 8;
        xmod      = 13;

        MaxIconsPerRow = 10;

        ContextMenuID           = 98;
        ContextwindowRect.width = 100;
        //ContextwindowRect.height = 21*6+7;
    }
Ejemplo n.º 20
0
 // Use this for initialization
 void Start()
 {
     tasks  = GetComponent <TaskViewer>();
     os     = GetComponent <OS>();
     appman = GetComponent <AppMan>();
 }