Matei
5c4069f5e1
This was SVN commit r2689.
2005-09-08 01:34:24 +00:00
Matei
467b14e928
- Added stay-in-tile-class and border-tile-class constraints.
...
- Made objects snap to terrain (the game does this automatically for
entities but it was a problem with actors)
- Small enhancements to the RMS API
- New version of cantabrian_highlands
This was SVN commit r2688.
2005-09-08 01:20:51 +00:00
Matei
c428f510f6
This was SVN commit r2687.
2005-09-08 01:18:55 +00:00
Matei
4cc30aeb56
This was SVN commit r2684.
2005-09-07 02:24:13 +00:00
Matei
55107c69fe
This was SVN commit r2683.
2005-09-07 02:17:29 +00:00
Matei
8b467d6f2f
This was SVN commit r2681.
2005-09-06 22:54:41 +00:00
Matei
6b284a8b95
This was SVN commit r2680.
2005-09-06 22:47:26 +00:00
janwas
1a7d67a97f
dyn_array: efficient expandable array that doesn't waste mem or relocate itself. TODO: self test and dox
...
file: expose block size constant; always round user transfers up
tex: transform() now receives what to change, not what to achieve.
tex*: encoding works with DynArray+VFS backend
GameSetup: free g_BuildingPlacer to avoid mem leak.
fixed some warnings+bugs.
This was SVN commit r2679.
2005-09-06 22:44:48 +00:00
Matei
9dc8a71b15
Added health properties to BaseEntity so they work properly for Entity as well (on units that don't directly specify them).
...
This was SVN commit r2677.
2005-09-06 19:30:41 +00:00
Matei
5f2857b6b8
Modified health bar height on buildings and added default of -1.0 (which means don't display health bar) on all entities.
...
This was SVN commit r2676.
2005-09-06 19:29:31 +00:00
Matei
6f10e8c09c
Updated building placement cursor to make the object glow read and not be placeable if trying to place in an invalid area.
...
Also a small fix: made the selection bandbox not appear when the view is
being rotated using left+right drag (it doesn't make sense to show it
then).
This was SVN commit r2674.
2005-09-06 08:25:41 +00:00
Acumen
d867f0c5fc
box_height parameter for Matei.
...
This was SVN commit r2673.
2005-09-06 00:51:18 +00:00
Matei
11de356225
Improved building placer to show the actor that will be placed instead of the original white lines.
...
This was SVN commit r2671.
2005-09-05 23:44:21 +00:00
Matei
65e90614f2
Added hitpoint bars above selected and mouseovered units.
...
This was SVN commit r2669.
2005-09-05 21:45:26 +00:00
Matei
1af9aa074e
Added initial version of building placement cursor, which can be shown with the startPlacing(templateName) JS function.
...
Also activated depth test for selection outlines so they don't overlap
units.
This was SVN commit r2667.
2005-09-05 19:48:28 +00:00
Acumen
84a980a344
Reimplemented session GUI refresh loop, with unit portrait as test subject. Fixed some broken things.
...
This was SVN commit r2666.
2005-09-05 03:21:20 +00:00
janwas
7b144a11ca
ogl_tex: has to be aware of multitexturing because if hotloading a texture on TMU1, we have to re-bind it to that. done
...
waio: fix bug with SetErrorMode usage triggered by reading "The old new
thing" (Raymond Chen's blog)
This was SVN commit r2664.
2005-09-04 20:49:58 +00:00
janwas
819aca0f1c
work around flaw in some DDS headers (not setting alpha flag). this is critical because renderer/GUI code now uses TEX_ALPHA flag instead of just checking against all known GL formats containing alpha
...
This was SVN commit r2663.
2005-09-04 20:05:21 +00:00
janwas
c6215a1451
guirenderer: fix bug that was breaking the ScEd button in main menu. it was calling glEnable/glActiveTextureUnit before ogl_tex_bind, which is now also doing that.
...
self_test: added another note
wtime: fix evil bug - was casting FILETIME* to u64*, which has different
alignment guarantees.
This was SVN commit r2662.
2005-09-04 19:48:26 +00:00
Matei
c0c08bd851
This was SVN commit r2661.
2005-09-03 21:54:11 +00:00
Matei
b071585610
Added tile class and "avoid at distance" support to RMGen.
...
This was SVN commit r2659.
2005-09-03 21:53:07 +00:00
Acumen
436de9b0ff
Committing updated font with a bit of test text while experimenting with accented characters.
...
This was SVN commit r2658.
2005-09-03 21:00:43 +00:00
janwas
2b55945893
doc clarification as requested by Philip (thanks for feedback!)
...
This was SVN commit r2656.
2005-09-03 14:41:06 +00:00
janwas
f4c535a326
lib.cpp: forgot to use TEST (for self-test)
...
self_test: add dox (also to wiki)
tex_codecs: further work; renamed+reorg for clarity. separating codecs
from IO implementation
This was SVN commit r2654.
2005-09-02 18:38:25 +00:00
Wijitmaker
93313f61bf
no more changes!
...
This was SVN commit r2653.
2005-09-02 08:57:59 +00:00
Wijitmaker
6b0b64b0f9
roman roof again
...
This was SVN commit r2652.
2005-09-02 07:40:24 +00:00
janwas
50ea8c532c
- PathPackage now does CHECK_ERR. adjusted callers appropriately
...
- mem.h: export mem_assign (needed to wrap a mem buffer)
- use stricmp in some file extension comparisons
- wposix: properly sets last-error code when opendir fails
- also: misc comments
This was SVN commit r2650.
2005-09-02 03:03:06 +00:00
janwas
21709a5a7a
(as before, belonged in the previous batches)
...
This was SVN commit r2649.
2005-09-02 02:58:40 +00:00
janwas
71f7fccd12
split texture loader into codecs (greatly eases navigation)
...
tex.cpp now has loader API and codec support routines.
provide for codecs "transforming" the image; this allows e.g.
decompressing DDS, which is currently done in ogl code (but belongs
here)
This was SVN commit r2648.
2005-09-02 02:56:54 +00:00
janwas
9ec828f6fd
- both tex.cpp and ogl_tex.cpp had functions named tex_* - confusing. renamed to ogl_tex* to disambiguate.
...
- ogl_tex_bind now supports multitexturing (avoids need to get id and
then bind manually)
- provide nicer API for querying texture properties (no longer one big
getter). improved GUI determination of texture alpha.
- renderer: another see-if-texture-has-alpha and fixed alpha map code
(wasn't checking if all are same size. only worked because the first map
was larger than the rest
This was SVN commit r2647.
2005-09-02 02:54:02 +00:00
janwas
ed5041a301
some infrastructure for self-tests: gets rid of boilerplate code.
...
squelch debug asserts during self-tests to avoid warning about intended
errors (passing invalid data into functions to test their error
reporting)
This was SVN commit r2646.
2005-09-02 02:47:25 +00:00
Ykkrosh
3471df7788
Added vertical line thingy
...
This was SVN commit r2645.
2005-09-02 00:50:31 +00:00
Acumen
156fa094e9
Added placeholder milk cursor. Hoo yeah.
...
This was SVN commit r2644.
2005-09-01 22:46:00 +00:00
janwas
4d4437ded0
resize to 32x32 to match other alpha maps. necessary because CRenderer::LoadAlphaMaps now actually checks the size correctly
...
This was SVN commit r2643.
2005-09-01 18:14:35 +00:00
Wijitmaker
f02ebca5e5
another update to the roman texture
...
This was SVN commit r2642.
2005-09-01 08:40:13 +00:00
Wijitmaker
a21c9e83fe
texture tweaks
...
This was SVN commit r2641.
2005-09-01 08:02:12 +00:00
Wijitmaker
113cf0b7e5
more houses
...
This was SVN commit r2640.
2005-09-01 07:17:41 +00:00
Wijitmaker
486524b165
window change as requested by Michael
...
This was SVN commit r2639.
2005-09-01 03:35:07 +00:00
Wijitmaker
f46853e009
fixed normal on the house
...
This was SVN commit r2638.
2005-08-31 22:17:05 +00:00
Wijitmaker
80443f4030
preliminary roman stuff
...
This was SVN commit r2637.
2005-08-31 21:39:31 +00:00
Wijitmaker
a2f4213641
small tweak
...
This was SVN commit r2636.
2005-08-27 05:35:58 +00:00
Wijitmaker
49498c80d2
Texture update for player color, window, and door. Updated CC and Temple with recessed door, flipped the griffons, new fortress, fixed house C oddities
...
This was SVN commit r2635.
2005-08-27 05:23:37 +00:00
Acumen
3c58f50ff3
GUI-toggle feature for Michael (toggle with the G key), and fixed alignment of watermark.
...
This was SVN commit r2634.
2005-08-26 21:02:00 +00:00
Wijitmaker
a1f13c5976
Updated Greek buildings - and some tweaked maps
...
This was SVN commit r2633.
2005-08-26 04:55:34 +00:00
Acumen
79e8f21c6f
Although there's still a lot of glitches and random crashes, it should now theoretically be possible for clients to join a host's game.
...
Also profiles are now determined by the folders in the profiles/
directory (not that they actually do anything yet, AFAIK, but at least
the profile list isn't hardcoded).
This was SVN commit r2632.
2005-08-25 15:07:16 +00:00
Matei
43fda176cc
This was SVN commit r2631.
2005-08-22 03:27:15 +00:00
Matei
e46136fe96
This was SVN commit r2630.
2005-08-22 03:26:40 +00:00
Ykkrosh
1039e9f2a2
Atlas: Removed compile-time linking
...
This was SVN commit r2629.
2005-08-20 18:05:25 +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