Kp
|
84ddd7fcf0
|
Use macros ZERO_VECTOR and IDENTITY_MATRIX for initialization
|
2013-07-02 02:34:19 +00:00 |
|
Kp
|
4bdb7942a7
|
Fix format string conversion mismatches
|
2013-06-29 22:19:17 +00:00 |
|
Kp
|
9d62cee9dc
|
Use diagnostic_message directly
|
2013-06-29 22:19:17 +00:00 |
|
Kp
|
7a1a28cece
|
Add editor_status_fmt for printf status messages
|
2013-06-29 22:19:17 +00:00 |
|
Kp
|
5013c4d749
|
Make diagnostic_message forward directly to editor_status
|
2013-06-28 02:17:40 +00:00 |
|
Kp
|
100255b650
|
Remove unused editor functions
|
2013-06-28 02:17:40 +00:00 |
|
Kp
|
b454954702
|
Remove unused function editor_sub_status
|
2013-06-28 02:17:40 +00:00 |
|
Kp
|
fe88284700
|
Remove unused function print_diagnostic
|
2013-06-28 02:17:40 +00:00 |
|
Kp
|
49b25a83eb
|
Remove unused hostage dialog editor
|
2013-03-24 02:28:34 +00:00 |
|
Kp
|
58892f5c27
|
Add stubs to hide editor reactor differences from D1X
|
2013-03-23 20:03:11 +00:00 |
|
Kp
|
68260da95b
|
Remove unused editor/kgroup.c
|
2013-03-09 21:30:58 +00:00 |
|
Kp
|
2a3524cd66
|
Move segment handling from editor.h
|
2013-03-16 03:10:55 +00:00 |
|
Kp
|
20f5b8d5a9
|
Remove unused editor/macro.c
|
2013-03-09 21:30:58 +00:00 |
|
Kp
|
71f41f0636
|
Remove unused include/i86.h
|
2013-03-09 20:29:20 +00:00 |
|
Kp
|
a81afea7fe
|
Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
|
2012-07-07 18:35:06 +00:00 |
|
Kp
|
f12f4e6737
|
Remove RCS embedded string to synchronize code with D1X
|
2013-02-22 04:32:23 +00:00 |
|
Kp
|
7f5d61c3ed
|
Remove RCS comment to synchronize code with D1X
|
2013-02-22 04:32:14 +00:00 |
|
zicodxx
|
a43f76e7ac
|
Use proper width in format specifier - patch by Kp
|
2013-01-03 17:34:15 +01:00 |
|
zicodxx
|
f4ab2e63af
|
Added dummy %s to prevent formatting untrusted literals - patch by Kp
|
2013-01-03 17:30:42 +01:00 |
|
zicodxx
|
9e9476e89f
|
Fixed argument specifier mismatches flagged by -Wformat - patch by Kp
|
2013-01-03 17:05:10 +01:00 |
|
zicodxx
|
b0393f5ef3
|
medrobot: avoid needless name copy - patch by Kp
|
2013-01-03 17:02:22 +01:00 |
|
zicodxx
|
dc3ce05e1a
|
Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp
|
2013-01-03 16:46:36 +01:00 |
|
zicodxx
|
ea333c7e08
|
Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp
|
2013-01-03 16:15:36 +01:00 |
|
zicodxx
|
ae448d6a5d
|
in g3s_codes renamed or,and to uor,uand - patch by Kp
|
2012-11-02 18:08:58 +01:00 |
|
zicodxx
|
f449e24d69
|
changed extension for archive (addon) content from zip to dxa - still a zip-file but renamed to not accidentially add user generated backups and possibly mess things up
|
2012-06-01 13:04:29 +02:00 |
|
zicodxx
|
6ee7c2f092
|
Removed remnants of the old and obsolete VR implementation
|
2012-05-27 00:24:57 +02:00 |
|
zicodxx
|
66f2045c59
|
using our own functions for strdup and _splitpath with the d_ prefix for all platforms for consistency
|
2012-05-19 02:16:43 +02:00 |
|
zicodxx
|
70287bfde6
|
using our own functions for stricmp, strnicmp, strlwr, strupr, strrev with a d_ prefix for all platforms for consistency
|
2012-05-19 01:36:43 +02:00 |
|
zicodxx
|
6d3782996c
|
Fixed some non-critical compiler warnings; Now compiling with -std=c99 -pedantic and fixed warnings (except for editor build) caused by this
|
2012-05-14 12:20:30 +02:00 |
|
Chris Taylor
|
84bbf2c48e
|
Make a new mission when making a new mine to avoid a crash when testing it straight from the editor and winning, only create a new mine if a mission isn't loaded, init Cursegp to NULL, remove key command for ToggleDrawAllSegments since add segment now has ctrl-A
|
2012-04-17 17:37:15 +08:00 |
|
Chris Taylor
|
ef2df1225d
|
Rename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox
|
2012-04-17 16:11:42 +08:00 |
|
Chris Taylor
|
770080f612
|
Reset the player object for the editor, since demo playback mucks it up
|
2012-04-17 15:13:08 +08:00 |
|
Chris Taylor
|
1fd979a76b
|
Avoid crashes when clicking on close box with a center, switch, object or wall editing dialog open; also when playing a level, going to the editor, going back to the game then dying
|
2012-04-16 14:42:34 +08:00 |
|
Chris Taylor
|
82cce8afb6
|
Make movement in the editor's game screen use the player controls, make that movement more like the automap and resolve some likely conflicting key commands
|
2012-04-16 13:26:55 +08:00 |
|
Chris Taylor
|
27279480ca
|
Create a centers dialog that won't crash
|
2012-04-15 14:14:16 +08:00 |
|
Chris Taylor
|
311f835bf8
|
Clicking on mine elements in the editor now works in ogl
|
2012-04-15 13:45:45 +08:00 |
|
Chris Taylor
|
b20044e14f
|
Set edge_list_size to Num_segments*12 to avoid crashes in the editor with certain third party levels
|
2012-04-15 09:34:06 +08:00 |
|
Chris Taylor
|
71831d308f
|
Set the correct edge colors for editor wireframe drawing (in LargeView)
|
2012-04-14 18:52:06 +08:00 |
|
Chris Taylor
|
96d872adb8
|
Set the correct palette for the editor
|
2012-04-14 18:29:02 +08:00 |
|
Chris Taylor
|
d0544583fd
|
Fix bugs switching between game and editor and back: make sure ModeFlag is set to 0 before it has any chance to show an alert message, fixing a crash; allow OBJ_NONE in Assert; make Game_wind invisible when loading editor in case we show an alert; call mouse_flush() in ui_init() to fix mouse issues
|
2012-04-14 17:42:44 +08:00 |
|
Chris Taylor
|
2ca5303028
|
Delete-E while playing a level now works properly - it closes Game_wind and sets Cursegp if necessary when going to the editor
|
2012-04-14 15:09:21 +08:00 |
|
Chris Taylor
|
372d0f2733
|
Set Gamesave_current_version to correct version when making a new mine, move create_new_mine to gamesave.c
|
2012-04-14 13:46:20 +08:00 |
|
Chris Taylor
|
a6e65196b8
|
Draw the object rotation velocity, file browser and MessageBox dialogs properly
|
2012-04-11 10:52:57 +08:00 |
|
Chris Taylor
|
e7e034b7bd
|
Editor exits cleanly when clicking the close box, no more redundant gr_uscanline call in gl_urect for ogl (an initial attempt to fix the previous bug)
|
2012-04-09 20:41:47 +08:00 |
|
Chris Taylor
|
fba833f773
|
Fix all remaining known editor drawing issues. In ogl: get the texture previews to draw, get userbox borders to draw in the right location, properly underline characters in the menus, draw all the borders properly (i.e. no gap), no scaling fonts. Software render: draw userbox borders again. Both: clear the whole status bar, clear to the right edge of the screen.
|
2012-04-09 17:30:40 +08:00 |
|
Chris Taylor
|
ea2de8cb44
|
Get the clock, 'keypad' info, texture choosing page and object choosing page to draw (latter two just show black squares for ogl)
|
2012-04-09 10:14:10 +08:00 |
|
Chris Taylor
|
fd42ac5cb1
|
Make the editor draw the same for the non-ogl build as the ogl build, since I just made it draw the grey background over everything in the last commit. If you want to see what it's *supposed* to look like, go to yesterday's commit :P
|
2012-03-31 20:25:09 +08:00 |
|
Chris Taylor
|
b937b4e409
|
Make the main stuff (gadgets, two viewers) draw for the editor in ogl, still more tweaking required
|
2012-03-31 18:36:07 +08:00 |
|
Chris Taylor
|
8a250ad48a
|
Make all drawing in the editor single buffered, since the whole screen is double buffered. Fixes crash - but only shows a black screen and the menu for ogl
|
2012-03-31 12:28:01 +08:00 |
|
Chris Taylor
|
4acf60c1c7
|
Draw in response to EVENT_UI_DIALOG_DRAW, uncomment medlisp_update_screen call. You can now see what you're doing
|
2012-03-24 17:19:30 +08:00 |
|