Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
fixed incorrect speed when fps isn't same as refresh rate
fixed icon
  • Loading branch information
SheepYhangCN committed Dec 27, 2024
1 parent 6d8a002 commit 116fef0
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Godot 4+ specific ignores
.godot/
/android/

/local/
./CaseLogo.json
./CaseLogo.png
./CaseLogo.png.import
/android/
2 changes: 2 additions & 0 deletions AutoLoad.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using Godot;
using Godot.Collections;

Expand Down Expand Up @@ -75,6 +76,7 @@ public override void _Ready()
DisplayServer.WindowSetMode((DisplayServer.WindowMode)(cfg.GetValue("Settings","WindowMode",(int)DisplayServer.WindowMode.Windowed).AsInt32()));
CaseItemList = LoadToItems("user://Case.csv",true);
}
Engine.MaxFps = Mathf.CeilToInt(DisplayServer.ScreenGetRefreshRate(DisplayServer.WindowGetCurrentScreen()));
}

public override void _Process(double delta)
Expand Down
Binary file modified Locale/loc.en.translation
Binary file not shown.
Binary file modified Locale/loc.zh_CN.translation
Binary file not shown.
Binary file modified Locale/loc.zh_TW.translation
Binary file not shown.
2 changes: 1 addition & 1 deletion export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../Exports/CS2 Case Randomizer/CS2 Case Randomizer.exe"
export_path="../Exports/CS2CaseRandomizer/CS2 Case Randomizer.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
Expand Down
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions icon.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b8c1erkaj2hqg"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
4 changes: 2 additions & 2 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ config_version=5
[application]

config/name="CS2 Case Randomizer"
config/version="1.0.0"
config/version="1.0.1"
run/main_scene="res://Main.tscn"
config/features=PackedStringArray("4.3", "C#", "Forward Plus")
config/icon="res://local/icon.png"
config/icon="res://icon.png"

[autoload]

Expand Down

0 comments on commit 116fef0

Please sign in to comment.