JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 614 forks source link

SDL Asserts #715

Open mrwonko opened 9 years ago

mrwonko commented 9 years ago

SDL has some clever assertion code; we should probably use that outside the dedicated code.

Razish commented 9 years ago

Definitely, I was about to suggest this =P

mrwonko commented 9 years ago

Although this would not work in the libraries, just the client, since only that is linked to SDL?

mrwonko commented 8 years ago

I believe SDLTest is actually a separate static library, so we could conceivably link to that everywhere.

ensiform commented 8 years ago

Unfortunately SDL is not used everywhere. It's not included at all in the dedicated server.

mrwonko commented 8 years ago

Yeah, but I'm saying it could be - the assert sublibrary at least.

ensiform commented 8 years ago

No because we don't want to force servers to have to require SDL at all.

mrwonko commented 8 years ago

It's just a compile time dependency though, a static library. No dll required.