janwas
4663ac0fe7
split debug_assert into ENSURE and ASSERT as discussed in a previous meeting.
...
the old debug_assert always ran and tested the expression, which slows
down release builds. wrapping them in #ifndef NDEBUG is clumsy. the new
ASSERT behaves like assert and ENSURE like the old debug_assert. Let's
change any time-critical but not-super-important ENSURE to ASSERT to
speed up release builds. (already done in bits.h and unique_range.h)
This was SVN commit r9362.
2011-04-30 13:01:45 +00:00
Ykkrosh
8c1deecdbe
C++0x compatibility (fix narrowing conversions in initialisers; avoid ambiguity with std::next)
...
This was SVN commit r7739.
2010-07-11 22:40:17 +00:00
Ykkrosh
3334c83ce0
Fix build and tests on Linux
...
This was SVN commit r7174.
2009-11-06 18:35:32 +00:00
janwas
8a52113e60
huge cleanup and conversion of most string handling (especially paths) to unicode
...
please note: format strings must be %hs for char* arguments and %ls for
wchar_t*
This was SVN commit r7161.
2009-11-03 21:46:35 +00:00
Ykkrosh
a56bd4b2c1
Add GPL header to Atlas code
...
This was SVN commit r6910.
2009-06-20 16:13:29 +00:00
Ykkrosh
835003d525
# Fixes for GCC
...
Renamed 'not' to 'negated', since 'not' is special in C++. Added some
includes, etc.
This was SVN commit r4665.
2006-11-29 23:37:10 +00:00
olsner
db045c330b
# Made Atlas compile on linux
...
graphics: basic terrain passibility
atlas: lots of changes to make atlas compile under linux
unix/X: more clipboard support - copy from 0AD to other programs
unix/debug: use sys_get_executable_name instead of hard-coded paths
... and lots of other misc. changes
This was SVN commit r4640.
2006-11-12 04:02:36 +00:00
Ykkrosh
a2432adad3
# GCC 4.1.1 compatibility
...
which is just "class C { void C::f(); }" code, which other compilers
seem to have ignored.
Also removed HAVE_PCH from GCC because our build system doesn't have
PCH. Added necessary headers to make it compile again.
This was SVN commit r4437.
2006-09-30 15:46:40 +00:00
Ykkrosh
9e74e3a077
# Atlas updates: better unit ownership control; fixed bottom-bar display; fixed iterator problem in undo; renamed 'd' to 'msg' for consistency
...
This was SVN commit r3836.
2006-05-04 02:44:03 +00:00
Ykkrosh
3d26549032
Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings)
...
This was SVN commit r3802.
2006-04-23 23:14:18 +00:00
Ykkrosh
c81df59294
# Include headers for compilation without PCH
...
This was SVN commit r3774.
2006-04-19 05:30:02 +00:00
Ykkrosh
12b8dd2d9b
Fixed warning when exiting from non-Atlas game
...
This was SVN commit r3211.
2005-12-08 20:25:17 +00:00
Ykkrosh
5250814397
Atlas: Fixed entities-don't-move-when-terrain-is-altered. Unbroke and fixed entity memory management. Added flatten tool. Added object movement/rotation/deletion tool - but not yet finished, since 'redo' usually crashes (for known reasons).
...
This was SVN commit r3207.
2005-12-08 02:50:55 +00:00
Ykkrosh
bbda296289
TerrainProperties: Use CTerrainPropertiesPtr (boost::shared_ptr) instead of CTerrainProperties*, to fix (slightly inelegantly) memory leaks.
...
Renderer: Initialise pointers when HW lighting is unavailable.
Atlas: Avoid strange VS2005 iterator complaint.
This was SVN commit r3036.
2005-10-28 01:43:16 +00:00
Ykkrosh
ccb813119e
Atlas: Slightly better undo system (with merging of 'continuous' commands)
...
This was SVN commit r2628.
2005-08-20 17:37:48 +00:00
Ykkrosh
5d62c3f3f7
Atlas: Simple undo system
...
This was SVN commit r2627.
2005-08-20 15:44:50 +00:00