1
0
forked from 0ad/0ad
Commit Graph

2370 Commits

Author SHA1 Message Date
b63bc42245 TextureManager: stopped memory leaks
wsdl: create window at expected size, and retrieve correct mouse coords
CStr: not ISerializable (=> not virtual)
Game: less excessive complaining, since the original problem seems to be
fixed
Entity: fixed evaluation order
Others: minor comments/etc

This was SVN commit r2591.
2005-08-09 21:26:40 +00:00
78c751aff6 ogl: add oglSquelchError call. use that if you know a piece of code will trigger an error and want to suppress it (e.g. INVALID_ENUM after using GL_CLAMP_TO_EDGE although we've already warned the user that not everything may work)
file: now provides a much more efficient alternative to file_enum that
does not sort all files (this was a problem for check_if_oal_dll which
was scanning the entire system32 dir)

- use the same DirEnt struct for file and VFS due to clever name pointer
trick.
- wposix: avoid malloc for most opendir() and fix mmap() bugs (thanks to
Philip for noticing+reporting them)
- VFS: was getting too large to manage, now split into an additional
file
- WIP: much more efficient mounting; supports other mount sources than
file or zip (e.g. if we want to add network files); clean separation
between VFS submodules; dox; beginning of thread locking.

This was SVN commit r2589.
2005-08-09 16:32:23 +00:00
5299dcad86 - config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros
- debug: add provision for naming threads. allows adding current thread
name to log messages and displays their names in the debugger.
- replaced various if(err < 0) complain() sequences with new variants of
CHECK_ERR (see lib.h)
- fixes to mmgr/VC debug alloc enable code
- improved h_mgr error reporting (now complains when h_free fails)
- US -> UK english (partial)
- fix tex_load double-free bug
- move win32 mouse cursor code into sysdep
- error dialog is now topmost to make sure it's visible (was a problem)
- handle WM_QUIT before displaying error dialog (makes sure it's shown)

also as in previous 3 revisions.

This was SVN commit r2588.
2005-08-09 16:23:19 +00:00
620c65722f group all config-related code into CFG_ functions. also as in prev. 2 revisions
This was SVN commit r2587.
2005-08-09 16:03:36 +00:00
52ebd6ba11 scripting-interface improvements
- strict param count checks
- use ScriptingHost::RunMemScript instead of copy+pasted code
- replace duplicated parameter access code with macros

StringBuffer: use pointer instead of reference to allow
compiler-generated copy ctor
singleton: fix whitespace

This was SVN commit r2586.
2005-08-09 16:02:15 +00:00
a69ac0dee9 - fix w4 warnings
- add convenience macros for config_db(CFG_GET_SYS_VAL)
- VFSUtil::EnumDirEnts now uses flags instead of bool recursive
- UNUSED() for params, UNUSED2 (<- need better name) for variables
- config.h defines must be tested with #if (always defined) -> allows
detecting misspellings thanks to compiler warnings
- replace debug_assert(0) with debug_warn (its sole purpose)
- replace ScriptingHost::ValueToInt et al with ToPrimitive
- use nommgr.h to disable both mmgr and VC debug heap

This was SVN commit r2585.
2005-08-09 15:55:44 +00:00
630b375f4d ScEd updated for new terrain stuff, window styles for pyrogenesis in windowed mode changed to give a bordered movable window.
This was SVN commit r2583.
2005-08-08 03:59:50 +00:00
43baf6ada6 New terrain properties stuff, gcc compatability and updated unix debugging stuff
This was SVN commit r2582.
2005-08-07 22:00:16 +00:00
b3a9ed2886 New terrain properties stuff, gcc compatability and updated unix debugging stuff
This was SVN commit r2581.
2005-08-07 21:58:36 +00:00
7763ea6132 A little more client connection work.
This was SVN commit r2580.
2005-08-07 17:02:22 +00:00
76f3524190 Fixed FPS, which had stopped working (since it no longer recognised the mouse.x and mouse.y component of the string).
This was SVN commit r2579.
2005-08-07 14:51:55 +00:00
f1eeadb2c6 Realised I only uploaded the gui/ folder in my last submission. My bad. Thanks for mentioning it in the meeting, Jason.
This was SVN commit r2578.
2005-08-07 14:06:30 +00:00
pyrolink
2451e009d1 Added a line that had been somehow deleted and was causing errors.
This was SVN commit r2576.
2005-08-04 23:07:21 +00:00
pyrolink
7fb59c8471 Corrected the minimap's "interactive"/"warp" function so it works on all zooms and rotations.
This was SVN commit r2575.
2005-08-04 08:33:33 +00:00
3eaad81b7a MP adjustments ... Made Session Setup a generic screen that Host, Client and Skirmish all pipe through. Moved playername into a Profile dropdown so it's not hardwired into MP. Various issues, but at least it's set the foundation for Malte's work.
This was SVN commit r2574.
2005-08-03 02:47:09 +00:00
pyrolink
8ae90b6fdb Corrected the view rectangle for the minimap and added "interactivity" as well (click a point on the minimap, and the camera moves to that spot).
This was SVN commit r2572.
2005-07-31 23:54:19 +00:00
a9397e0888 Some experiments with audio controls in the options window. (Doesn't really work yet, though.)
This was SVN commit r2571.
2005-07-31 03:08:07 +00:00
bdd5fd8578 Pilot release of yet another revision of GUI coordinates. (In other words you can shift the minimap into any corner of the screen using Alt+G.)
This was SVN commit r2570.
2005-07-31 01:15:56 +00:00
dan
df536edb67 This was SVN commit r2569. 2005-07-30 21:21:36 +00:00
5b1d7b8c4b This was SVN commit r2568. 2005-07-30 21:07:02 +00:00
5cd416d82f This was SVN commit r2567. 2005-07-30 20:57:18 +00:00
e63d314f74 More miscellaneous and largely unnoticeable GUI stuff.
This was SVN commit r2566.
2005-07-30 20:25:38 +00:00
a04abf2967 Fail more quietly while loading
This was SVN commit r2565.
2005-07-30 20:12:41 +00:00
af3a188200 This was SVN commit r2564. 2005-07-30 19:22:16 +00:00
a18bb56add Recognise alpha-channel DDS files in GUI
This was SVN commit r2562.
2005-07-29 03:18:41 +00:00
4c7838970d Some UI changes
This was SVN commit r2561.
2005-07-28 19:57:38 +00:00
c3d42c1025 Fixed mmap bug, and GUI memory leak.
This was SVN commit r2560.
2005-07-28 17:39:27 +00:00
f4844681a1 Made the framework of options, history, and campaign screens, mostly just for the hell of it, and fixed various things. Can't do much with them, mind, but Rome wasn't burnt in a day (thank you, Mr Nero).
This was SVN commit r2559.
2005-07-28 02:36:48 +00:00
f9b9e46436 Updated Errors.cpp-generating program: stopped use of external DLL, added parameters and help and file/LOC count
This was SVN commit r2558.
2005-07-27 21:51:43 +00:00
bb65fdc105 Added Stuart's UI changes
This was SVN commit r2557.
2005-07-27 16:45:44 +00:00
d0516bc4a2 Added Stuart's UI changes
This was SVN commit r2555.
2005-07-27 15:43:48 +00:00
c72ec01a8c Added Stuart's UI changes
This was SVN commit r2554.
2005-07-27 15:38:03 +00:00
005f4621bd Undeleted UI folder
This was SVN commit r2553.
2005-07-27 15:31:49 +00:00
1ed994c819 Undeleted GUI folder, added Stuart's changes.
This was SVN commit r2552.
2005-07-27 15:21:27 +00:00
Fire Giant
d789b86b37 Deleted the GUI folders for Stuart on his request in order to allow him to commit his new code to a clean base.
This was SVN commit r2551.
2005-07-27 00:47:08 +00:00
Fire Giant
973c853672 Deleted the GUI folders for Stuart on his request in order to allow him to commit his new code to a clean base.
This was SVN commit r2550.
2005-07-27 00:43:33 +00:00
88724d5f95 Updated i18n test system
This was SVN commit r2549.
2005-07-26 21:13:52 +00:00
Gee
c6c8bdc6cd Added the <color> tag used in <setup> to setup pre-defined colors. Check docs to see how it's done.
This was SVN commit r2548.
2005-07-25 19:07:06 +00:00
Gee
b1ef166bf3 Added support for customized colors.
This was SVN commit r2547.
2005-07-25 19:06:18 +00:00
Gee
b94c443037 Fixed so that you can have both types of tooltip (other-object 0 delay and pop-up non-zero delay) in the same environment. Haven't tested it that thorough, but hopefully all scenarios are covered.
This was SVN commit r2545.
2005-07-25 05:54:58 +00:00
Gee
f84cfcdf2a Added default to <image size> ("0 0 100% 100%")
This was SVN commit r2543.
2005-07-25 04:48:13 +00:00
0014fe0e27 Temporary animal entities for Matei's RM development.
This was SVN commit r2542.
2005-07-25 03:04:02 +00:00
661114e7a1 This was SVN commit r2540. 2005-07-25 01:31:19 +00:00
Gee
727d2035d3 Changed <icon>'s property 'texture' to 'sprite'. Better late than never. Fixed a bug in the Input rendering code. Minor changes.
This was SVN commit r2539.
2005-07-25 00:52:03 +00:00
Gee
cdfabb9acc Changed <icon>'s property 'texture' to 'sprite'. Better late than never.
This was SVN commit r2538.
2005-07-25 00:50:38 +00:00
Gee
26d44ba616 Changed <icon>'s property 'texture' to 'sprite'. Better late than never.
This was SVN commit r2537.
2005-07-25 00:50:17 +00:00
26d88c5e52 Deleted uppercase version
This was SVN commit r2536.
2005-07-24 21:42:26 +00:00
Gee
4bf9c15ece This was SVN commit r2535. 2005-07-24 15:55:14 +00:00
c6ea4f36bf Changed the file naming convention again, mainly to annoy Jason. :) (I forgot that filenames are meant to be lowercase with underscore separators.)
Experimented with Philip's view-config-variables-workaround.

This was SVN commit r2534.
2005-07-24 14:04:56 +00:00
Gee
b5f6d19332 Lots of minor updates. Touched up the check-box quite a lot.
This was SVN commit r2532.
2005-07-24 08:29:02 +00:00