Peter Wortmann
c0df3afedc
Material texture animation support
...
Use by having texmap entries of the form "Mat-Tex1-Tex2-...". Right
now the speed is hard-coded to one phase per second.
The general idea is that the 3D texture contains all texture
transitions somewhere in the form of two textures with neighbouring
3D coordinates. There's some room for optimization here, of which
the code exploits some. Being smart can be arbitrarily hard actually.
2011-08-20 01:25:08 +01:00
Armin Burgmeier
6c156a22a7
Implement mesh update on definition reload ( #76 )
2011-08-20 00:01:08 +02:00
Nicolas Hake
0d61cf0fe2
win32: Correctly recode strings to UTF-16 in editor mode ( #631 )
2011-08-19 22:03:03 +02:00
Tobias Zwick
4776c4a949
crlf...
2011-08-19 16:50:58 +02:00
Tobias Zwick
fa700f475f
zoom gui objects according to viewport resolution
...
at 1280px width of the viewport, the gui objects (C4D_Foreground, mouse cursor, selection marks etc) are shown at 100%.
At resolutions above that, too. At 640px width, those graphics are rendered at 50% of the size, the graphics are never
rendered smaller (which makes 640x480 the smallest reasonable resolution for one player / 1280x1024 for four players).
The text is not zoomed, also not zoomed are message windows (those with portraits), only their position is adapted
2011-08-19 16:49:09 +02:00
Tobias Zwick
9aaa6bd7bd
Merge
2011-08-19 15:21:41 +02:00
Tobias Zwick
78f2367865
fixed two int->bool conversion warnings
2011-08-19 15:07:18 +02:00
Tobias Zwick
b36304221d
preliminary: gui zoom dependent on resolution
2011-08-18 19:46:51 +02:00
Tobias Zwick
361d7fdfe5
more detailed crosshair graphic
2011-08-18 19:07:25 +02:00
Tobias Zwick
532cea1abe
removed Cursor graphics in different sizes
2011-08-18 19:06:49 +02:00
Nicolas Hake
fc194d62e1
msvc: Don't link release CRT in debug builds
...
This will prevent the linker from automatically linking to the release CRT
even if some library import libs suggest it.
2011-08-19 15:50:40 +02:00
Nicolas Hake
7f42bb088c
#624 : Control config dialogue: make tab invisible
2011-08-19 14:34:52 +02:00
Nicolas Hake
f11bf6f368
win32: only hook assertion handler when assertions are enabled
2011-08-19 12:53:48 +02:00
Armin Burgmeier
e9415252bc
Build fix
...
Apparently std::map::erase does not return an iterator for some STLs.
2011-08-18 00:17:43 +02:00
Armin Burgmeier
333f562721
Some compiler warning fixes
2011-08-17 23:55:24 +02:00
Armin Burgmeier
771163be4b
Correctly reload mesh materials on definition reload
...
This does not fix #76 yet, but it's a first step.
2011-08-17 23:50:33 +02:00
Armin Burgmeier
751ae18ae2
Store full source path in mesh materials
...
This enables more comprehensive error messages for mesh material related
errors
2011-08-17 20:49:16 +02:00
Nicolas Hake
d8f7a8ba01
mingw/w32-x86: Build fix
2011-08-15 02:27:47 +02:00
Nicolas Hake
bae1cf4718
mingw: Define CONTEXT_ALL for older MinGW versions
2011-08-15 01:09:58 +02:00
Nicolas Hake
c62190c693
win32: Define target windows version before including any MinGW header
2011-08-15 00:28:52 +02:00
Nicolas Hake
4e6f367c0a
win32: Log a stack trace on assertion failure
2011-08-14 21:17:39 +02:00
Tobias Zwick
785ee19825
fixed #620 (Loam bridges sometimes do not update the landscape texture properly)
2011-08-15 00:24:22 +02:00
Nicolas Hake
1b1b77c5a0
win32: Output wide module names/paths with %ls instead of %s
2011-08-14 21:16:12 +02:00
Sven Eberhardt
1a176a52b9
MSVC2010 fix: Use _filesize instead of filesize
...
silence a few warnings
2011-08-14 18:16:19 +02:00
Nicolas Hake
c4b9a0c8cf
win32: Add correct KnownFolder path to player picture selection dialog
2011-08-12 16:59:06 +02:00
Tobias Zwick
c2cefe2e4f
new control: collect (into backpack)
2011-08-11 16:37:46 +02:00
Nicolas Hake
0f4e6e8ccd
win32: Use wide variants of CRT file access APIs
2011-08-11 15:46:06 +02:00
Nicolas Hake
b2e83c3cb2
Replace raw CRT file access API calls with StdFile equivalents
2011-08-11 15:45:27 +02:00
Nicolas Hake
c5b92bba26
win32: Pass a wide filename to crash handler's CreateFile
2011-08-11 15:42:41 +02:00
Nicolas Hake
5f923b0b98
win32: Generate wide strings for OutputDebugString
2011-08-11 15:42:00 +02:00
Günther Brammer
5b46441e2a
win32: #define UNICODE
2011-04-03 15:48:36 +02:00
Günther Brammer
7edb33642f
win32: Use Unicode APIs for ExePath and TempPath
2011-04-02 22:50:54 +02:00
Günther Brammer
4d1238beb4
win32: Use Unicode APIs for File manipulation
2011-04-02 18:45:44 +02:00
Günther Brammer
3c557d34a4
win32: Use open+gzdopen instead of gzopen
...
In preparation for a utf-8 wrapper around open.
2011-06-19 17:38:27 +02:00
Sven Eberhardt
dcb7e4e54d
fix memory leak in binary mesh loader
2011-08-08 16:06:16 +02:00
Benjamin Herr
29aa76dd19
fix loading of scaled graphics again
2011-08-06 20:22:55 +02:00
Günther Brammer
5d1f210436
C4Group::FindNextEntry only writes in the result buffer finding a file ( #618 )
...
Before "Initialize some uninitialized variables", SCopy would do nothing
because the StdStrBug still contained the parameter, but with that patch,
it wrote the empty string into the result buffer.
2011-08-05 22:07:44 +02:00
Sven Eberhardt
8c4e08531e
fix loading of scaled graphics (Graphics.*.png)
2011-08-05 20:16:08 +02:00
Tobias Zwick
f025edb4a9
removed Portraits
...
+ CustomMessage now uses a normal picture of a definition/object
+ BigIcon is now the small (and only) "Portrait" the player chan choose
+ In future, one could of course make the max size of the BigIcon bigger
2011-08-05 14:58:16 +02:00
Tobias Zwick
a5a9e3b23a
new clonk-head graphics
2011-08-05 14:54:54 +02:00
Tobias Zwick
4a517e06b6
#394 - Separate graphic for "Mouse Over" for main-menu buttons and Icons
2011-08-05 14:24:41 +02:00
Tobias Zwick
3efedf1d5c
fix: new players were not copied to user path
2011-08-05 13:52:53 +02:00
Tobias Zwick
d2ecc0406a
fix "Rename failure" bug in StartupPlrSelDlg
2011-08-05 02:43:11 +02:00
Tobias Zwick
ccccbf9c9d
fix: Player file cannot be found for display/save of a BigIcon
2011-08-04 18:46:47 +02:00
Tobias Zwick
221aae1bf5
fixed some ridiculous formatting of consts
2011-08-04 01:30:37 +02:00
Günther Brammer
c4f16d42ce
Initialize some uninitialized variables
2011-07-18 02:12:37 +02:00
Günther Brammer
46ed387fef
CMake: Use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_CACHEFILE_DIR
...
For some reason, the latter is empty on the first CMake run.
2011-08-04 19:24:39 +02:00
Günther Brammer
d0010ecb0f
Fix c4script standalone with debugrec
2011-07-17 15:56:53 +02:00
Günther Brammer
ce8012f998
unix: Do not leak CStdNotifyProc fds
2011-06-27 01:51:05 +02:00
Peter Wortmann
fc5c0962af
CPU scaler case selection smarter in corner cases
...
Having the calculation in CPU actually allows us to perform more
clever checks. If we have three materials meeting at one point,
we can select one material and make sure that all others pick a
case that's at least consistent to the edge of that material. This
obviously means that the edges between the remaining materials
won't be scaled properly (essentially falling back to GPU scaling),
but that's less disruptive to the result than having the decisions
of neighbouring pixels in disagreement.
2011-08-03 23:55:24 +01:00