MajorCooke
fdf2d6c493
- Cleaned up some of the reflective code.
...
- Added null checks to AIMREFLECT.
- The missile being reflected now corrects the z velocity to perfectly reflect towards the actor's middle.
2014-12-27 12:47:48 -06:00
Randy Heit
1aa00f1b0e
Draw player setup cursor equivalently to options menu cursors
...
- Explicitly size and position the text cursor in
FListMenuItem::DrawSelector() the same way that the options menu does it
using M_DrawConText(): By sizing it to a scaled 8x8 cell.
2014-12-26 19:22:09 -06:00
Braden Obrzut
84afd2252f
- Fixed missing right paren on the first _Pragma from last commit.
2014-12-26 20:10:41 -05:00
Randy Heit
f76d137d33
Be less ugly when hiding warnings for using the %B formatter
...
- Take advantage of the new _Pragma operator to hide the printf warning
suppression inside of macros instead of needing to litter the code
around Printfs with a bunch of junk.
2014-12-26 18:58:59 -06:00
Randy Heit
bce7d12379
Change clipping in DSBarInfo::DrawGraphic()
...
- Fixed: When DSBarInfo::DrawGraphic() is used scaled, without fullscreen
offset, if one of the top and left clip locations was 0 and the other
was non-0, the 0 one would be clipped to the edge of a 4:3 box centered
on the screen instead of the edge of the screen.
2014-12-26 18:40:15 -06:00
Randy Heit
798267d223
Remove memcpy from "Unknown command" error printing
2014-12-26 17:29:13 -06:00
Randy Heit
4017a6d864
Retry setting unknown cvars after CVARINFOs are processed.
...
- Fixed: Using +set cvarname and +cvarname on the command line would not
work if cvarname was defined in CVARINFO. This should be the proper way to fix
it. Rather than move all command line execution after loading CVARINFO,
keep command line execution before wads are loaded. If an attempt is
made to set an unknown cvar or to run an unknown command (which could
potentially be shorthand for setting an unknown cvar), save it and try
running it again after all CVARINFOs have been handled.
2014-12-26 17:21:57 -06:00
Randy Heit
f00c8e1943
Revert "Move C_ExecCmdLineParams() call slightly later in the startup process."
...
This reverts commit 3c376aa342
.
- I was wrong. It breaks pullin and complete logging (at the very least).
2014-12-26 16:34:38 -06:00
Randy Heit
b30571b18e
Merge branch 'master' of github.com:rheit/zdoom
2014-12-26 15:17:20 -06:00
Randy Heit
e0667544d2
Clamp chase_dist and chase_height because integer overflow is a thing.
2014-12-26 15:15:42 -06:00
Christoph Oelckers
f054f626d2
Merge branch 'master' of https://github.com/rheit/zdoom
2014-12-26 21:55:47 +01:00
Randy Heit
ec98937c88
Read script number as signed when parsing SARY chunks
...
- Fixed: Script arrays didn't work in named scripts because the loader
read the script number as an unsigned word, hence it would never find
named scripts, since they are stored with negative numbers.
2014-12-26 14:41:01 -06:00
alexey.lysiuk
0d1c954bc0
Fixed crash in game controller support code
...
Joystick's startup and shutdown (of Native OS X backend) can be called more than once
2014-12-26 22:11:03 +02:00
Christoph Oelckers
4f383e5aa7
- Nash's force fake contrast submission.
2014-12-26 13:43:49 +01:00
Christoph Oelckers
14d7b8b777
- fixed: Since no DrawText calls actually use the non-functional DTA_DestWidth, DTA_DestHeight or DTA_Translation and GCC cannot handle the fudging of the varargs, these will now trigger an assertion. No need to try to make something work that's always a programming error.
2014-12-25 21:08:31 +01:00
Christoph Oelckers
a5a17e45cf
- fixed: Checking the terrain for any texture that was created after initializing the terrain data either returned random garbage or could even create an access violation. Added a range check to the array access function to prevent this.
2014-12-25 20:43:40 +01:00
Christoph Oelckers
1a39ac9243
- forgot to save this before committing...
2014-12-25 19:56:38 +01:00
Christoph Oelckers
66fa33886a
Merge branch 'master' of https://github.com/rheit/zdoom
2014-12-25 18:47:16 +01:00
Christoph Oelckers
6fd70ff320
- fixed: Trying to rotate a polyobject into its actual position during loading of a savegame still inflicted damage on all touching actors - including incomplete player pawns - and also got blocked by them.
...
Similar code already existed for the MovePolyobj function but apparently was overlooked here.
2014-12-25 18:46:50 +01:00
rheit
ef3d950d7f
Merge pull request #209 from MajorCooke/hotfix2
...
- Fixed: Species was not defaulted in actor.txt.
2014-12-25 10:00:10 -06:00
MajorCooke
15cd0debc1
- Fixed: Species was not defined in actor.txt.
2014-12-25 09:23:59 -06:00
MajorCooke
f2551dceda
- Corrected the species checking.
2014-12-24 17:49:58 -06:00
MajorCooke
d94be8f57b
- Reverted back and set filter to "None" instead.
2014-12-24 17:15:21 -06:00
rheit
087830263f
Merge pull request #206 from ChillyDoom/BotFix
...
- Fixed: FCajunMaster::End() was missing a bot check.
2014-12-24 15:57:50 -06:00
ChillyDoom
7d628a8c03
- Fixed: FCajunMaster::End() was missing a bot check.
2014-12-24 19:41:49 +00:00
Christoph Oelckers
23009bddb5
Merge branch 'hotfix2' of https://github.com/MajorCooke/zdoom
2014-12-24 10:46:52 +01:00
Christoph Oelckers
4384811745
Merge branch 'NetFix' of https://github.com/ChillyDoom/zdoom
2014-12-24 10:45:38 +01:00
MajorCooke
62a4945ca4
- Fixed: CAUSEPAIN didn't work with A_Explode calls featuring no damage.
2014-12-23 23:30:00 -06:00
Randy Heit
3fb9e754f1
Rename 'Pick' to 'RandomPick'
...
... because 'pick' is way too generic a name to spend a keyword on.
2014-12-23 21:46:27 -06:00
rheit
bfb94f13d2
Merge pull request #198 from MajorCooke/filters
...
- Added name filtering to all A_Damage/Kill/Remove functions.
2014-12-23 21:42:31 -06:00
rheit
39adff5e9e
Merge pull request #200 from ChillyDoom/BotFixes
...
Bot fixes
2014-12-23 21:34:57 -06:00
Randy Heit
7a3b701eb5
Merge branch 'Edward850-chat-len-fix'
2014-12-23 21:34:23 -06:00
Randy Heit
5caadeba4c
Use a null check instead of strlen in ShoveChatStr
2014-12-23 21:33:47 -06:00
Randy Heit
d3272f75e7
Merge branch 'chat-len-fix' of git://github.com/Edward850/zdoom into Edward850-chat-len-fix
2014-12-23 21:31:53 -06:00
Randy Heit
748973a67f
Merge branch 'MajorCooke-custommissileptr'
2014-12-23 21:30:53 -06:00
Randy Heit
d7d022144e
Call A_Face() directly from A_CustomBullletAttack
2014-12-23 21:30:24 -06:00
Randy Heit
c13f1551e6
Merge branch 'custommissileptr' of git://github.com/MajorCooke/zdoom into MajorCooke-custommissileptr
2014-12-23 21:27:05 -06:00
rheit
0bd331b34b
Merge pull request #203 from Edward850/ps-disconnect
...
Allow players to be popped in packet-server
2014-12-23 21:19:17 -06:00
Edward Richardson
dfa6a44402
Ignore 0 length chat messages
...
- There is no reason to send empty messages, and they just produced
strange output anyway
2014-12-23 22:38:12 +13:00
Edward Richardson
b24f173d03
Allow players to be popped in packet-server
2014-12-23 22:20:39 +13:00
alexey.lysiuk
bf2a6dbc05
Merge branch 'z_osx_pure' into cocoa_no_sdl
2014-12-23 07:15:12 +02:00
ChillyDoom
f7405a1d24
- Changed two loops from using doomcom.numnodes back to MAXPLAYERS as nodeingame[i] is not necessarily the same as playeringame[playerfornode[i]].
2014-12-22 20:48:27 +00:00
Braden Obrzut
d4bac5776a
Merge branch 'SDL2'
2014-12-22 15:25:22 -05:00
Randy Heit
2b323d01ed
Reorder pick parsing to require one parameter.
...
- This function is pointless without any parameters, so don't allow that.
2014-12-21 21:22:14 -06:00
ChillyDoom
aebf0e7526
- Fixed: Adding multiple bots at the same time could cause the game to crash if there were too few bots defined.
...
- The 'loaded_bots' variable no longer needs to be stored.
2014-12-21 19:21:51 +00:00
MajorCooke
91bfe4cceb
- Added pointers for A_CustomMissile and A_CustomBulletAttack.
2014-12-21 12:29:19 -06:00
MajorCooke
2c7a3f2eba
- Optimized DoDamage and DoKill.
...
- Do a filter and species check first to save time.
- Added DMSS/KILS/RMVF_EITHER, which means if the actor is of type or species, it counts.
- A_DamageTarget(20,"Normal",DMSS_EITHER,"DoomImp","CyberdemonSpecies")
- This affects actor DoomImp, and anything that's of species CyberdemonSpecies.
- Added a little more documentation via comments.
2014-12-21 10:38:51 -06:00
MajorCooke
5a472e815b
- Added species checking.
...
- Added two more flags for each of the functions, EXFILTER and EXSPECIES.
- Stands for "exclude filter/species" and makes the function not take them into account.
- Cleaned up the code and placed all the checking in their own subfunctions.
2014-12-21 09:31:24 -06:00
alexey.lysiuk
18c7709007
Cleanup video part of native OS X backend, phase 4
2014-12-21 12:35:43 +02:00
MajorCooke
c168761eda
- Couple additional fixes:
...
- The wiki said the minimum distance to teleport defaults to 0, actor.txt on the other hand said otherwise. I was wondering why it was still broken somewhat...
- Prevent stickiness from happening, a.k.a. getting stuck in ceiling or floor and letting the engine unstick the actor. This caused velocity loss.
2014-12-20 22:51:43 -06:00