<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizuno_takaaki</author_name>
  <author_url>https://blog.hatena.ne.jp/mizuno_takaaki/</author_url>
  <blog_title>mizuno_takaakiの日記</blog_title>
  <blog_url>https://takaaki.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>今日は続いてアイテム類の初期化部分をみていく。init_playerの次に呼び出されるのはinit_things。これは以下の様になっている。 init_things() { register struct magic_item *mp; for (mp = &amp;things[1]; mp &lt;= &amp;things[NUMTHINGS-1]; mp++) mp-&gt;mi_prob += (mp-1)-&gt;mi_prob; badcheck(&quot;things&quot;, things, NUMTHINGS); } 最初、何をやっているんだかわからなかったのだけれど、thingsという配列の中身をごにょっている。th…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakaaki.hatenablog.com%2Fentry%2F20081103%2F1225674791&quot; title=&quot; Rogue 3.6.3: アイテムの初期化 - mizuno_takaakiの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-11-03 10:13:11</published>
  <title> Rogue 3.6.3: アイテムの初期化</title>
  <type>rich</type>
  <url>https://takaaki.hatenablog.com/entry/20081103/1225674791</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
