Skip to content
Snippets Groups Projects
  1. Jan 10, 2017
  2. Jan 09, 2017
    • Monster Iestyn's avatar
      93a40eb8
    • Monster Iestyn's avatar
      Starting work on porting hw_clip.c/h code, Makefiles and CMake can compile them at least · e37d680a
      Monster Iestyn authored
      Other notes:
      * Renamed all new functions to have HWR_ prefix instead of gld_, for consistency
      * HWR_FrustrumSetup and HWR_SphereInFrustum are disabled and require HAVE_SPHEREFRUSTRUM. This is because 1) SRB2CB did not need the code, so presumably neither will we, and 2) there are some OpenGL API functions used there that due to our way of using OpenGL we don't use outside of r_opengl.c, which makes dealing with HWR_FrustrumSetup complicated in theory
      * The new clipping functions are not added to OpenGL's "main" rendering code itself just yet, they're just available to use now once hw_clip.h is included
      e37d680a
  3. Jan 08, 2017
    • Monster Iestyn's avatar
      Merge branch 'vada_flickies' into 'master' · 3d07915b
      Monster Iestyn authored
      Hardcoded VAda Flickies
      
      Many thanks to MI for his help, even if he has sinful opinions on what the collection of creatures should be called. ;P
      
      * Flickies are now handled via A_FlickySpawn instead of hardcoded in P_KillMobj, so there can be mobjtypes with MF_ENEMY which don't create flickies, or other mechanisms which can much easier.
      * Added map header "FlickyList" (aka "AnimalList") parameter, which can either be set to:
          * A species (eg: "Rabbit" or "Bluebird", amongst 17 currently supported types in dehacked.c table FLICKYTYPES - including the seed from Sonic CD, which isn't limited to 'soniccd on' in the console now)
          * Any valid mobjtype that isn't MT_NULL (eg: "MT_FLICKY_GHOST")
          * A comma-seperated list of either of the above, up to 64 entries long (eg: "Cow,MT_FLICKY_SPIDER,Chicken")
          * "All" - sets behind-the-scenes stuff to use every 'normal' type of flicky in FLICKYTYPES (a distinction which can be utilised to hide secret level flickies where they wouldn't be appropriate for the main game)
          * "Demo" - sets behind-the-scenes stuff to use the five flickies closest to the species used in the game's long history.
          * "None" - prevents any flickies from spawning.
      
      "Demo" is functionally the default value if you don't include a FlickyList parameter in the header at all.
      
      Of note, a bunch of functions are now created:
      * A_FlickySpawn - spawns flicky.
      * A_FlickyAim - aims for area near target, but not directly on them - turns around when hitting wall
      * A_FlickyFly -  flies/swims around target (calls A_FlickyAim)
      * A_FlickySoar - hacky alternate fly (calls A_FlickyAim)
      * A_FlickyCoast - slowing down before going off again
      * A_FlickyHop - fracunit-scale precision for A_BunnyHop
      * A_FlickyFlounder - A_FlickyHop with randomisation
      * A_FlickyCheck - State-setter for falling, or being on-ground
      * A_FlickyHeightCheck - State-setter for falling, or being below a certain height relative to target
      * A_FlickyFlutter - A_FlickyCheck, but with a slow fall/movement (calls A_FlickyCheck and A_FlickyAim)
      
      I don't need to enumerate the object types and states that have been added, do I?
      
      Oh yeah, I also made it so get_mobjtype's failure value was MT_NULL and prohibited SOC from editing the properties of it to compensate.
      
      IN ADDITION: Killed "soniccd" console command, since it made things more complicated and honestly being able to specify Sonic CD seeds in the level header is a better option.
      
      See merge request !60
      3d07915b
    • Monster Iestyn's avatar
      Merge branch 'public_next' · 166c6746
      Monster Iestyn authored
      166c6746
    • Monster Iestyn's avatar
      Merge branch 'next' into public_next · c737cff7
      Monster Iestyn authored
      c737cff7
    • Monster Iestyn's avatar
      Merge branch 'master' into next · 87dc33a7
      Monster Iestyn authored
      87dc33a7
    • Inuyasha's avatar
      Merge branch 'cb_update' into 'master' · cdc9bf3a
      Inuyasha authored
      Update Code::Block project
      
      See merge request !145
      cdc9bf3a
  4. Jan 07, 2017
    • Monster Iestyn's avatar
      Merge branch 'savegame-hotfixes' into 'next' · 22020dda
      Monster Iestyn authored
      Savegame hotfixes
      
      Yes, this another netgame related fix! Named this "savegame hotfixes" rather than "ERCZ hotfix" or the like in advance of the fact we probably need a general branch for other $$$.sav fixes?
      
      Anyway, fixes included in by this branch:
      * ERCZ's lava falls now act as expected rather than being stuck in place for the map's duration, fixing all other known desynchronisation issues known in the map for the time being (yay)
      * Changing sector tags in a map no longer causes joiners to netgames to have their SRB2 application stop responding etc
      * Player names should no longer turn red in the console in gametypes outside of CTF/Team Match if a resynch occurs (not $$$.sav related, but it's related to netplay so I lumped it in anyway)
      
      See merge request !150
      22020dda
    • Monster Iestyn's avatar
      Merge branch 'eggshield-laser-fix' into 'next' · c93101aa
      Monster Iestyn authored
      Eggshield laser fix
      
      Fix for http://mb.srb2.org/showthread.php?t=42250
      
      See merge request !152
      c93101aa
    • Monster Iestyn's avatar
      Fix egg guard shields being endlessly killed by lasers. Simply make sure they... · ad30c411
      Monster Iestyn authored
      Fix egg guard shields being endlessly killed by lasers. Simply make sure they have health first before killing them!
      ad30c411
    • Monster Iestyn's avatar
      Merge branch 'eggscalibur_fixes' into 'next' · 45fdfd9f
      Monster Iestyn authored
      One Eggscalibur fix
      
      Use mobj->watertop instead of mobj->spawnpoint->z. CEZ3 is far from fixed in multiplayer, but this is still one less thing to worry about.
      
      See merge request !148
      45fdfd9f
    • Monster Iestyn's avatar
      Merge branch 'public_next' · 12ae6bb2
      Monster Iestyn authored
      # Conflicts:
      #	src/d_clisrv.c
      #	src/r_things.c
      12ae6bb2
    • Monster Iestyn's avatar
      Merge branch 'next' into public_next · 7c227ea0
      Monster Iestyn authored
      7c227ea0
    • Monster Iestyn's avatar
      Merge branch 'plane-fixes' into 'next' · cd0ec088
      Monster Iestyn authored
      Software plane rendering fixes/cleanup
      
      This is mostly cleanup, with the exception that polyobject planes should now behave somewhat better than they do in 2.1 currently (translucent polyobj planes should now always be actually translucent regardless of where you view them from, for instance). I can't claim I've fixed their rendering once and for all though, there may still be bugs for all I know...
      
      See merge request !136
      cd0ec088
    • Monster Iestyn's avatar
      Merge branch 'texture-fixes' into 'next' · c601a409
      Monster Iestyn authored
      Some texture-related fixes
      
      Bugs fixed in this branch:
      * upper/lower/middle textures with non-existent texture ids being capable of crashing the game. For instance, RVZ1 has colormap codes on non-colormap linedefs, which causes them to wind up with invalid texture ids because of how the game tries to interpret lower/upper textures with "#" followed by characters on normal linedefs. Fortunately these "textures" are normally not visible anyway (since they're all in control sectors) unless they are swapped with in-level textures by some crazy Lua script of some sort...
      * animated single-patch textures with holes displaying garbage on first viewing (see this thread: https://mb.srb2.org/showthread.php?t=42195)
      * the heights of the lighting (shadows or colormapping) from water/translucent/shadowcasting/etc FOFs become messed up when displayed on repeated midtextures.
      
      See merge request !144
      c601a409
  5. Jan 06, 2017
    • Monster Iestyn's avatar
      Merge branch 'flat-changing-hotfix' into 'next' · 5e12f349
      Monster Iestyn authored
      Flat changing hotfix
      
      This should fix how Lua scripts that change flats in levels, particularly to flats that don't already exist in the level, cause SRB2 to crash for anyone who joins a netgame afterwards. (I'm not sure if it's a consistent thing or not though)
      
      Probably needs a good test to verify the issue is completely fixed before being merged in. Maybe there are other minor things I didn't account for in this fix? I don't know!
      
      See merge request !141
      5e12f349
  6. Jan 03, 2017
  7. Jan 02, 2017
  8. Jan 01, 2017
    • LJ Sonic's avatar
      Cooked another cookie · 478da436
      LJ Sonic authored
      478da436
    • LJ Sonic's avatar
      Cooked a cookie · 4373afcd
      LJ Sonic authored
      4373afcd
    • LJ Sonic's avatar
      -Fixed broken net commands, thus fixing (or at least greatly improving)... · b347b818
      LJ Sonic authored
      -Fixed broken net commands, thus fixing (or at least greatly improving) chat/commands/joins/leaves and possibly other annoying bugs
      -Updated packet name list so the debug file no longer shows garbage packet names
      -Replaced byte values with actual net command names in the debug file. Only the first net command in a packet will be shown though
      -Added a MOBJCONSISTANCY define that makes the game takes all revelant mobjs to be counted in the synch seed
      -Added a PACKETDROP define that adds two console commands "drop" and "droprate" to simulate bad internet by dropping packets
      -Added/changed comments here in there in the netcode
      -Fixed a minor error that would ignore one of the urgent ack slots
      -Added a space between the map name and "zone" for the messages shown in a joiner's console
      b347b818
    • toaster's avatar
      * Modified MT_SEED to have aesthetically nicer behaviour. · 3f92a230
      toaster authored
      * Removed Soniccd command, as flicky selection involves a P_RandomKey call - this messes with replays and demos.
      3f92a230
    • toaster's avatar
      Prevented Mario mode from bailing out P_InternalFlickySpawn. What's the point?... · df88d888
      toaster authored
      Prevented Mario mode from bailing out P_InternalFlickySpawn. What's the point? Goombas don't call A_FlickySpawn...
      df88d888
    • Monster Iestyn's avatar
      Start mobjnums at 1 instead of 0, so that the first found mobj can be relinked... · 0e6e52ea
      Monster Iestyn authored
      Start mobjnums at 1 instead of 0, so that the first found mobj can be relinked as a target etc to other mobjs properly
      
      This fixes Brak's electric barrier disappearing for joiners to ERZC. There seems to be some issues with the lava falls there too I've found, but the electric barrier actually stays around now at least
      0e6e52ea
Loading