whoa! you solved my problem, guess what the name of my file was: SDL.pas; I didnt even know stuff worked like that, i installed the library via an installation wizard - so the compiler was assuming i was talking about the library .pas. Ill also look into which kind of sorcery is that @ operator and TSDL_Rects
now everything has turned color pink! not...new error, the code above now stops in the line:
i also get the output "problem with the screen" so maybe there is a problem with the SDL_SETVIDEOMODE procedure? why nothing ever works at this rate im nevar gon build stufCode:screen:=SDL_SETVIDEOMODE(423,400,32,SDL_SWSURFACE); IF screen=NIL THEN HALT;writeln('problem with the screen');
Bookmarks