b291fafadb
Replace '_' with '-' when passing names through the GUI JS interface (so that object.cell_id is equivalent to object["cell-id"])
...
This was SVN commit r1526.
2004-12-18 14:24:50 +00:00
ba0ebd6644
Renamed icon-size/icon-id to cell-size/cell-id, and allowed cell-id to be used in <icon>s.
...
Added <effect>s to sprites/images - currently multiply-color and
add-color, though they're far from perfect.
This was SVN commit r1525.
2004-12-18 13:32:00 +00:00
6526301cfe
GUI icon-sheets
...
This was SVN commit r1519.
2004-12-17 16:20:08 +00:00
8f4f8e240f
Fixed things that use a colour rather than a texture (e.g. the progress bars). Also fixed the completely broken 'caching' system that recalculated everything every single frame. Also made it give linker errors if I ever make that mistake again.
...
This was SVN commit r1518.
2004-12-17 00:05:37 +00:00
b534e640ca
Resource leak fixes
...
This was SVN commit r1513.
2004-12-16 12:01:47 +00:00
855c00f6b8
Slightly tidied some small things
...
This was SVN commit r1510.
2004-12-16 00:47:12 +00:00
c19f3608a5
Initial changes to GUI sprite code. (There shouldn't be any visible effects - if there are, they're bugs)
...
This was SVN commit r1507.
2004-12-15 21:24:46 +00:00
80b1876b77
Reduced GUI's exception usage (=> shortened debug-mode start time by a couple of seconds)
...
This was SVN commit r1494.
2004-12-13 12:07:12 +00:00
6d7d049d89
Attempted to minimise dependencies between header files (to make compilation minorly faster)
...
This was SVN commit r1490.
2004-12-12 19:43:55 +00:00
6a04509455
Fixed Release-mode compilation
...
This was SVN commit r1478.
2004-12-09 16:09:58 +00:00
e2062ccee1
Faster parsing
...
This was SVN commit r1477.
2004-12-08 18:15:39 +00:00
a2a6f29ab3
s/Prometheus/Pyrogenesis/
...
This was SVN commit r1459.
2004-12-05 21:56:09 +00:00
ffb5f87857
Corrected mesh manager's use of hashmap. Added CStrW support to JS/GUI interface. Added error checking to CStr::Left/Right to make bugs more obvious.
...
This was SVN commit r1456.
2004-12-05 18:26:43 +00:00
453c8c68af
Fixed warnings
...
This was SVN commit r1445.
2004-12-02 17:17:38 +00:00
MarkT
f930bf1df4
Added semi-intelligent text parser for XMLs - so that numeric properties on entities are no longer stored as strings instead.
...
This was SVN commit r1409.
2004-11-27 20:02:51 +00:00
Gee
0adc8f6ca2
Unfinished Input box.
...
This was SVN commit r1394.
2004-11-24 23:39:52 +00:00
4af3eca831
Prefer compile-time errors to run-time errors
...
This was SVN commit r1311.
2004-11-14 18:52:22 +00:00
MarkT
793794649f
Combat code, some scripting, broken network, and fixed some bugs.
...
This was SVN commit r1301.
2004-11-11 07:09:32 +00:00
3136791492
Linux/GCC Compat(tm)
...
This was SVN commit r1284.
2004-11-07 21:30:47 +00:00
5ab0be984b
CStr alterations
...
This was SVN commit r1283.
2004-10-31 22:00:01 +00:00
5e42dad394
CStr alterations
...
This was SVN commit r1282.
2004-10-31 20:29:09 +00:00
0c95417dec
Avoid type warnings
...
This was SVN commit r1274.
2004-10-23 19:24:55 +00:00
MarkT
d33d2e4450
Added some support for user profiles
...
This was SVN commit r1270.
2004-10-23 14:39:28 +00:00
Calefaction
50dee130ae
Updated to properly support LOD bias settings in config. Fixes mipmap blurryness.
...
This was SVN commit r1254.
2004-10-17 21:01:00 +00:00
e31edf4fb4
Fixed mouse-wheel zooming
...
This was SVN commit r1253.
2004-10-17 10:55:57 +00:00
45ffe69f90
fix sign conversion bug (int -> size_t)
...
This was SVN commit r1241.
2004-10-15 13:42:13 +00:00
Gee
fd91563f42
Sorry! Totally forgot to add the CInput.cpp/h
...
This was SVN commit r1237.
2004-10-14 21:01:13 +00:00
Gee
f4b410ff82
A bunch of updates:
...
- Added *unfinished* control input.
- The GUI captures the events now, so that you can't press anything in
the game if the GUI is infront of it. The GUI needs some cleaning up
though.
- Made the type 'empty' unpressable, because all those "0 0 100% 100%"
empties were just like pieces of glass making the user unable to select
anything in the game.
- A bunch of other updates I made like weeks ago and never committed.
This was SVN commit r1234.
2004-10-14 10:09:26 +00:00
Gee
c4684effb6
Progress bar added, and an optional attribute for the [icon] tags in text.
...
You can now displace an icon using: "[icon="smiley" displace="2 -3"]
I may rename it from 'displace' to something else if someone gives me a
good suggestion.
This was SVN commit r1232.
2004-10-14 02:32:26 +00:00
Calefaction
5275dc862b
Initial mini-map check-in
...
This was SVN commit r1230.
2004-10-08 01:10:14 +00:00
df1b502bbd
Linux Compat and some updated PARANOIA code
...
This was SVN commit r1189.
2004-09-22 15:20:58 +00:00
167a077bc2
fix headers: ogl_tex.h is user-level texture stuff, tex.h is only the texture loader.
...
this came up due to header change - some unnecessary stuff isn't
included by default anymore.
This was SVN commit r1152.
2004-09-19 11:38:54 +00:00
03e3de50ed
When I said "Now fixed", I was wrong. But it's fixed now.
...
This was SVN commit r1140.
2004-09-06 12:54:35 +00:00
806dea648c
Er... broke stuff. Now fixed.
...
This was SVN commit r1138.
2004-09-06 11:37:15 +00:00
e532b59ead
Utilised the corrected CStr8/W conversion
...
This was SVN commit r1137.
2004-09-06 11:35:42 +00:00
a9d7f0dae8
Fixed minor bug when displaying text containing a "%". Used LOG_ONCE to avoid continuous error logging. Removed redundant Trim (Xeromyces always trims element text)
...
This was SVN commit r1136.
2004-09-06 11:34:46 +00:00
7008e5b53c
Updated to handle Unicode strings
...
This was SVN commit r1135.
2004-09-06 11:28:30 +00:00
Gee
071bb19282
no message
...
This was SVN commit r1128.
2004-09-06 03:05:36 +00:00
Gee
da465ae1dc
Made a little change only to make it compile, hopefully it won't do too much damage until Philip can correct this.
...
This was SVN commit r1126.
2004-09-06 02:22:38 +00:00
Gee
9133042540
GUI: Translates and outputs localised string in Unicode... hooray!
...
This was SVN commit r1125.
2004-09-06 02:21:21 +00:00
3b15f3f1e4
Text alignment alterations
...
This was SVN commit r1119.
2004-09-04 20:35:12 +00:00
933f51d48b
Made text always be placed at integer positions, to avoid it looking too ugly
...
This was SVN commit r1118.
2004-09-04 19:05:25 +00:00
3ef7b1b67b
Corrected JS_AddRoot usage (it wants a JSObject**/JSString**/jsval*/etc)
...
This was SVN commit r1116.
2004-09-04 14:43:23 +00:00
51e20e6ef6
Realised that there's no need to store the JSObject* as a void*
...
This was SVN commit r1115.
2004-09-04 14:40:06 +00:00
c164d9b32c
Made buffer-zone consistently a float
...
This was SVN commit r1114.
2004-09-03 21:37:39 +00:00
9b1127d82f
Type checking in dangerous pointer-using code
...
This was SVN commit r1113.
2004-09-03 21:25:39 +00:00
c0342b1ff7
JS GUI interface changes to handle floating-point sizes, plus a few fewer bugs
...
This was SVN commit r1111.
2004-09-03 14:12:43 +00:00
Gee
d42de50280
Updated everything that's related to screen position to use floats
...
This was SVN commit r1107.
2004-09-03 05:48:47 +00:00
Gee
ab63c17678
no message
...
This was SVN commit r1106.
2004-09-02 19:35:07 +00:00
Gee
6b384432e0
no message
...
This was SVN commit r1101.
2004-09-02 03:05:16 +00:00