> Sad, I don't have ANY idea of ddraw, to realize where is the stretching code >
You can use the same techique I described you in my previous post. You say you need to use ddraw to render. Ok, then look at the line 855 where the function to draw via ddraw is being called: win_ddraw_draw(). Search for the function in the same file and you won't find it there. Then search it in the other source code in the same directory and you will find it in the "winddraw.c" on line 991. If you look closely: they further split the code path and use either render_to_blit() or render_to_primary() functions. Then look at the render_to_blit() on line 1091 . They fill-in some data structure with the coordinates and scaling ratios. Change these values and bingo!
|