- Apr 02, 2015
-
-
Eidolon authored
This breaks stencil buffer clipping, transparent flats, the whole nine yards. Unfortunately, this is about as far as I will be taking this approach to cleaning up OpenGL. It's unfortunate, but this renderer is basically unsalvagable. I will have to rewrite it completely from scratch to get what I want out of this.
-
- Apr 01, 2015
-
-
Eidolon authored
Might as well leverage an existing data structure, right? AA trees use numbers as keys and we can iterate through them in order. I'm surprised this was in the codebase!
-
Eidolon authored
Re-synchronize with master for build system changes.
-
Eidolon authored
-
Eidolon authored
This will be used for the vertex array buckets when building the render lists for each FSurfaceInfo being used by the hardware renderer. Generally, we will replace DrawPolygon calls with operations to fill these resizeable arrays, one for each FSurfaceInfo. After the initial BSP node draw call, we will go through the buckets calling DrawPolygon on each one.
-
- Mar 25, 2015
-
-
Eidolon authored
Closes STJr/SRB2!4.
-
Eidolon authored
Core code has too many #define dependencies on interface-specific defines. This means that it's currently not possible to safely separate the core and interface code into different contexts. The core code should be refactored to accomadate for this because we should not have any interface-specific code in core in the first place. This reverts the static library SRB2Core from a7135094 and instead adds the core sources to the SRB2SDL2 target directly. So frustrating...
-
- Mar 09, 2015
-
-
Eidolon authored
This is an artifact of the last commit that I was using because I had misunderstood the meaning of the stride argument for the array pointers.
-
Eidolon authored
This should introduce a minor performance boost for slow CPUs in OpenGL mode. If it doesn't, it shouldn't be any slower. It also puts us a little closer to supporting GLES as well. This introduces several new pgl function pointers that are from GL 1.1. I do not check for their existence because no driver out in the wild in active use doesn't support 1.1.
-
Eidolon authored
Synchronizing new CMake improvements with OpenGL cleanup branch for ease of development.
-
- Mar 08, 2015
-
-
Eidolon authored
In-source builds are pain and suffering and I am going to stop people from doing them to save them that pain.
-
Eidolon authored
It still won't compile correctly. But this should avoid the error messages related to it.
-
Eidolon authored
This fixes generation with USEASM enabled.
-
Eidolon authored
Core and SDL2 are two separate targets now. Core is a static library that is linked into SRB2SDL2. The sources for both are separated. When using an IDE like Visual Studio or Xcode, the source code organized into groups that explain what that group of sources does. In the future, "Main" could be split into a few more groups based on file prefixes, but I think the way it is set up works for now. Makefile targets are not affected by source_groups and typing `make` will automatically compile both the "Core" library and SRB2SDL2 itself.
-
Eidolon authored
All the effort I've made to research into what exactly this is has been moot. Since we really only need to target GLES and GL, we should just worry about supporting those. Our public builds don't rely on this at all. This helps readability in the OpenGL code.
-
Eidolon authored
Honestly, under no circumstances when GL is compiled into the game should the PostImgRedraw not be available. Removing this helps make the GL code slightly more readable.
-
Eidolon authored
The rationale for this is that MiniGL hasn't been relevant for 17 years or longer. Removing it helps cleanup this horrifying section of the codebase. This possibly breaks upscaling in fullscreen in OpenGL mode.
-
- Mar 05, 2015
- Feb 06, 2015
-
-
Alam Ed Arias authored
-
- Feb 05, 2015
-
-
Alam Ed Arias authored
-
Alam Ed Arias authored
-
Alam Ed Arias authored
-
Alam Ed Arias authored
-
Ronald Kinard authored
-
Ronald Kinard authored
-
- Feb 02, 2015
-
-
Alam Ed Arias authored
-
Alam Ed Arias authored
-
Alam Ed Arias authored
-
Eidolon authored
Only when actually making the debug target though!
-
Eidolon authored
Tested to work on MSVC, mingw-gcc
-
Eidolon authored
Enables ASM-NASM and adds tmap*.nas to sdl target. No idea if this actually works.
-
Eidolon authored
snprintf is now available in MSVC 2015!
-
- Feb 01, 2015
-
-
Eidolon authored
this is done as a POST_BUILD step
-
- Jan 29, 2015
- Jan 28, 2015
-
-
Eidolon authored
string.c, capitalization, find fixes
-
- Jan 29, 2015
-
-
Eidolon authored
-