-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathConst.java
More file actions
45 lines (41 loc) · 1.91 KB
/
Const.java
File metadata and controls
45 lines (41 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Copyright 2018 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.destinationsol;
import org.terasology.gestalt.module.sandbox.API;
@API
public class Const {
public static final float ATM_HEIGHT = 14f;
public static final float MAX_SKY_HEIGHT_FROM_GROUND = 1.5f * ATM_HEIGHT;
public static final float MAX_GROUND_HEIGHT = 25f;
public static final float MAX_MOVE_SPD = 8f;
public static final float REAL_TIME_STEP = 1.0f / 60.0f;
public static final float CHUNK_SIZE = 20f;
public static final int ITEM_GROUPS_PER_PAGE = 8;
public static final String VERSION = "2.1.0";
public static final float FRICTION = .5f;
public static final float IMPULSE_TO_COLL_VOL = 2f;
public static final float CAM_VIEW_DIST_GROUND = 2.8f;
public static final float AUTO_SHOOT_GROUND = CAM_VIEW_DIST_GROUND * .4f;
public static final float CAM_VIEW_DIST_SPACE = 4.5f;
public static final float AUTO_SHOOT_SPACE = CAM_VIEW_DIST_SPACE * .8f;
public static final float AI_DET_DIST = CAM_VIEW_DIST_SPACE * 1.2f;
public static final float CAM_VIEW_DIST_JOURNEY = 8.6f;
public static final float DEFAULT_AI_SPD = 4f;
public static final float BIG_AI_SPD = 2f;
public static final String SAVE_FILE_NAME = "prevShip.ini";
public static final String MERC_SAVE_FILE = "mercenaries.json";
public static final String WORLD_SAVE_FILE_NAME = "world.json";
}