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

Refactors #121

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open

Refactors #121

wants to merge 48 commits into from

Commits on Jun 7, 2022

  1. Configuration menu
    Copy the full SHA
    5f05ce9 View commit details
    Browse the repository at this point in the history
  2. * Get rid of various console commands that will never be used for the…

    … libretro port:
    
    - cl_shownet
    - developer
    - entities
    - mcache
    - host_framerate
    - host_speeds
    - maplist
    - d_subdiv16
    - hunk
    * Get rid of PARANOID ifdefs - never used and speed-sapping according to own internal
    comments
    * Keys - get rid of console autocompletion - will never be used
    * Get rid of useless window_visible - libretro port doesn't need to have a concept of this
    * Get rid of useless onscreen logging functionality like R_TimeRefresh, R_TimeGraph, R_ZGraph, etc.
    * Get rid of Con_DPrintf - only ever used when developer switch is set, which will never
    be the case for the libretro port
    * Get rid of debuglog
    LibretroAdmin committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    8685a8d View commit details
    Browse the repository at this point in the history
  3. r_pixbytes is always going to be 1 for the libretro core, get rid

    of alternate r_pixbytes codepaths - less conditionals, less code
    LibretroAdmin committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    c1fbd4c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0cc02b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe821a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4f468cc View commit details
    Browse the repository at this point in the history
  7. (Sound) Optimize around 16bit stereo sound, libretro port will

    never change from this, remove all alternate code paths
    LibretroAdmin committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    94bf7b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. * Remove unused IN_Commands

    * Remove some unused variables/command variables
    * Simplify audio code - shm->samples will always be constant, so use
    a constant define. Plan to eventually get rid of shm struct/pointer
    (see comment in snd_dma/snd_mix.c code that this should be removed eventually)
    LibretroAdmin committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c1636b1 View commit details
    Browse the repository at this point in the history
  2. * Remove unneeded debug code (including member variable height of sur…

    …fcache_s)
    
    * Remove unneeded low floating point/high floating point mode setting (this was
    only ever relevant on old 486/Pentium era CPUs)
    * Get rid of more useless debug functions
    * Direct initialization of local variables where possible
    LibretroAdmin committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    7b8ec43 View commit details
    Browse the repository at this point in the history
  3. Remove if 0 codeblocks

    LibretroAdmin committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    431694a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4f4167 View commit details
    Browse the repository at this point in the history
  5. Remove demo recording

    LibretroAdmin committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    e6023ef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e408de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f62cf64 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bbc5d8e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3fc527c View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Configuration menu
    Copy the full SHA
    2d3450a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67bb497 View commit details
    Browse the repository at this point in the history
  3. Cleanups

    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    7fb147f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edc4517 View commit details
    Browse the repository at this point in the history
  5. Get rid of unnecessary console commands viewframe, viewmodel, viewmod…

    …el_prev,
    
    viewmodel_next, version
    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    63d299a View commit details
    Browse the repository at this point in the history
  6. * COM_LoadPakFile - CRC checking on PAK file is unnecessary

    * draworder always 0, remove conditional
    * Random miscellaneous cleanups, make functions static if we can
    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a30501b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    85b6e57 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4914587 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6ed9256 View commit details
    Browse the repository at this point in the history
  10. Remove unused extern

    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    7750e1c View commit details
    Browse the repository at this point in the history
  11. Cleanups

    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    ededcc5 View commit details
    Browse the repository at this point in the history
  12. Cleanups in pr_exec.c

    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3ce2b42 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e98949c View commit details
    Browse the repository at this point in the history
  14. Doesn't read or write to config.cfg anymore - options will be added

    from now on to core options
    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    fb10716 View commit details
    Browse the repository at this point in the history
  15. Cleanups

    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    1f1c389 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    170a75e View commit details
    Browse the repository at this point in the history
  17. * r_edge - don't go through function pointer

    * Get rid of r_vars.c
    LibretroAdmin committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    36c4b0d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c439cc6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    67bd259 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2022

  1. Configuration menu
    Copy the full SHA
    c7d6d6d View commit details
    Browse the repository at this point in the history
  2. Remove unused variables

    LibretroAdmin committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    e168696 View commit details
    Browse the repository at this point in the history
  3. Remove pcx_t

    LibretroAdmin committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    8a3b554 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d94cd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cfe5014 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a8ea1e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a273599 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2022

  1. * Use fill_pathname_join where possible instead of snprintf

    * Use strlcpy where possible instead of snprintf
    * Get rid of 'bad CDRIP'warning whenever an audio track cannot be found
    LibretroAdmin committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    e04da40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10a70d6 View commit details
    Browse the repository at this point in the history
  3. Cleanups

    LibretroAdmin committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    9911d91 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    2169d02 View commit details
    Browse the repository at this point in the history
  2. General cleanups

    LibretroAdmin committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    1947981 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

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