niffiwan
c5bddac8fb
Merge pull request #43 from niffiwan/cpp11_mk2
...
Cpp11 support for GCC
2015-04-30 14:36:20 +10:00
z64555
8d5fbab768
z64555's debug console. Take 2. Includes changes to most (not Xcode) project files to include the added files of r10621
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10622 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:37 +10:00
The_E
98355da7d5
Revert 10619: Missing files
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10620 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
z64555
2b2ba832f8
z64555's debug console.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10619 387891d4-d844-0410-90c0-e4c51a9137d3
2014-05-08 19:18:36 +10:00
niffiwan
1acfc1c326
Allow gcc on Linux to compile with -std=c++11
...
Tested with 4.6.3, 4.7.2 & 4.8.0
2013-12-16 19:37:02 +10:00
chief1983
22cfa72250
One more Solaris tweak. No malloc_size or malloc_usable_size on Sun kit. Still can't get it to link though.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9949 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-27 13:51:48 +10:00
Zacam
8959ecdc07
Follow up to r9536: re-instate -no_warn, but put it behind a compiler level #ifdef flag to enable the ability to use it. And if you don't know how to do that, you have no business using it.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9539 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:46 +10:00
The_E
129d02eb0d
Removing the -nowarn commandline argument. The encouragement of bad habits is a serious bug.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9536 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-18 20:24:45 +10:00
Zacam
0502b4d648
Revert of 9410. Apparently not ready for prime time, what with older compilers that don't seem to understand C++0x types (and complaints about upgrades to enable it), and it apparently (under said compilers) isn't any faster than stdext::hash_set anyway.
2012-12-10 08:23:19 +00:00
Zacam
5f998ff345
Mantis 2746: Fix for geometry batcher, from Valathil. Update for Mac by Echelon9.
2012-12-09 02:59:02 +00:00
chief1983
9f4f3dfd2c
More tweaks for FreeBSD support, and cleanup of configure.ac. Slightly experimental.
2012-11-02 19:36:53 +00:00
Echelon9
fa671f18fc
Remove some unused variables
2012-09-06 15:51:52 +00:00
niffiwan
3c14c37fde
Replace RamTable memory management with something a bit faster
2012-08-21 10:32:05 +00:00
Zacam
81bf3cec47
Reverts commits 6681, 6683 and 6684. Adds C4101 Warning suppression for Release Builds (only) so that "catch" doesn't cause an unreferenced parameter warning.
2010-12-13 05:51:49 +00:00
chief1983
4ccadf51fe
This should fix a OS X 10.5 crash, possibly others.
2010-10-29 19:09:26 +00:00
Zacam
4465400d13
Add a description to config.h as to what 4290 is. (Thanks Goober for catching that)
2010-09-22 22:59:06 +00:00
Zacam
bdcb906c6c
Adding 4290 to the pragma warning(disable:) list for easier testing of some code changes.
2010-09-22 21:13:10 +00:00
Goober5000
ef46114a12
disable the warning about Assertion since it clutters the build output
2010-09-03 21:44:54 +00:00
taylor
b287ecfef9
new sound code
...
- Mantis #58
- Mantis #1769
- many other fixes and improvements
2010-05-29 15:53:18 +00:00
chief1983
e702ce2267
Quick fix for the WarningEx breakage on *nix
2010-05-05 16:47:12 +00:00
karajorma
de0c889d10
Fix compilation under OSX and Linux with WarningEx
2010-05-04 12:34:05 +00:00
portej05
057ef78c09
Fix to make the stubs error function have a const parameter
2009-09-12 14:43:11 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
karajorma
0cb0206db2
Add the Assertion Macro as an alternative to Assert.
...
Switch a couple of Asserts to Assertions.
2009-05-10 08:53:57 +00:00
Goober5000
47060c5c9b
add warning system for mods with bad data files
2009-04-08 04:58:12 +00:00
taylor
1062040fbf
output warnings, errors and asserts to debug log for Linux/OSX
...
allow -no_warn to skip asserts like it does on Windows builds (for consistent behavior)
2008-10-23 13:23:45 +00:00
taylor
fcb28b51f1
better error handling for when TCP socket is already in use (Mantis #1626 )
...
fix missing protocol XSTR that used the wrong tstring for display
2008-10-05 01:17:45 +00:00
taylor
88693b7388
fix various compiler warnings
2008-03-29 06:30:20 +00:00
taylor
2fa6101b3d
change WSAEWOULDBLOCK to EINPROGRESS since that is what we were actually looking for on non-Windows
2008-03-20 18:03:58 +00:00
taylor
c2743d6dad
bump size of error text buffer
...
slightly better Lua error reporting
2008-03-20 18:02:51 +00:00
taylor
308251a595
bump the buffer size used for Warning() and Error() messages
2007-10-28 16:46:36 +00:00
taylor
3768baeb3f
change Warning() and Error() to use const format variables (can't remember who said to do this)
...
fix memory error when zero'ing buffers for error messages on non-Windows platforms
2007-10-17 21:03:06 +00:00
taylor
54eba36be6
sometimes the thread header needs to be specifically included since SDL.h doesn't always do it
2007-10-17 20:59:30 +00:00
taylor
c5235c6428
FS2NetD v.2 (still a work in progress, but is ~98% complete)
2007-10-15 06:43:23 +00:00
taylor
640aa62261
get rid of non-standard itoa(), make use of the proper sprintf() instead
2007-02-12 00:23:40 +00:00
Goober5000
620fba2f58
fix spelling... *twitch*
2006-12-28 22:47:16 +00:00
taylor
f41a100c3f
fix for new GCC versions (Fedora Core 6)
2006-12-07 18:26:48 +00:00
taylor
ece3570868
bah! stupid.
2006-09-13 03:50:07 +00:00
taylor
f09c7e2d03
fix things that strict compiling balked at (from compiling with -ansi and -pedantic)
2006-09-08 06:14:44 +00:00
taylor
a68a01c9e6
clean out some crap that we don't really need
2006-08-19 04:32:11 +00:00
taylor
275c656fd7
remove non-Windows timeSetEvent() functions
...
make PDWORD and LPDWORD int instead of long (64-bit issue) (thanks Spike)
fix 64-bit ptr issue with OpenAL audio streaming code (thanks Spike)
add start of device enumberation for OpenAL 1.1 (it just lists available devices now)
make sure we open the default OpenAL 1.1 device under Windows
comment out blank listener stuff, this may have been crashing under OS X
add support for AL_BYTE_OFFSET in OpenAL 1.1 for buffer positioning under Windows
2006-05-27 16:39:40 +00:00
taylor
7a8789e334
OpenGL envmap support
...
newer OpenGL extension support
add GL_ARB_texture_rectangle support for non-power-of-2 textures as interface graphics
add cubemap reading and writing support to DDS loader
fix bug in DDS loader that made compressed images with mipmaps use more memory than they really required
add support for a default envmap named "cubemap.dds"
new mission flag "$Environment Map:" to use a pre-existing envmap
minor cleanup of compiler warning messages
get rid of wasteful math from gr_set_proj_matrix()
remove extra gr_set_*_matrix() calls from starfield.cpp as there was no longer a reason for them to be there
clean up bmpman flags in reguards to cubemaps and render targets
disable D3D envmap code until it can be upgraded to current level of code
remove bumpmap code from OpenGL stuff (sorry but it was getting in the way, if it was more than copy-paste it would be worth keeping)
replace gluPerspective() call with glFrustum() call, it's a lot less math this way and saves the extra function call
2006-05-13 07:29:52 +00:00
taylor
cebae27cfd
probably doesn't need to be world readable, but certainly doesn't need to be world writeable
...
add Assert() to can when we are stupidly trying to allocate 0 or less size bytes in vm_malloc()
2006-04-16 05:24:16 +00:00
taylor
a4a6211dc1
bump error msg buffer size a little (I'll probably just go dynamic with this since you hopefully won't get this too much anyway)
2006-03-15 17:32:13 +00:00
taylor
2625427c4d
remove asm from MulDiv() since Intel Mac doesn't like it very much, and it doesn't do exactly what it should anyway
2006-03-08 05:22:14 +00:00
taylor
155a7f4f21
remove USE_LUA
2006-01-31 15:44:55 +00:00
Goober5000
64e86452d0
pare down the pragmas some more
...
--Goober5000
2006-01-26 03:23:30 +00:00
taylor
922be10b2d
fix for LuaError change, *again* ;)
2006-01-21 00:11:51 +00:00
Goober5000
bc18d2fcff
hopefully fix the Microsoft warnings
...
--Goober5000
2006-01-20 06:24:01 +00:00
taylor
4a3a186273
move SDL autoconf checks up so we get the defines earlier
...
fix some Lua build problems on Linux (enabled by default now, but with configure option)
newline fixage
comment fixage
2006-01-13 14:19:34 +00:00