<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cotodama</author_name>
  <author_url>https://blog.hatena.ne.jp/cotodama/</author_url>
  <blog_title>森の葉っぱ</blog_title>
  <blog_url>https://cotodama.hatenadiary.org/</blog_url>
  <categories>
    <anon>program</anon>
  </categories>
  <description>なぜ今の時代にDirectDraw かというとバッファを直接いじれるから。 単色塗りつぶし。フェードアウトとか半透明合成とか。 まあ、一番手っ取り早いのは HSPでループ書いてポインタをDLLに渡すのが一番簡単。 でもそれだとあまり勉強にはならない気がするので、あえてWin32APIを使う。 現在、FPSのメッセージループに手間取っているところ。ウインドウズのメッセージ処理はわけわからない。 32bit 塗りつぶし。 DWORD *ptr = lpSurface;for( int y=0; y { for(int x=0; x { *ptr = color;// DWORD color XRG…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcotodama.hatenadiary.org%2Fentry%2F20060328%2F1143566943&quot; title=&quot;一日一コード 19.簡単なエフェクト - 森の葉っぱ&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>2006-03-28 02:29:03</published>
  <title>一日一コード 19.簡単なエフェクト</title>
  <type>rich</type>
  <url>https://cotodama.hatenadiary.org/entry/20060328/1143566943</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
