mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	już jest trochę lepiej
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								CDefHandler.cpp
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								CDefHandler.cpp
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										4
									
								
								CMT.cpp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								CMT.cpp
									
									
									
									
									
								
							| @@ -331,11 +331,11 @@ int _tmain(int argc, _TCHAR* argv[]) | ||||
| 		{ | ||||
| 			initTable[ss] = mapstr[ss]; | ||||
| 		} | ||||
| #define CHOOSE | ||||
| //#define CHOOSE | ||||
| #ifdef CHOOSE | ||||
| 		CAmbarCendamo * ac = new CAmbarCendamo(initTable); //4gryf | ||||
| #else | ||||
| 		CAmbarCendamo * ac = new CAmbarCendamo("5gryf"); //4gryf | ||||
| 		CAmbarCendamo * ac = new CAmbarCendamo("4gryf"); //4gryf | ||||
| #endif | ||||
| 		CMapHeader * mmhh = new CMapHeader(ac->bufor); //czytanie nag��wka | ||||
| 		cgi->ac = ac; | ||||
|   | ||||
| @@ -20,7 +20,10 @@ SDL_Rect genRect(int hh, int ww, int xx, int yy) | ||||
| } | ||||
| void blitAt(SDL_Surface * src, int x, int y, SDL_Surface * dst=ekran) | ||||
| { | ||||
| 	SDL_BlitSurface(src,NULL,dst,&genRect(src->h,src->w,x,y)); | ||||
| 	SDL_SaveBMP(src, "bufimg.bmp"); | ||||
| 	SDL_SaveBMP(dst, "bufimg2.bmp"); | ||||
| 	SDL_Rect pom = genRect(src->h,src->w,x,y); | ||||
| 	SDL_BlitSurface(src,NULL,dst,&pom); | ||||
| } | ||||
| SDL_Color genRGB(int r, int g, int b, int a=0) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user