Example #1
0
        /*-------------------------------------------------------------------------
         *
         * ---------------------------------------------------------------------------*/
        public GvoDatabase(gvt_lib lib)
        {
            m_lib = lib;

            // 季節チェック
            m_season = new gvo_season();

            // 世界の情報
            m_world_info = new GvoWorldInfo(lib,
                                            m_season,
                                            def.WORLDINFOS_FULLNAME,
                                            def.MEMO_PATH);

            // アイテムデータベース
            m_item_database = new ItemDatabaseCustom(def.ITEMDB_FULLNAME);

            // 船パーツ
            m_ship_parts_database = new ShipPartsDataBase(def.SHIP_PARTS_FULLNAME);
            m_item_database.MergeShipPartsDatabase(m_ship_parts_database);

            // 速度
            m_speed = new speed_calculator(def.GAME_WIDTH);

            // 航路図
            m_searoute = new SeaRoutes(lib,
                                       def.SEAROUTE_FULLFNAME,
                                       def.FAVORITE_SEAROUTE_FULLFNAME,
                                       def.TRASH_SEAROUTE_FULLFNAME);

            // @web icons
            m_web_icons = new WebIcons(lib);
            // メモアイコン
            m_map_mark = new map_mark(lib, def.MEMO_ICONS_FULLFNAME);
            // 航路共有
            m_share_routes = new ShareRoutes(lib);
            // 画面キャプチャ
            m_capture = new gvo_capture(lib);

            // 利息からの経過日数
            m_interest_days = new interest_days(lib.setting);
            // 造船日数管理
            m_build_ship_counter = new gvo_build_ship_counter(lib.setting);

            // 危険海域変動システム
            m_sea_area = new sea_area(lib, def.SEAAREA_FULLFNAME);

            // ログ解析
            m_gvochat = new gvo_chat(m_sea_area);
            // 1度ログ解析をしておく
            // 解析内容は捨てる
            m_gvochat.AnalyzeNewestChatLog();
            m_gvochat.ResetAll();
        }
Example #2
0
        /*-------------------------------------------------------------------------
         *
         * ---------------------------------------------------------------------------*/
        public GvoDatabase(gvt_lib lib)
        {
            m_lib = lib;

            // 季節チェック
            m_season = new gvo_season();

            // 세계の정보
            m_world_info = new GvoWorldInfo(lib, m_season, def.WORLDINFOS_FULLNAME, def.MEMO_PATH);

            // 아이템DB
            m_item_database = new ItemDatabaseCustom(def.ITEMDB_FULLNAME);

            // 선박 재료
            m_ship_parts_database = new ShipPartsDataBase(def.SHIP_PARTS_FULLNAME);
            m_item_database.MergeShipPartsDatabase(m_ship_parts_database);

            // 속도
            m_speed = new speed_calculator(def.GAME_WIDTH);

            // 항로도
            m_searoute = new SeaRoutes(lib, def.SEAROUTE_FULLFNAME, def.FAVORITE_SEAROUTE_FULLFNAME, def.TRASH_SEAROUTE_FULLFNAME);

            // @web icons
            m_web_icons = new WebIcons(lib);
            // 메모아이콘
            m_map_mark = new map_mark(lib, def.MEMO_ICONS_FULLFNAME);
            // 항로공유
            m_share_routes = new ShareRoutes(lib);
            // 화면캡처
            m_capture = new gvo_capture(lib);

            // 이자からの경과일수
            m_interest_days = new interest_days(lib.setting);
            // 조선일수관리
            m_build_ship_counter = new gvo_build_ship_counter(lib.setting);

            // 위험해역변동시스템
            m_sea_area = new sea_area(lib, def.SEAAREA_FULLFNAME);

            // 로그분석
            m_gvochat = new gvo_chat(m_sea_area);
            // 1도로그분석をしておく
            // 분석내용は捨てる
            m_gvochat.AnalyzeNewestChatLog();
            m_gvochat.ResetAll();
        }