Dedmen Miller

Results 377 comments of Dedmen Miller

Found it. ```cpp SDL_SaveBMP(qRoom.RoomBm.pBitmap->GetSurface(), "P:\\oroom.bmp"); SDL_SaveBMP(RoomBm.pBitmap->GetSurface(), "P:\\preblit.bmp"); RoomBm.BlitFrom (qRoom.RoomBm, &SrcRect, Dest); SDL_SaveBMP(RoomBm.pBitmap->GetSurface(), "P:\\postblit.bmp"); ``` If you dump the rooms. The other room thats blitted in is just black texture. It...

`CStdRaum::OnPaint(BOOL bHandyDialog)` I'd assume that bHandyDialog flag for painting is there for a reason.. well it once was maybe Think is, GameFrame::Invalidate renders only location windows of the players. So...

Can also call qRoom.OnPaint(true) from within CStdRaum::PostPaint, so we render it just before we want to blit it in. But that doesn't make a difference, character is still missing and...

Oops, wrong direction ![AT_2022-03-13_17-55-01](https://user-images.githubusercontent.com/3768165/158070298-872fdfc6-2e4e-4647-ba5d-f6336bd8e4c6.png) Tada ![AT_2022-03-13_18-01-46](https://user-images.githubusercontent.com/3768165/158070578-28fee918-ae4f-41fa-82f4-52699972b867.png) Had to turn color key off Color key seems to be new with SDL2, but that doesn't explain why the other room was not...

Ah I guess CWnd from MFC automatically always paints itself. So previously all instanciated rooms would've always been painted? https://docs.microsoft.com/en-us/cpp/mfc/reference/cwnd-class?view=msvc-170#onpaint Yeah seems like it. Yes every room called in its...

It indeed is the exact same. It probably once had some extra code, which was removed someday. Or it was something different someday, and programmers were to lazy to replace...

Communication is via json text over a NamedPipe. That has nothing to do with the languages things are written in.

Not just security, this will also lead to incorrect in-game paths. Arma 3 base files have the same issue, resulting in `/temp/bin/A3/Functions_F/Ambient/fn_ambientAnim.sqf` instead of `\A3\Functions_F\Ambient\fn_ambientAnim.sqf`

The problem is that the "root" what would often be a p-drive root. Is unknown. We can try finding it by looking for PBOPREFIX, which might solve most cases (doesn't...

Also important note on this, this changes how the outputPath is handled. result file is outputPath/virtualPath. Because the virtualPath was previously bugged, it would output to example `P:/Users/username/Appdata/Local/Temp/hemtt/DEV_CBA_A3/asc/source/addons/common/fnc_test.sqfc` But with...