2018/11/14
■ [変愚蛮怒/開発]変愚蛮怒開発日誌part79…ソース整理
引き続き益体も見切れない型変換。Ubuntuでも直している間に何故かreport.cの文字コードこわれたので直したり。
[36 minutes ago] 7981ab2 Deskull : [Fix]文字コード修正。 / Fix encode. [64 minutes ago] 1ce8d94 deskull : Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband [65 minutes ago] da9e978 deskull : [Refactor] #37287 #37353 型の置換。 / Type replacement. [85 minutes ago] 793efb6 Deskull : [Refactor] #37287 #37353 型の置換。 / Type replacement. [2 hours ago] bc066bf Deskull : [Refactor] #37287 #37353 型の置換。 / Type replacement. [2 hours ago] 4bb38d2 Deskull : [Refactor] #37287 #37353 型の置換。 / Type replacement. [3 hours ago] 6b1e8da Deskull : [Refactor] #37287 #37353 型の置換。 / Type replacement.
ただ、SDLだのUnity対応だのはz-termのterm構造体でここの関数ポインタに対応するものを揃え、必要に応じてすれば大体可能だということに今更気づかされたので踏ん張りたいところ。
void (*init_hook)(term *t); //!< Hook for init - ing the term void (*nuke_hook)(term *t); //!< Hook for nuke - ing the term errr (*user_hook)(int n); //!< ユーザ設定項目実装部 / Hook for user actions errr (*xtra_hook)(int n, int v); //!< 拡張機能実装部 / Hook for extra actions errr (*curs_hook)(TERM_LEN x, TERM_LEN y); //!< カーソル描画実装部 / Hook for placing the cursor errr (*bigcurs_hook)(TERM_LEN x, TERM_LEN y); //!< 大型タイル時カーソル描画実装部 / Hook for placing the cursor on bigtile mode errr (*wipe_hook)(TERM_LEN x, TERM_LEN y, int n); //!< 指定座標テキスト消去実装部 / Hook for drawing some blank spaces errr (*text_hook)(TERM_LEN x, TERM_LEN y, int n, TERM_COLOR a, cptr s); //!< テキスト描画実装部 / Hook for drawing a string of chars using an attr void (*resize_hook)(void); //!< 画面リサイズ実装部 errr (*pict_hook)(TERM_LEN x, TERM_LEN y, int n, TERM_COLOR *ap, const char *cp, const TERM_COLOR *tap, const char *tcp); //!< タイル描画実装部 / Hook for drawing a sequence of special attr / char pairs