Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rend2 unified wip #56

Merged
merged 61 commits into from
Feb 18, 2024
Merged

Rend2 unified wip #56

merged 61 commits into from
Feb 18, 2024

Commits on Oct 10, 2023

  1. Add OpenJO build to GitHub actions (JACoders#1173)

    * pipeline: add OpenJO builds, fix up some context usage and normalise cmake options
    
    * fix typo on macOS OpenJO archive step
    
    * parallelise builds, split OpenJO steps on windows
    
    * looks like the python shell is v2 with no f-strings
    
    * alternative per-platform methods for obtaining the processor count
    
    * enable JK2 in cmake's InstallConfig module so we get runtime libs...and strip them from the official release anyway :')
    
    * Add UseInternalLibs cmake option to default all libs to internal
    
    * remove unnecessary game path from create-latest step
    
    * allow changes to CMake project files to trigger builds
    Razish authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    137f55a View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    4d0dfaf View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Fix memory leak

    xycaleth authored Nov 11, 2023
    Configuration menu
    Copy the full SHA
    e8454e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c422ea View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Update Dockerfile (JACoders#1191)

    Fix dockerfile by not building Rend2 engine
    veosar authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    247fe8b View commit details
    Browse the repository at this point in the history
  2. Unix: copy path into a static variable to work on in Sys_Basename and…

    … Sys_Dirname. This prevents overwriting argv[0]. (JACoders#1183)
    Daggolin authored Nov 22, 2023
    Configuration menu
    Copy the full SHA
    2ed26b3 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    a3aa7dd View commit details
    Browse the repository at this point in the history
  2. [vanilla] LS_NONE -> LS_LSNONE

    Theres a define in MP that clashes, so it was renamed in MP. Apply this to vanilla too.
    
    Co-Authored-By: AntiAnti <17278566+antianti@users.noreply.github.com>
    SomaZ and AntiAnti committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    07ab3b0 View commit details
    Browse the repository at this point in the history
  3. COM_GetCurrentParseLine fix

    q_shared.h defines "int COM_GetCurrentParseLine( void )"
    
    q_shared.cpp implemented "int COM_GetCurrentParseLine( int index )"
    
    Fixed now, so function can actually be used.
    
    Co-Authored-By: AntiAnti <17278566+antianti@users.noreply.github.com>
    SomaZ and AntiAnti committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    99a8eec View commit details
    Browse the repository at this point in the history
  4. Prepare qcommon and rd-common

    Adding mdr structs, one more texture compression algorithm, some zone tags, and SkipBracedSection function
    
    Co-Authored-By: AntiAnti <17278566+antianti@users.noreply.github.com>
    SomaZ and AntiAnti committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    c27c4b4 View commit details
    Browse the repository at this point in the history
  5. Patch rend2 for sp

    Cleaned up alot of noise. Code formating will happen in another commit.
    All work based on: https://github.com/AntiAnti/OpenJK
    
    Co-Authored-By: AntiAnti <17278566+antianti@users.noreply.github.com>
    SomaZ and AntiAnti committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    33045e1 View commit details
    Browse the repository at this point in the history
  6. Move mp rend2 to shared folder

    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    3b7df7a View commit details
    Browse the repository at this point in the history
  7. [SP] rit.Malloc -> rit.Z_Malloc

    To match MP
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    bef35ee View commit details
    Browse the repository at this point in the history
  8. [MP] Get rid of _skinSurface_t

    Chose the SP variant of this to get rid of the void pointer in the struct, so potentially less casting.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    76f8b6c View commit details
    Browse the repository at this point in the history
  9. [Rend2] Fix cg_showtris depthtest

    cg_showtris 1 shouldnt use depth culling. Had overseen this before.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    a8b019a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9c85f09 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b43770d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0397ddb View commit details
    Browse the repository at this point in the history
  13. [rend2] make sp renderer use the shared rend2 files

    ifdefed sp / mp differences
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    a12a5a0 View commit details
    Browse the repository at this point in the history
  14. Remove duplicate files

    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7464c90 View commit details
    Browse the repository at this point in the history
  15. Fix incorrect texture coordnates

    The saber marks in SP use some additional scaling and there's some missing parts still.
    
    Also fixed incorrect ifdeffed if else constructs.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e05b65a View commit details
    Browse the repository at this point in the history
  16. [rend2] WIP Weather functions

    Added working IsShaking
    
    Co-Authored-By: AntiAnti <17278566+antianti@users.noreply.github.com>
    SomaZ and AntiAnti committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    ef4da7b View commit details
    Browse the repository at this point in the history
  17. [rend2-sp] Fix broken endscreen yavin2

    Because there's a skyportal in this map, it always culled all the ui elements because they aren't sky surfaces.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    5e34341 View commit details
    Browse the repository at this point in the history
  18. [rend2-sp] Fix ParseSessions

    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    36d7672 View commit details
    Browse the repository at this point in the history
  19. [rend2-sp] Add missing G2 functions

    when G2_PERFORMANCE_ANALYSIS
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    12b51bf View commit details
    Browse the repository at this point in the history
  20. [rend2-sp] Add OpenJO cmake config

    Compiles, haven't tested it though
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    156d92a View commit details
    Browse the repository at this point in the history
  21. [rend2-sp] Add basic JO support

    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    c3bc53d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0aaf13b View commit details
    Browse the repository at this point in the history
  23. [rend2] Increase max fog count

    You can now load yavin_swamp again.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    0f2c420 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    080de13 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    de7f309 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4c11f83 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0f7bbea View commit details
    Browse the repository at this point in the history
  28. [rend2] Add md3 animations back, just CPU for now

    Need to implement gpu vertex animations, but use the cpu fallback solution for now.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    05a2357 View commit details
    Browse the repository at this point in the history
  29. [rend2-sp] Fix ghoul2 saber marks

    Its drawing at least. Potentially missing extra SP features.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    8dbeb54 View commit details
    Browse the repository at this point in the history
  30. [rend2-sp] Enabling additional sp g2 gore features

    I have no idea what this does. Can't find a difference visually myself.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    ac4eb0e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5b035b5 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    6128f8e View commit details
    Browse the repository at this point in the history
  33. [SP] Increase REF_API_VERSION & UI_API_VERSION

    Changed the API a little to match better between SP and MP. See following commits
    6654638
    e40982b
    3ac87fd
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    077848e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a82a42c View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    0093a2b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    98508ec View commit details
    Browse the repository at this point in the history
  37. [rend2] Init Uniforms for the splashScreenShader

    so we can use Free on the program without checking if everything has been allocated.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    030c784 View commit details
    Browse the repository at this point in the history
  38. [rend2-sp] Fix LA Goggles

    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    6db4a17 View commit details
    Browse the repository at this point in the history
  39. [rend2-sp] Fix fog assignments

    taspir2 and yavin_swamp now look correct too.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    1c0e11e View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    32c0fb1 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    b3e5f53 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    64a9266 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    3b966a4 View commit details
    Browse the repository at this point in the history
  44. [rend2] Fix depth writes for shaders with blendFunc & sort opaque

    Dont do that. GLS_DSTBLEND_BITS & GLS_SRCBLEND_BITS should be 0 for opaque objects that can write depth.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    293ccdc View commit details
    Browse the repository at this point in the history
  45. [rend2] Load weather images as SRGB in hdr lighting conditions

    Also fixes depth lookup for weather surfaces that have no downwards velocity because we wont divide by zero anymore.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    5d0191b View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    9ae08ab View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    35b799f View commit details
    Browse the repository at this point in the history
  48. [SP/MP] Match most of tr_types.h

    Flags and structs should match perfectly now. Also removes some miniRefEntity structs from MP that aren't used and are also made useless already. So, just some cleanup in this regard.
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    51ff8fa View commit details
    Browse the repository at this point in the history
  49. [rend2] Fix compile after rebase

    Rebase obviously couldnt apply this change automatically, see:
    JACoders@e8454e3
    SomaZ committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    3cdbeee View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    fc77a23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ca479d View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    cb5a8c1 View commit details
    Browse the repository at this point in the history
  2. [rend2] Reduce goreVBO size

    SomaZ committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    494abea View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. [rend2] Fix alphaGen portal

    and some additional cleanup. Makes the entity ubo struct smaller, which is good. I unintentionally broke portal alphaGen when I rewrote the scene handling.
    
    u_LocalViewOrigin is not correct in any case anymore, because we can have the same entity in multiple views but we only upload one entity representation now. So we compute the needed vectors in the shaders in worldspace insted of localspace now.
    SomaZ committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    a257512 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0db338a View commit details
    Browse the repository at this point in the history