Skip to content

Instantly share code, notes, and snippets.

View moko256's full-sized avatar
Thinking about app architectures

moko256 moko256

Thinking about app architectures
View GitHub Profile

すとわ鉄道Modについて

要約

  • (やったことないけど)ワークベンチ拡張と同じファイルをいじるらしい?
  • 線形データとメッシュデータと当たり判定データは独立してるので必要に応じてswMesh2XML等のツールを使用? しらんけど

詳細

頂点の設定

/rom/data/tiles/以下にある各タイルを示すXMLファイルの<train_tracks>タグ以下に<track>タグを用意して線路の頂点を設定していく。 構造としては下のようになる

@kosh04
kosh04 / attach-console.c
Last active May 2, 2022 14:49
WinMainなプログラムでもコンソール出力がしたい
// attach-console.c
// Usage1: > cl attach-console.c & attach-console.exe
// Usage2: $ gcc attach-console.c && ./a.exe
#define _WIN32_WINNT 0x0501
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>