<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/ocamlsdl/patches/" rel="alternate"/><link href="https://sourceforge.net/p/ocamlsdl/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/ocamlsdl/patches/</id><updated>2013-02-07T20:39:40Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>New Sdlvideo.video_info fields</title><link href="https://sourceforge.net/p/ocamlsdl/patches/10/" rel="alternate"/><published>2013-02-07T20:39:40Z</published><updated>2013-02-07T20:39:40Z</updated><author><name>Max Mouratov</name><uri>https://sourceforge.net/u/mmouratov/</uri></author><id>https://sourceforge.netc0b78d5883cc28de6d56efc48bfec5666178027d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It should be possible to get the current video mode width and height from Sdlvideo.video_info (as is it possible with the C interface). Probable use case: getting the desktop resolution. See the provided patch.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>New sample file.</title><link href="https://sourceforge.net/p/ocamlsdl/patches/9/" rel="alternate"/><published>2002-07-14T14:04:20Z</published><updated>2002-07-14T14:04:20Z</updated><author><name>Josh Cogliati</name><uri>https://sourceforge.net/u/jjc/</uri></author><id>https://sourceforge.netf8bf227c89ceb7c97f57df62d0680d354603030d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is a sample file to help demenstrate OcamlSDL.  It&lt;br /&gt;
can be added &lt;br /&gt;
to the samples directory is OcamlSDL.   It demonstrates&lt;br /&gt;
using the &lt;br /&gt;
event loop.  It basically implements a very simple&lt;br /&gt;
sketch program.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>polymorphic variant for C flags</title><link href="https://sourceforge.net/p/ocamlsdl/patches/8/" rel="alternate"/><published>2002-05-29T23:52:22Z</published><updated>2002-05-29T23:52:22Z</updated><author><name>Olivier Andrieu</name><uri>https://sourceforge.net/u/userid-123867/</uri></author><id>https://sourceforge.net467c0da3a5a96bc4a17b8c4095f046c0e0844240</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sdl.init_flag and Sdlvideo.video_flag are now&lt;br /&gt;
polymorhic variants.&lt;/p&gt;
&lt;p&gt;The C code is taken from LablGTK. The varcc utility of&lt;br /&gt;
LablGTK generates a .h and .c file containing a lookup&lt;br /&gt;
table for the conversion C flags &amp;amp;lt;-&amp;amp;gt; ML variant.&lt;/p&gt;
&lt;p&gt;sdlinit_flag.c sdlinit_flag.h sdlvideo_flag.c&lt;br /&gt;
sdlvideo_flag.h are new files with theses (precomputed)&lt;br /&gt;
lookup tables. The code that does the actual lookup is&lt;br /&gt;
in common.c and common.h.&lt;/p&gt;
&lt;p&gt;If you want to modify the variant types, you'll have to&lt;br /&gt;
re-run varcc (not included in the patch).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>video patch</title><link href="https://sourceforge.net/p/ocamlsdl/patches/7/" rel="alternate"/><published>2002-05-27T11:30:47Z</published><updated>2002-05-27T11:30:47Z</updated><author><name>Mazardo Luc</name><uri>https://sourceforge.net/u/xtrm/</uri></author><id>https://sourceforge.netf27dd4371ba3a05b360fb23fd19f391b3f39a2a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Constructors of video flags Extended and common, C() &lt;br /&gt;
and E() will be merged.&lt;/p&gt;
&lt;p&gt;submitted by guillaume.cottenceau at free.fr&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>event patch</title><link href="https://sourceforge.net/p/ocamlsdl/patches/6/" rel="alternate"/><published>2002-05-27T11:26:34Z</published><updated>2002-05-27T11:26:34Z</updated><author><name>Mazardo Luc</name><uri>https://sourceforge.net/u/xtrm/</uri></author><id>https://sourceforge.net489fa8cce2252312b083b31de661ae9fca77f33b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;New event interface using intial sdl call instead of event &lt;br /&gt;
callback.&lt;/p&gt;
&lt;p&gt;French comments:&lt;br /&gt;
Bref, le patch suivant permet d'avoir une utilisation plus &lt;br /&gt;
proche  de l'utilisation traditionnelle des evenements &lt;br /&gt;
sous SDL, a savoir avec le couple wait/pump, je vous le &lt;br /&gt;
soumets donc :&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>--enable/--disable pour configure</title><link href="https://sourceforge.net/p/ocamlsdl/patches/5/" rel="alternate"/><published>2002-05-25T14:29:35Z</published><updated>2002-05-25T14:29:35Z</updated><author><name>Olivier Andrieu</name><uri>https://sourceforge.net/u/userid-123867/</uri></author><id>https://sourceforge.net78fa3c3d04d3a5eb3e710ca91f716890ec082cef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;j'ai modifié configure.in et les Makefiles pour que&lt;br /&gt;
--disable-sdl-image --disable-sdl-mixer et&lt;br /&gt;
--disable-sdl-ttf soient gérés. &lt;/p&gt;
&lt;p&gt;Ça permet de compiler le wrapper sans le support pour&lt;br /&gt;
ces bibliothčques (par ex. si elles sont absentes).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bug dans src/common.c</title><link href="https://sourceforge.net/p/ocamlsdl/patches/4/" rel="alternate"/><published>2002-05-25T12:53:20Z</published><updated>2002-05-25T12:53:20Z</updated><author><name>Olivier Andrieu</name><uri>https://sourceforge.net/u/userid-123867/</uri></author><id>https://sourceforge.net1e574df045320e946de20c4a72c05f8330621333</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;dans src/common.c, les cons cells sont construites avec&lt;br /&gt;
un tag == 1 alors qu'il devrait ętre == 0.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>cut-n-paste bug in sdlttf_stub.c</title><link href="https://sourceforge.net/p/ocamlsdl/patches/3/" rel="alternate"/><published>2002-05-12T11:53:57Z</published><updated>2002-05-12T11:53:57Z</updated><author><name>Olivier Andrieu</name><uri>https://sourceforge.net/u/userid-123867/</uri></author><id>https://sourceforge.net369bc6b105a40fd0ba9acd070c0837923b43fa7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;4 entiers différents sont stockés dans le champ 0 d'une&lt;br /&gt;
value.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add some drawing primitives</title><link href="https://sourceforge.net/p/ocamlsdl/patches/2/" rel="alternate"/><published>2002-04-03T19:34:51Z</published><updated>2002-04-03T19:34:51Z</updated><author><name>Nathan Whitehead</name><uri>https://sourceforge.net/u/nwhitehe/</uri></author><id>https://sourceforge.net8b22556809d30d4d6c3a7057e7a6d9f8bbdb8956</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch addes a module Sdlprim that defines some&lt;br /&gt;
primitive drawing functions.  You can do line,&lt;br /&gt;
rectangle, circle, placing bitmaps, filling surfaces&lt;br /&gt;
with one color.&lt;/p&gt;
&lt;p&gt;This patch should be applied:&lt;/p&gt;
&lt;p&gt;cd OCamlSDL&lt;br /&gt;
patch -p0 &amp;amp;lt; patch_file&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Work with SDL 1.2 and OCaml 3.04</title><link href="https://sourceforge.net/p/ocamlsdl/patches/1/" rel="alternate"/><published>2002-04-03T19:32:12Z</published><updated>2002-04-03T19:32:12Z</updated><author><name>Nathan Whitehead</name><uri>https://sourceforge.net/u/nwhitehe/</uri></author><id>https://sourceforge.net049af854b13eec42f6ecd9c7e18c837a7c231bc0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch updates some small things that make it&lt;br /&gt;
compile and work correctly with SDL 1.2 and OCaml 3.04.&lt;br /&gt;
It also adds functionality to surface_put_pixel and&lt;br /&gt;
surface_get_pixel so that they work correctly for 32,&lt;br /&gt;
24, and 16 bit surfaces (hopefully).&lt;/p&gt;
&lt;p&gt;The patch should be applied in the OCamlSDL/ directory&lt;br /&gt;
with the command:&lt;/p&gt;
&lt;p&gt;cd OCamlSDL&lt;br /&gt;
patch -p0 &amp;amp;lt; patch_file&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>