Skip to content

Commit 7189dff

Browse files
authored
一些零零碎碎的小更新
问题的关键在于此
1 parent 551a633 commit 7189dff

File tree

6 files changed

+194
-174
lines changed

6 files changed

+194
-174
lines changed

MapReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int main(int argc,char ** argv){
2222
//Instantiate Object
2323
//实例化对象
2424
Map G;
25-
People p;
25+
People p(false);
2626
Egg egg;
2727
Screen screen(egg,G,p,false,argc,argv);
2828
//init(p,G,egg,argc,argv);//调用初始化函数(Call initialization function)

MapReader.exe

-68.5 KB
Binary file not shown.

README-EN.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
- [version](#version)
99

10-
- [Discussion Channel](#Discussion-Channel)
10+
- [Discussion Channel](#Discussion Channel)
1111

1212
## note
1313

@@ -29,6 +29,14 @@ Of course, you can also set modes, view help, and create archives. These parts a
2929

3030
### V2.4
3131

32+
#### V2.4.1
33+
34+
1. Fixed the issue of not being able to read through uppercase `Y` when reading into archives. Thanks [peizekai](https://github.com/peizekai).
35+
36+
2. Fixed the issue of read-only corruption in `MapReader`.
37+
38+
3. Add a command line parameter that allows you to modify the title by specifying '-title=' on the command line (provided an archive file is passed in first), such as `main.exe data.mymap -title=FirstMap`. When displaying the title, your title will be attached, in the form of `我的地图(My-Map)FirstMap'. Please note that the title cannot have spaces. (Not actually installed)
39+
3240
#### V2.4.0
3341

3442
1. A new folder 'example' has been added, where you can view examples of the 'mymap' file. We strongly recommend trying to pass the 'maze. mymap' level. This file utilizes some bugs, but I will make it a setting in future technical adjustments. You can wait for it!
@@ -98,5 +106,3 @@ Slightly revised RENAME.md.
98106
[github link](https://github.com/c-cpp-a/My-Map/discussions) (github.com)
99107

100108
[luogu link](https://www.luogu.com.cn/blog/somebody66xyyd/my-map) (luogu.com.cn)
101-
102-
[discord link](https://discord.gg/cfasGUAj) (discord.gg)

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030

3131
### V2.4
3232

33+
#### V2.4.1
34+
35+
1. 修复了读入存档时不能通过大写`Y`读入的问题。感谢[peizekai](https://github.com/peizekai)
36+
37+
2. 修复了`MapReader`的只读被破坏的问题。
38+
39+
3. 新增一个命令行参数,您可以通过在命令行中指定`-title=`来修改标题(前提是先传入一个存档文件),形如`main.exe data.mymap -title=FirstMap`。显示标题时会附加您的标题,形如`我的世界(My-Map)FirstMap`。注意标题不能有空格。(未实装)
40+
3341
#### V2.4.0
3442

3543
1. 新增了一个文件夹`example`,您可以查看`mymap`文件示例。强烈建议尝试通关 `maze.mymap`。这个文件利用了一些bug,不过我会在之后的技术性调整中将其变为一种设置。可以等待!
@@ -188,5 +196,3 @@ This is a new Sandbox game. You can create or destroy rocks here, and you can wa
188196
[github链接](https://github.com/c-cpp-a/My-Map/discussions) (github.com)
189197

190198
[洛谷链接](https://www.luogu.com.cn/blog/somebody66xyyd/my-map) (luogu.com.cn)
191-
192-
[discord链接](https://discord.gg/cfasGUAj)(discord.gg)

0 commit comments

Comments
 (0)