logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 ... 15 16 [17]  Send TopicPrint
Very Hot Topic (More than 25 Replies) New commands and functions in 227 (Read 105810 times)
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #240 - Jul 20th, 2016 at 6:01am
Print Post  
added a new option ContinuousKeyEvents as a client setting to enable old behavior to continue running when typing
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #241 - Jul 20th, 2016 at 6:02am
Print Post  
UED2.1:
added it to create "exe name".ini and "exe name".log, while I have to admit I always hated to have UnrealEd.exe but Editor.log anyway. So in future it's UnrealEd.log as default.
also added UEDINI=bla.ini ability, to add as commandline parameter (or shortcut that is), for multiple setups.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #242 - Jul 20th, 2016 at 6:04am
Print Post  
Players often share URLs via game chat. We can open a hyperlink by clicking on its area in the console. Unfortunately, URLs that begin with https:// are not clickable (in contrast to http://).

Added/fixed by MK.

Now supported prefixes:
mailto: (new)
http://
https://
ftp:// (new)
www.
ftp. (new)
unreal:// (new)
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #243 - Jul 20th, 2016 at 6:11am
Print Post  
Added XOpenGL OpenGL3 / OpenGL4 renderer

Note: You need to have at least an OpenGL 3.3 capable card to use this renderer!

Details below from the UT-Build which is a shared development for both Unreal 227j and UT, except that the render device is having some more performance optimizations in 227 and support for (fake) bumpmapping.

Version 1.0.0.9
Revision history:
Added OpenGLVersion option, to switch between OpenGL3.3 Core and OpenGLES3.0, some (low end) graphics card rather support GL ES than 3.3 Core, also performance may differ for these. Some OpenGL extensions like UseBufferInvalidation are unavailable for ES though.
Moved some intensive calculations into shaders (GPU) in order to reduce CPU usage quite some, this will increase overall performance especially for weaker CPU's when using XOpenGL.

Version 1.0.0.8
Revision history:
Fixed hopefully remaining fogging issues, fixed some performance issue causing very short stuttering sometimes,  fixed some memory cleanup issue. Shader cleanups, using a global include now.
Thanks to han, sharing experience and code, I was able to integrate full support for UED.

Version 1.0.0.7
Revision history:
Fixed some fogging issues in combination with PolyFlags such as Masked, Translucent, Modulated. Some shader fixes. As a first renderer ever in UT (I think?) I added support for DetailTextures on Meshes (yes, also UT uses this quite some on Meshes originated in Unreal). Added "GenerateMipmaps" option, which will replace the original mipmaps with newly by OpenGL created mipmaps in order to improve visual quality, especially in SkyBoxes. However, still testing this feature, so it's false by default. Feedback welcome.

Version 1.0.0.6
Revision history:
Fix for some drivers/graphic cards crashing on startup when trying to compile shaders with an uint error message.

Version 1.0.0.5
Revision history:
Color adjustments, Gamma adjustments, fixed Meshes always unlit, fixed some issues with fogging. Gamma won't affect desktop brightness anymore.

Version 1.0.0.4
Revision history:
fixed some problem with rendering PF_TwoSided, fixed some issue with DrawComplexSurface texturing (i.e. with DetailTextures). Some brightness adjustments

Version 1.0.0.3
Revision history:
Fixed the Z problem in "Character creation", added "NoAATiles" option, added "NoBuffering" option (for bugtesting only, severely hurts performance, but can be disabled in order to identify possible problems with it), added "UseBufferInvalidation" option (OpenGL4 capable cards only), fixed duplicate DetailTextures entry, the mirror problem and it seems the bleeding in the skybox as well. Fixed some rendering issue with PF_TwoSided causing weird color distortions. Also changed some fog setting, but needs some testing yet.

Version 1.0.0.2
Revision history:
Fixed some gamma issue, added an updated WinDrv.dll to fix the fullscreen issue, also including RawHID mouse support.

Version 1.0.0.1
Revision history:
This is the first build of an entirely new and written from scratch OpenGL3 / OpenGL4 renderer. All functions currently in use are OpenGL3 yet though.

Known issues: for some reason switching fullscreen resolution fails until toggle fullscreen or restart.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #244 - Jul 20th, 2016 at 6:59am
Print Post  
added Exp and Exp2 fog mode as new DistanceFog equation modes
( see here: https://msdn.microsoft.com/en-us/library/windows/desktop/bb324452%28v=vs.85%29.a
... ).
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #245 - Jul 20th, 2016 at 7:06am
Print Post  
changed/added to
native(237) static final function int    Asc    ( string S, optional int Pos );
...
//  Determining if a string Str starts with other string SubStr.
native(392) static final function bool StartsWith(coerce string Str, coerce string SubStr, optional bool bCaseInsensitive);
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Masterkent
Developer Team
Offline



Posts: 795
Location: Russia
Joined: Apr 5th, 2013
Gender: Male
Re: New commands and functions in 227
Reply #246 - Feb 12th, 2017 at 6:42pm
Print Post  
Verified function Asc: it seems to work properly.

Checked function StartsWith: the current implementation is incorrect. The function always performs case-insensitive comparison despite the value of bCaseInsensitive, and the result is negated (true is returned instead of false and vice versa). The following assertions shall hold:

Code
Select All
	assert(StartsWith("abcd", "abcd"));
	assert(StartsWith("abcd", "abcd", true));
	assert(!StartsWith("abcd", "bacd"));
	assert(!StartsWith("abcd", "bacd", true));
	assert(StartsWith("abcd", "abc"));
	assert(!StartsWith("abcd", "bcd"));
	assert(!StartsWith("abc", "abcd"));
	assert(!StartsWith("abc", "AbCd", true));
	assert(!StartsWith("abcd", "AbCd"));
	assert(!StartsWith("abcd", "AbCd", false));
	assert(StartsWith("abcd", "AbCd", true));
	assert(StartsWith("abcd", ""));
	assert(StartsWith("abcd", "", true)); 

  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #247 - Feb 13th, 2017 at 9:44am
Print Post  
odd, I see why it negates the result - it returns 0 if identical, so easy to reverse. What I don't see is why it should ignore bCaseSensitive...
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Masterkent
Developer Team
Offline



Posts: 795
Location: Russia
Joined: Apr 5th, 2013
Gender: Male
Re: New commands and functions in 227
Reply #248 - Feb 13th, 2017 at 1:53pm
Print Post  
I think, it should be something like this (didn't test it):

In FString:
Code
Select All
	UBOOL StartsWith(const FString &SubStr, UBOOL bCaseInsensitive = false) const
	{
		INT SubStrLen = SubStr.Len();
		if (Len() < SubStrLen)
			return false;
		if (SubStrLen == 0)
			return true;
		if (bCaseInsensitive)
			return appStrnicmp((const TCHAR *)Data, (const TCHAR *)SubStr.Data, SubStrLen) == 0;
		return appStrncmp((const TCHAR *)Data, (const TCHAR *)SubStr.Data, SubStrLen) == 0;
	} 


In the global scope:
Code
Select All
inline INT appStrnicmp(const TCHAR* String1, const TCHAR* String2, INT Count)
{
	return _tcsnicmp(String1, String2, (size_t)Count);
} 

  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7394
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: New commands and functions in 227
Reply #249 - Feb 16th, 2017 at 8:55am
Print Post  
should do it now- at least the asserts are not triggering Tongue
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: 1 ... 15 16 [17] 
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo