BLAM-Lab-Projects / experiment-code

Note: As of June 2017, AW is no longer supporting this version of the code. Recommended switching over to the SDL2 repository.
0 stars 0 forks source link

SDL upgrade #11

Closed awong26 closed 7 years ago

awong26 commented 7 years ago

We should upgrade SDL from 1.2 to 2. This requires more than simply swapping out the SDL folder, so it will take some work. However, SDL 2.0 provides some important advantages (e.g., it improves graphics handing and allows for digitizing tablet inputs).

https://wiki.libsdl.org/MigrationGuide

https://www.libsdl.org/download-2.0.php

aforren1 commented 7 years ago

We could include something like https://github.com/spurious/SDL-mirror as a submodule. To do that, call

git submodule add https://github.com/spurious/SDL-mirror

in the top-level directory, and after cloning,

git submodule init
git submodule update

or (identically):

git clone --recursive https://github.com/blam-lab-projects/experiment-code

To update the submodule, something like

git submodule update --remote --merge

This makes it somewhat easier to keep up-to-date (at least from a certain point of view), or roll to a specific version if necessary. (ref https://git-scm.com/book/en/v2/Git-Tools-Submodules)

awong26 commented 7 years ago

Please note, the SDL2 upgrade will take place in a separate repository.