Search found 406 matches

by Hanfling
Thu Sep 21, 2017 10:51 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 23
Views: 30895

Re: Writing a latent function.

Mh IMPLEMENT_NATIVE should have been IMPLEMENT_FUNCTION in the first place, in any case in your code you won't need those as you do this with the AUTOGENERATE_FUNCTION stuff with it been declared inside the header.
by Hanfling
Thu Sep 21, 2017 2:03 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 23
Views: 30895

Re: Writing a latent function.

Post project you want to compile.

You can use the AUTOGENERATE_FUNCTION macro to avoid having to manually put your IMPLEMENT_FUNCTION into cpp files, see NativeSamplePackage in ut/rune pubsrc for example use.
by Hanfling
Sun Sep 03, 2017 7:18 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 23
Views: 30895

Re: Writing a latent function.

Missed the () after GetStateFrame() which is a function.
by Hanfling
Sun Sep 03, 2017 2:38 pm
Forum: DXEditing
Topic: Writing a latent function.
Replies: 23
Views: 30895

Re: Writing a latent function.

I never tried writing latent functions before, so let me see if I get it right how they are implemented, and write the below a bit more generalized. Basic idea behind latent functions if you can have code inside your state code (the thing with the labels in your states), which can block unrealscript...
by Hanfling
Fri Aug 04, 2017 4:05 pm
Forum: TNM Help & Support
Topic: TNM says I have no space to save a game...but I have loads?!
Replies: 8
Views: 13058

Re: TNM says I have no space to save a game...but I have loa

For Rev I went the way to replace the GetSaveFreeSpace() native and make it clamp the maximum value to (unsigned int) 0xFFFFFFFF and use this as sort of a magic value in UC code to make it green and add a +. // ---------------------------------------------------------------------- // UpdateFreeDiskS...
by Hanfling
Thu Aug 03, 2017 8:31 pm
Forum: TNM Help & Support
Topic: TNM says I have no space to save a game...but I have loads?!
Replies: 8
Views: 13058

Re: TNM says I have no space to save a game...but I have loa

One can actually go to 4 TB with an uc only fix btw, though afterwards it wraps unless backed by clamping native code.
by Hanfling
Tue Jul 25, 2017 5:38 pm
Forum: Off Topic
Topic: Foosball table
Replies: 8
Views: 11125

Re: Foosball table

Did I mention that I need help transfering a larger amount of money?
by Hanfling
Tue Jul 25, 2017 2:54 pm
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 142758

Re: Minor things worth mentioning

Code: Select all

x/min(1,x) = max(1,x)
by Hanfling
Thu Jul 13, 2017 2:32 am
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 142758

Re: Minor things worth mentioning

Ever wondered what this: Warning: Type mismatch in Region of GameReplicationInfo: file 10, class 2 Warning: Skipping 6 bytes of type 10 is all about? I have before, but now I got it: The 10 and 2 are Name indices, looking them up in UnNames.h yields: REGISTER_NAME( 2, IntProperty ) REGISTER_NAME( 10...
by Hanfling
Wed Jul 12, 2017 10:12 pm
Forum: HDTP Discussion
Topic: Last call!
Replies: 15
Views: 24809

Re: Last call!

Just make it public, so it stops sitting on someones hardware. The worst thing which can happen that it appears with a bad made texture and still citing your name for the mesh. I'm certainly interessted in having some proper meshes for DX, ideally with normal maps for rendering development purposes ...
by Hanfling
Wed Jul 12, 2017 6:42 pm
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 142758

Re: Minor things worth mentioning

Added more shots, but now put them on a page, rather than update the zip file. I now added cargo03, and sRGB (as some sort of default if no convertion happens). http://coding.hanfling.de/Cargo/ Convertion to Apple RGB is done absolute colormetric, in case of ROMM I used Photoshop (with afaik) the sa...
by Hanfling
Tue Jul 11, 2017 10:54 am
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 142758

Re: Minor things worth mentioning

by Hanfling
Mon Jul 10, 2017 4:06 am
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 142758

Re: Minor things worth mentioning

The story why there are no savegame snapshots for OpenGLDrv: Basically Sweeney, when creating the first UOpenGLRenderDevice (version) sort of managed to dublicate the Viewport variable off URenderDevice, so that was set by the UOpenGLRenderDevice, not the one on the URenderDevice. Afterwards everyon...
by Hanfling
Mon Jul 03, 2017 10:15 pm
Forum: DXEditing
Topic: Minor things worth mentioning
Replies: 121
Views: 142758

Re: Minor things worth mentioning

For rendering the 'Menu' windows after ScreenFlash. // Extension.PlayerPawnExt simulated event PostRenderFlash( Canvas Canvas ) { // Allow windows to be rendered after Flash. if ( !bool(RootWindow) || !RootWindow.RenderWindowsAfterFlash() ) // Actually no much of a point in calling it without RootWi...