Code refactoring to turn portal struct into a more generalized shape.
Split portal-related code to its own source files. Most of the 2-line-specific setup has been moved to the function which adds a 2-line case. The portals should render as they used to so far, anyway.
Showing
- src/CMakeLists.txt 2 additions, 0 deletionssrc/CMakeLists.txt
- src/Makefile 1 addition, 0 deletionssrc/Makefile
- src/r_bsp.c 1 addition, 2 deletionssrc/r_bsp.c
- src/r_bsp.h 0 additions, 1 deletionsrc/r_bsp.h
- src/r_main.c 31 additions, 139 deletionssrc/r_main.c
- src/r_plane.c 0 additions, 44 deletionssrc/r_plane.c
- src/r_plane.h 0 additions, 2 deletionssrc/r_plane.h
- src/r_portal.c 187 additions, 0 deletionssrc/r_portal.c
- src/r_portal.h 49 additions, 0 deletionssrc/r_portal.h
- src/r_things.c 2 additions, 2 deletionssrc/r_things.c
Loading
Please register or sign in to comment