b0VIM 8.1      #\ cè€ Š4  martin                                  mazinger                                /media/zcode/aCaptainNormale/victorTheRenderer/main.cc                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       utf-8 3210    #"! U                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 tp           |                                   ¥                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ad  Œ  ˜     |       ÿ  é  Í  Ì  ¸  £  ‹  Š  t  ]  E  '  !  	      ì  Ð  Ï  †  l  j  2    ñ  Û  À  «  ’  ‘  …  ‚  R  @  =  <  0  -              ²  ±  S  R    ñ  Ñ  ®  «     �  �  Š  ‰  r  o  W  <  4               ô
  Ð
  Ì
  ±
  ’
  Š
  v
  n
  j
  Z
  W
  V
  U
  H
  E
  1
  
  ø	  ð	  â	  Ù	  Ö	  É	  Æ	  ƒ	  €	  q	  n	  )	  &	  	  	  ÷  ô  Ë  È  ˆ  …  „  W  T  :        á  Ç  …  r  _  )  ü  û  À  ›  ˜  s  `  /  ÿ  Ñ  ¢  u  r    ü  Ú  Ï  ˆ  ‡  l  e  A      ÷  Ô  ¶  ›  u  H  G  F  E  *    ã  Ë  £  Œ  w  ]  H  2    ¸       			vo	vo	vo	void SetSeq(Gen * seq) 	} 		//} 		  SDL_RenderPresent(this->renderer); 		  //SDL_RenderPre	void SetSeq(Gen * seq) 	} 	voi	void SetSeq(Gen * seq	void SetSeq(Gen * se	void SetSeq(Gen * seq) 	}	void SetSeq(Gen * se	void SetSeq(Gen * seq)	void SetSeq(Gen * seq) 	} 		//} 		  SDL	void SetSeq(Gen * seq) 	void SetSeq(Gen * seq) 	} 		/	void SetSeq(Gen * seq) 	} 		//} 		  SDL_	void SetSeq(Gen * seq)	voi				void SetSeq(Gen * seq) 	} 		//} 		  SDL_Rend	void SetSeq(Gen * seq) 	} 		//} 		  S	void SetSeq(Gen * seq) 	} 	void SetSeq(Gen * seq) 	} 		/		void SetSeq(Gen * seq) 	} 		//} 		void SetSeq(Gen * seq) 	} 		//} 		 		void SetSeq(Gen * seq) 	} 		//} 		  	void SetSeq(Gen * seq) 	} 		//} 		 	void S			} 		} 	} 		SDL_RenderPresent(this->renderer); 		// 	} 		SDL_RenderPresent(this->renderer); 		// Re	} 		SDL_RenderPresent(this->renderer); 		// R	} 		SDL_RenderPresent(this->renderer); 		// Ren	} 		SDL_RenderPresent(this->renderer); 		// Rend	} 	} 		} 		} 		}			} 		SDL_RenderPresent(this->renderer	} 		SDL_RenderPresent(this->renderer); 		// Render everything from a buffer to the actual screen.  		SDL_RenderFillRect(this->renderer, &rect); 		SDL_Rect rect = {.x = xx, .y = yy, .w = 2, .h = 2}; 		       yy = y*3; 		Uint16 xx = x*3, 		SDL_SetRenderDrawColor(this->renderer, R>>1, G>>1, B>>1, 0xFF); 		      R = color & 0xFF; 		      G = (color>>8) & 0xFF, 		Uint8 B = (color>>16) & 0xFF, 		if (SCRNH <= y) return; 		if (SCRNW <= x) return; 	{ 	void Plot(Uint16 x, Uint16 y, Uint32 color)  	} 		return SDL_SetRenderDrawColor(this->renderer, R, G, B, 0xFF); 	{ 	Uint32 Color(Uint8 R, Uint8 G, Uint8 B) 	} 		//SDL_Flip(this->screen); 	{ 	void Refresh() 	} 		//if (SDL_MUSTLOCK(this->screen)) SDL_UnlockSurface(this->screen); 	{ 	void Unlock() 	} 		//if (SDL_MUSTLOCK(this->screen)) SDL_LockSurface(this->screen); 	{ 	void Lock() 	} 		#endif 		SDL_Quit(); 		#else 		emscripten_cancel_main_loop(); 		#ifdef __EMSCRIPTEN__ 		SDL_CloseAudio(); 	{ 	void Gtfo()   	} 		return false; 		} 		    } 			    return true; 		    { 		    if( e.type == SDL_QUIT ) 		    //User requests quit 		{ 		while( SDL_PollEvent( &e ) != 0 ) 		SDL_Event e; 	{ 	bool Quit()  	} 		#endif 		SDL_Delay(delay); 		#else 		emscripten_sleep(delay); 		#ifdef __EMSCRIPTEN__ 	{ 	void Delay(int delay)  	} 		this->Gtfo(); 	{ 	~SdlApi() 	} 		SDL_GL_SwapWindow(this->window); 		glClear(GL_COLOR_BUFFER_BIT); 		glClearColor(0.0, 0.0, 0.0, 0.0);     		this->gl_context = SDL_GL_CreateContext(this->window);  		SDL_CreateWindowAndRenderer(this->ScrW(), this->ScrH(), 0, &this->window, &this->renderer);  		SDL_Init(SDL_INIT_TIMER | SDL_INIT_VIDEO | SDL_INIT_AUDIO);// | SDL_OPENGL); 	{ 	SdlApi() 	public:  	} 		return SCRNH*3; 	{ 	int ScrH()  	} 		return SCRNW*3; 		// detect screen resize and scale accordingly 	{ 	int ScrW()  	SDL_Renderer *renderer; 	SDL_Window *window; 	SDL_GLContext gl_context; 	GLuint program, vbo; 	GLint attribute_coord2d; 	GLint positionAttribute, uvAttribute; 	GLuint vertexBuffer, vertexArrayObject, shaderProgram; { class SdlApi : public Api template<unsigned short SCRNW, unsigned short SCRNH, unsigned short FPS>  #include "meanbot15x15.xpm" #include "spiel.hpp"  #endif #include <OpenGL/gl3.h> #else #include <emscripten/html5.h> #include <emscripten.h> #include <GLES2/gl2.h> #ifdef __EMSCRIPTEN__  #include <GLFW/glfw3.h> #include <GL/glew.h> #define GLEW_STATIC  #include <SDL2/SDL_audio.h> #include <SDL2/SDL.h>  ad  P  Ä            ý  ü  û  ú  Í  ±  °  �  k  j  V  F  4         ó  Ó  Ò  Ç  Å  Ä  ¡  “  ’  ‘  �  ‰  r  Y  H  1  0    ý  ü  é  æ  å                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     }  } 	return 0;        } 	return 0;          w } 	return 0;          whil  } 	return 0;         }  } 	return 0;    } 	return 0;          wh } 	return 0;           } 	 }     } 	return 0;  } 	return 0;  	while(1) Chain(cu   } 	return 0;  	while(1) Coroutine(cunts,api); 	//while(1) Continuation(cunts,api); 	}; 		0 		new EveryFrame(), 		new DrawShit(), 		new MapRGB(), 	Cunt * cunts[] = {  	printf("B==D~~~\n"); 	Api * api = new SdlApi<_SCRNW,_SCRNH,_FPS>();  	printf("hello, world!\n"); extern "C" int main(int argc, char** argv) {    }; 