Search found 17 matches

by Chilly
Sun Sep 06, 2015 8:37 am
Forum: Closed Bugs [GZDoom]
Topic: A_Face* pitch_offset miscalculation
Replies: 12
Views: 1510

Re: A_Face* pitch_offset miscalculation

Hi. I've had a look at the code and the explanation on the Wiki and I'm still not sure what's going on. It's clearly wrong because here if (!(flags & FAF_NODISTFACTOR)) target_z += pitch_offset; you're adding an angle to a length. 1. Could you explain exactly what FAF_NODISTFACTOR should do ...
by Chilly
Mon Oct 13, 2014 11:26 am
Forum: Closed Bugs [GZDoom]
Topic: Compilation Warning and Typo
Replies: 1
Views: 299

Compilation Warning and Typo

In p_user.cpp memcpy(PredictionActorBackup, &act->x, sizeof(APlayerPawn) - ((BYTE *)&act->x - (BYTE *)act)); gives the following warning. warning C4789: destination of memory copy is too small In d_net.cpp the word expected is spelt wrong. Printf(TEXTCOLOR_YELLOW "Notice: Using PacketServer (netmode ...
by Chilly
Fri Dec 13, 2013 10:33 am
Forum: Closed Bugs [GZDoom]
Topic: [Since 2.7.0] A second custom Playerclass can't choose skins
Replies: 15
Views: 1408

Re: [Since 2.7.0] A second custom Playerclass can't choose s

The problem seems to be that the second parameter of R_FindSkin in int userinfo_t::SkinChanged(const char *skinname) { int skinnum = R_FindSkin(skinname, 0); *static_cast<FIntCVar *>((*this)[NAME_Skin]) = skinnum; return skinnum; } is 0. Replacing the 0 with GetPlayerClassNum () seems to fix the ...
by Chilly
Thu Dec 12, 2013 1:50 pm
Forum: Closed Bugs [GZDoom]
Topic: [Since 2.7.0] A second custom Playerclass can't choose skins
Replies: 15
Views: 1408

Re: [Since 2.7.0] A second custom Playerclass can't choose s

The problem seems to be that the second parameter of R_FindSkin in int userinfo_t::SkinChanged(const char *skinname) { int skinnum = R_FindSkin(skinname, 0); *static_cast<FIntCVar *>((*this)[NAME_Skin]) = skinnum; return skinnum; } is 0. Replacing the 0 with GetPlayerClassNum () seems to fix the ...
by Chilly
Sun Dec 08, 2013 11:42 am
Forum: Closed Bugs [GZDoom]
Topic: Name Changing
Replies: 2
Views: 354

Re: Name Changing

Would the attached patch be sufficient?
by Chilly
Sat Dec 07, 2013 4:02 am
Forum: Closed Bugs [GZDoom]
Topic: Bug in P_LookForPlayers
Replies: 1
Views: 385

Bug in P_LookForPlayers

If there are 7 players in the game then monsters do not target the first player. This can easily be seen by adding 6 bots in a Doom 1 E1M1 deathmatch and going to the first room with the two Zombiemen. The bug occurs in P_LookForPlayers in the for(;;) loop. In addition, if there are few enough ...
by Chilly
Wed Nov 20, 2013 2:06 pm
Forum: Closed Bugs [GZDoom]
Topic: Memory Leaks
Replies: 2
Views: 308

Memory Leaks

If ZDoom is closed almost as soon as it is started then the VC++ debugger detects memory leaks. A guaranteed way to reproduce this is if the IWAD selection menu is cancelled.
by Chilly
Wed Nov 20, 2013 3:10 am
Forum: Closed Bugs [GZDoom]
Topic: Name Changing
Replies: 2
Views: 354

Name Changing

If you start a new game, enter the player setup menu, select the name row and press enter, then a message saying "Player is now known as Player" appears. Surely this message should only appear if the name is actually modified.
by Chilly
Wed Oct 16, 2013 4:10 pm
Forum: Closed Bugs [GZDoom]
Topic: Missing Return
Replies: 1
Views: 265

Missing Return

The following code in the playerinfo CCMD is missing a return.

Code: Select all

1018 	if (!playeringame[i])
1019 	{
1020 		Printf(TEXTCOLOR_ORANGE "Player %d is not in the game\n", i);
1021 	}
by Chilly
Wed Aug 21, 2013 2:43 am
Forum: Closed Bugs [GZDoom]
Topic: Unused Constants in p_map.cpp
Replies: 1
Views: 202

Unused Constants in p_map.cpp

I was experimenting with the water movement code and noticed that the constants describing water motion are unnecessarily repeated in p_map.cpp. It took me a while to realise why changing these constants didn't actually affect anything. Could these repeated definitions be removed to prevent further ...
by Chilly
Sat Aug 10, 2013 11:29 am
Forum: Closed Bugs [GZDoom]
Topic: Alien Spectre
Replies: 3
Views: 276

Alien Spectre

Strife's Alien Spectre has no obituary message.
by Chilly
Sat Mar 09, 2013 1:19 am
Forum: Closed Feature Suggestions [GZDoom]
Topic: Speed Up Compile
Replies: 4
Views: 458

Re: Speed Up Compile

Thank you Edward-san. I have modified src/CMakeLists.txt and uploaded a new patch. Someone should probably check whether it compiles on Linux now.
by Chilly
Fri Mar 08, 2013 5:10 pm
Forum: Closed Feature Suggestions [GZDoom]
Topic: Speed Up Compile
Replies: 4
Views: 458

Speed Up Compile

This patch speeds up the compilation process by compiling all of the shared game code at once.
by Chilly
Thu Mar 07, 2013 1:50 pm
Forum: Closed Feature Suggestions [GZDoom]
Topic: Railgun Vertical Spawn Offset
Replies: 17
Views: 953

Re: [request] set the height of a railgun attack

I have submitted a patch that adds this feature.

Code Submission: http://forum.zdoom.org/viewtopic.php?f=34&t=35659

Go to advanced search