niffiwan
c5bddac8fb
Merge pull request #43 from niffiwan/cpp11_mk2
...
Cpp11 support for GCC
2015-04-30 14:36:20 +10:00
The_E
9284264885
Patch to add MSVC2015 support. Also fixes a few warnings its compiler threw.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11292 387891d4-d844-0410-90c0-e4c51a9137d3
2015-03-29 11:05:02 +10:00
niffiwan
d1aa2e1c37
Set 1024x768 32bit as default res on *nix
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11153 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-24 19:06:22 +10:00
Goober5000
1318ccfa91
wut? defaulting to NULL here will cause these to never log anything...
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11135 387891d4-d844-0410-90c0-e4c51a9137d3
2014-10-13 18:23:38 +10:00
Echelon9
05991a9fbf
Address Coverity 1107318 Logically dead code in outwnd_print(), check for NULL id has already occurred
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10809 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-14 20:29:36 +10:00
m_m
08dad5b3af
Add -no_unfocused_pause option.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10463 387891d4-d844-0410-90c0-e4c51a9137d3
2014-02-23 13:41:01 +10:00
niffiwan
359a98410a
Add compile time catch for memset used on non-trivial objects
...
Fix one instance of this problem in osapi/outwnd_unix.cpp
2013-12-16 19:44:23 +10:00
Goober5000
551ba6ba1a
ugh, neither the constructor nor the memsets are actually needed here
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10076 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-17 20:24:42 +10:00
Echelon9
8009d34928
Webui: support writing to fs2_standalone.log on Unix or Mac OS X when running a standalone server
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10043 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:59 +10:00
Echelon9
e7cbe63a08
Resovle a few const char build errors for non-Windows platforms
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9815 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:35 +10:00
Goober5000
4bd10888ff
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:34 +10:00
Echelon9
9fc2a7c908
GCC: warning: converting to non-pointer type 'char' from NULL
2012-05-17 17:36:55 +00:00
Goober5000
9683410dbb
const-correctness and SCP_string which is useful for sexp string conversion
2012-03-08 06:46:25 +00:00
The_E
a95b79c879
Fix for Mantis 2603: Fullscreen_window window not centered.
2012-02-10 18:45:06 +00:00
Echelon9
dc4371680a
Clear a whole set of LLVM warnings - some of these would have caused memory fubars, so should marginally improve stability
2012-01-15 08:08:15 +00:00
Zacam
a63dbe572c
Part Two: Synchronization pass of Trunk and Antipodes Differences.
...
Removes all extraneous ifdefs (Demo, E3, Multi Beta, etc).
Leaves Debug and Inferno.
2011-09-09 10:23:53 +00:00
Zacam
d15c9259cd
Standalone execution now creates it's own log file (fs2_standalone.log)
2011-06-21 19:23:56 +00:00
Echelon9
08eeeedff3
A further two spots where the MSVC 2008 compiler doesn't like SAFE_STRINGS changes
2010-12-20 07:50:23 +00:00
Echelon9
eb129200a1
Fix: Convert a further subset of strcpy() to the SAFE_STRINGS strcpy_s() version
2010-12-20 04:28:01 +00:00
Echelon9
c66a0b8e05
Fix Mantis 2156: Crash within outwnd_printf2(char*, ...) on non-Windows platforms
2010-03-20 00:20:47 +00:00
portej05
54f63a1357
Running as standalone no longer disables windows key (Mantis #2047 )
2009-12-03 07:01:48 +00:00
portej05
35aaf68496
FRED Learns to write in its own log file!
2009-11-14 04:11:16 +00:00
portej05
983d9cb94a
Fixup debug_int3 (until a better solution can be found)
2009-10-06 10:53:08 +00:00
portej05
be79cb4991
_asm int 3; replaced with DebugBreak for MSVC users
2009-09-10 15:49:56 +00:00
portej05
49ce1e23a5
Fullscreen window request from QuantumDelta
2009-09-07 11:39:32 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
Echelon9
7af7b91b56
Another instance of std::vector, converted to SCP_vector
2009-07-12 09:36:31 +00:00
portej05
6a8d45c93d
Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
...
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
portej05
85eab173d2
Removed more memset(this ... ) statements.
2009-07-04 14:48:16 +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
a4e623db23
Portej05's preFAST warning fixes.
2009-05-17 11:50:48 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
phreak
4524583f06
Disable the mouse when lost focus in windowed mode.
2008-10-02 00:57:10 +00:00
phreak
666cbd4bc5
Get rid of windows system ding sound when pressing ALT and another key while windowed mode is active.
2008-10-01 05:36:40 +00:00
WMCoolmon
ddf75fc7e0
Final scripting, camera code updates.
2008-08-30 11:05:48 +00:00
phreak
97951efa9d
Fix alt-tab and FS2 trying to regain focus.
2008-08-20 04:22:39 +00:00
taylor
9231692e48
basic commit of a few Xt tree changes
...
- updated OpenGL code (basic shader support, etc.)
- new ships lab code
- scripting RTT fixes
- don't let FRED hog CPU time
2008-07-16 02:49:19 +00:00
taylor
992c740722
try to deal with processor affinity automatically (defaulting to CPU #2 , and with registry setting override)
2008-03-20 18:41:23 +00:00
wmcoolmon
42481ce816
Various minor sign/casting fixes
2007-11-24 04:33:50 +00:00
taylor
aa157a007a
always return the default value of osreg isn't initted yet
2007-10-28 16:42:54 +00:00
Goober5000
14ba56bbe3
re-add the code to disable the Windows key... this time, without slowing the system to a crawl when FSO is in the background
2007-09-03 22:19:56 +00:00
Kazan
5093020316
Autopilot updates, minor misc fixes, working MSVC2005 project files
2007-07-23 16:08:36 +00:00
taylor
c4133d937d
add session open/close times to debug log
2007-05-11 03:16:01 +00:00
taylor
96c1fc5df2
some minor performance improvements
...
remove NO_SOUND
2007-02-11 09:39:09 +00:00
taylor
5a98942190
fix a mouse button issue (just an issue with newer SDL versions?)
2007-02-10 00:12:35 +00:00
taylor
45bfd0964b
remove now-dead code
2006-12-07 18:04:42 +00:00
taylor
a2d4bac2d2
clean up warning code for Windows
...
handle messagebox popups better (until I done with even cooler code for handling that)
cleanup window state code a bit, and deal with activation and cursor handling better
handle WM_ERASEBKGND msg ourselves, prevents some flickering issues and gets rid of the need to self-paint the window to clear it
slightly better Win9x/WinME compatibility for the main window
2006-12-07 18:04:03 +00:00
taylor
d1ee1f55b7
updated outwnd code for both Windows and non-Windows:
...
- make print filters dynamic
- fix various little bugs and issues
- cleanup some non-used variables (non-Windows)
- put everything under NDEBUG like it was, or should be
- change to using data/fs2_open.log for log file (Windows)
- change to using data/debug_filter.cfg (Windows)
- make the extra debug window optional, and disabled by default (Windows)
- fix some possible NULL references
- clean up the SAFEPOINT() crap
2006-11-15 00:54:33 +00:00
taylor
bb12f929d7
new window creation code for Windows (gets rid of some stupid :V: voodoo for the software/glide stuff)
...
use detect_home() on Windows too (needed for now outwnd code)
some bits of minor cleanup
2006-11-15 00:44:44 +00:00
taylor
e53cf0b18d
grrr ... fix dos EOL chars
2006-10-27 06:44:35 +00:00