cleanup todo comments, tweak default board for incrementer level
This commit is contained in:
parent
c20fea4f86
commit
be699aa0ec
4 changed files with 5 additions and 4 deletions
|
@ -335,7 +335,6 @@ impl Game {
|
|||
|
||||
fn save_config(&self) {
|
||||
let path = userdata_dir().join(CONFIG_FILE_NAME);
|
||||
// todo save more than just input
|
||||
let json = serde_json::to_string_pretty(&self.globals.config).unwrap();
|
||||
let mut f = File::create(path).unwrap();
|
||||
f.write_all(json.as_bytes()).unwrap();
|
||||
|
|
|
@ -255,7 +255,7 @@ impl Grid {
|
|||
let texture = textures.get(texname);
|
||||
draw_scaled_texture(d, texture, px, py, scale);
|
||||
#[cfg(debug_assertions)]
|
||||
// TODO: some in-game option to show power direction
|
||||
// todo some in-game option to show power direction
|
||||
if let Tile::Powerable(_, state) = &tile {
|
||||
for dir in Direction::ALL {
|
||||
if state.get_dir(dir) {
|
||||
|
|
|
@ -38,7 +38,6 @@ impl ShapedText {
|
|||
}
|
||||
self.max_width = width;
|
||||
self.lines.clear();
|
||||
// todo remove leading space on broken lines
|
||||
// todo fix splitting very long words
|
||||
let mut line_start = 0;
|
||||
let mut line_end = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue