Patches scaling
Moderator: Graf Zahl
- 
				Devan
 - Posts: 40
 - Joined: Tue Jun 06, 2006 15:43
 - Location: Lithuania
 
Patches scaling
I suggest a very little thing - make the patches who aren't defined in hirestex automatically become the same size as in IWAD. For example, if the M_DOOM in the IWAD is 100x50 and Hires M_DOOM in PWAD is 200x100 automatically define it to 100x50 - as in IWAD
			
			
									
						
										
						- 
				wildweasel
														 - DRD Team Admin (Inactive)
 - Posts: 2132
 - Joined: Wed Jun 29, 2005 22:00
 - Location: the Admincave!
 
- 
				Alter
														 - Posts: 851
 - Joined: Wed Oct 05, 2005 8:55
 - Location: Poland, Lodz
 
- 
				wildweasel
														 - DRD Team Admin (Inactive)
 - Posts: 2132
 - Joined: Wed Jun 29, 2005 22:00
 - Location: the Admincave!
 
Seriously, what's wrong with using a hirestex lump? All you need to do is type just one little line:
			
			
									
						
										
						Code: Select all
remap m_doom hi_doom- 
				Devan
 - Posts: 40
 - Joined: Tue Jun 06, 2006 15:43
 - Location: Lithuania
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				Enjay
														 - Developer

 - Posts: 4759
 - Joined: Tue Aug 30, 2005 23:19
 - Location: Scotland
 
Why? It's perfectly possible to put a more-than-8-bit image into a WAD that is larger than the original but not want it to scale. It seems silly that a person who didn't want the graphic to change size would then have to be the one to create a lump to make sure it didn't happen.Devan wrote:then i suggest one more feature with this - color depth checking. If the replacement is 8 bit depth, don't resize it. If it is more than 8 bit depth, resize it automatically
It's a minimal effort to make a hirestex lump (it must be one of the simplest control lumps). I don't see why a single line of code is causing such a problem.