Chris Taylor
|
e93c497a47
|
Fix unused variable warning in last commit
|
2012-04-09 20:51:36 +08:00 |
|
Chris Taylor
|
7ef1431885
|
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:40:55 +08:00 |
|
Chris Taylor
|
418e6ab674
|
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:28:44 +08:00 |
|
zicodxx
|
513bd4b231
|
removed redundant definitions of FILENAME_LEN
|
2012-04-07 11:41:14 +02:00 |
|
zicodxx
|
51b6b4e271
|
made code more similar to D2X-Rebirth by introducing open_font which allows to keep track of font_data and free it properly
|
2012-04-07 11:35:38 +02:00 |
|
Chris Taylor
|
c75f1d3937
|
Make sure the ogl font code recognises the editor font is fixed width, fixing a crash; take the plunge and make D1X Rebirth compile with editor for Mac OpenGL build (won't work yet)
|
2012-03-31 11:36:56 +08:00 |
|
Chris Taylor
|
1237649a99
|
Make 2d/font.c more similar between d1x-rebirth and d2x-rebirth
|
2012-03-30 20:35:39 +08:00 |
|
Chris Taylor
|
8b757570d5
|
Update the canvas data pointers for all windows after changing the screen mode, so the main menu draws properly after leaving the editor
|
2012-03-24 14:43:08 +08:00 |
|
zicodxx
|
fb775b35c3
|
Fixed set but unused variables
|
2011-09-27 01:31:17 +02:00 |
|
zicodxx
|
dcc964817e
|
Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content
|
2011-06-01 09:59:51 +02:00 |
|
zicodxx
|
be253a37f2
|
mipmapping was always on for fonts due to changed filtering code in ogl.c
|
2011-05-04 12:18:23 +02:00 |
|
zicodxx
|
43dd6f062e
|
Fixes for RLE- and Texture-cache modifcations: Before freeing now must check if bitmap is already allocated
|
2011-04-22 17:10:31 +02:00 |
|
zicodxx
|
7890015efd
|
Expanded possibilities for level authors: RLE- and Texture-cache accepts textures bigger than 64x64, only limit being Texture width must be equal height; Increased maximum amount of Segments from 900 to 9000 - not dynamically allocating them, yet
|
2011-04-22 10:33:03 +02:00 |
|
zicodxx
|
d7d7661cd6
|
Fix for last revision: Correctly initialize cv_fade_level and cv_blend_func when creating initializing a canvas
|
2011-02-24 00:21:47 +01:00 |
|
zicodxx
|
fe2dd897f7
|
Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
|
2011-02-23 17:46:36 +01:00 |
|
zicodxx
|
45d8b82ab6
|
Additional commit for last revision - didn't selected all files properly
|
2011-01-19 21:51:59 +01:00 |
|
zicodxx
|
c124b0883f
|
Retired most of the Assembler code except the generic i386 scanline renderer; Removed all leftovers of Direct3D implementation; On the way make a some code more similar between D1X-Rebirth and D2X-Rebirth
|
2011-01-19 21:35:14 +01:00 |
|
zicodxx
|
a8f3f4764f
|
Added feature to enable Anisotropic filtering is supported by hardware or driver; Reworked way of handling texture filtering information so ingame switching is possible again; Little fix for ogl_get_verinfo which was taken out for ordinary OGL code but should for OGLES
|
2011-01-16 01:50:28 +01:00 |
|
zicodxx
|
31d17380ec
|
Added different reticle types with RGBA and size settings; Apply RGBA and size to FlightSim Indicator; Added Brightness Slider to Graphics options menu; Added OpenGL usage for gr_disk
|
2011-01-10 16:12:00 +01:00 |
|
zicodxx
|
a68da514b6
|
Rewrote code to control Texture Filtering a little so it's easier to apply Mipmaps for different parts of the game independently; Made Movie Filtering a menu option which must be enabled seperately; Added Movie Subtitles toggle to misc game options
|
2010-09-02 13:55:28 +00:00 |
|
kreatordxx
|
9e4b8db5f6
|
Show stars background for died in mine and secret level messageboxes; equalise fuelcen.h and cntrlcen.h
|
2010-07-27 11:41:43 +00:00 |
|
zicodxx
|
7dc638f0b6
|
For gr_get_string_size introduced get_char_width_f to calculate with floats to measure non-integer font scalings; Cleanup
|
2010-07-01 09:03:52 +00:00 |
|
zicodxx
|
e4a0c20f76
|
Introducing gr_bitblt_find_transparent_area to dynamically detect boundaries of sub cancas used for CM_REAR_VIEW; On the way also allowing to create weapon box sub bitmaps from uncompressed cockpit bitmaps
|
2010-06-18 07:31:06 +00:00 |
|
zicodxx
|
75bc8beed1
|
Renaming FSCALE to FIXSCALE preventing possible naming conflicts
|
2009-12-01 16:45:40 +00:00 |
|
zicodxx
|
88f0fdc562
|
Fixed missing define introduced in the last revision
|
2009-11-30 23:18:51 +00:00 |
|
zicodxx
|
75062a8d96
|
Making files in 2d directory more similar and removed unused and broken code; Fixing a bunch of memory errors; Removed stack protecting flag for gcc in debug mode
|
2009-11-30 22:42:55 +00:00 |
|
kreatordxx
|
33fb9fc7eb
|
Fix Mac OS 9 compile issues, update Xcode project
|
2008-12-21 08:54:03 +00:00 |
|
zicodxx
|
aee0198f2e
|
Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup
|
2008-11-14 16:56:40 +00:00 |
|
zicodxx
|
cf147bcd4c
|
Scale fonts by float values and filter them if texture filtering is on; Another fix for the code flow in change_res() as the check for minimal custom resolution always failed
|
2008-10-29 11:03:31 +00:00 |
|
kiplingw
|
75227cf100
|
Added: Some notes regarding the warning raised in main/newdemo.c...
Fixed: Warning in 2d/pcx.c...
|
2008-07-27 22:12:19 +00:00 |
|
kreatordxx
|
0866c3c66c
|
Add BALDGUY cheat for Mac data (see if anyone finds it ;-) )
|
2008-07-15 12:50:27 +00:00 |
|
zicodxx
|
a172315d4a
|
Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes
|
2008-04-06 20:23:28 +00:00 |
|
zicodxx
|
f014231a78
|
Simplification of palette code; Properly screen clearing in SDL-only build when palette changes; Removed obsolete functions like gr_update (replaced by gr_flip), gr_palette_fade_in/out, gr_palette_clear; Added functionality to render Automap while menu display as well; Improved blocking of some controls code while Automap active; Fixed some compiler warnings
|
2008-03-20 23:23:46 +00:00 |
|
kreatordxx
|
032018ccc4
|
add support for Mac pigfile (which doesn't include sounds yet)
|
2008-03-16 08:11:08 +00:00 |
|
zicodxx
|
02cb47e7c1
|
Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup
|
2008-02-27 22:05:58 +00:00 |
|
zicodxx
|
8eb5c965d2
|
Reworked fonts routines - makes easier to expand and scale correctly; Reworked menus with better border scaling, improved rendering and cleanups; Improved font priniting ingame, better alignment; Reworked Netgame list; Real Doublebuffering in SDL-mode; Removed old and unused sources
|
2008-02-24 14:41:27 +00:00 |
|
kreatordxx
|
deba7709ce
|
fix name conflict 'FSCALE' on Mac OS X
|
2008-01-24 10:34:31 +00:00 |
|
zicodxx
|
d9e23370f9
|
Implemented PhysFS support; Implemended D2X memory functions; Code cleanups
|
2008-01-23 17:25:09 +00:00 |
|
kreatordxx
|
7719e5afe0
|
make special characters print for platforms where a char is signed by default
|
2008-01-13 02:10:40 +00:00 |
|
kreatordxx
|
0837b91f53
|
complete bigendian support, without touching network code
|
2008-01-13 00:58:49 +00:00 |
|
zicodxx
|
091526789e
|
Added BigEndian-related multiplayer/network code (unfinished); Re-Added IPX Socket option to Host menu for IPX games; Removed ForceVersionCheck global - conditions with driver->type; Merged netmisc.* and netpkt.*; Handling host disconnect for UDP games in network.c
|
2008-01-08 16:33:19 +00:00 |
|
kreatordxx
|
2ac1559a8b
|
get D1X to build for Mac OS X, conditionals for Mac OS 9
|
2008-01-03 10:31:02 +00:00 |
|
kreatordxx
|
588d1b000a
|
rename types.h to pstypes.h to avoid name conflict with Mac OS 9's MrC (it doesn't respect the difference between project and system headers)
|
2008-01-02 03:37:13 +00:00 |
|
zicodxx
|
60e30cb40a
|
Small fixes; Code cleanup; Implemented PR-Screenshot feature
|
2007-10-18 14:44:02 +00:00 |
|
md2211
|
d393f32eed
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
bbf30c223c
|
Removed handicapping remnants, Removed -msgcolorlevel, color names in Multi-messages to Player- or Team-color
|
2007-09-05 17:31:05 +00:00 |
|
zicodxx
|
74a03f70ff
|
Fixed embedded color strings
|
2007-09-03 11:21:00 +00:00 |
|
zicodxx
|
46c785f3fc
|
Fixed some mem-leaks; Made show_fullscr() use ogl_ubitmapm_cs(); Removed use of glScissor for menus - using Blitting; Code cleanup
|
2007-08-27 23:01:34 +00:00 |
|
zicodxx
|
e274230e38
|
Cleaned up more FindArg's - Networking Options; Some fixes
|
2007-07-16 02:34:51 +00:00 |
|
zicodxx
|
9440769b45
|
small code cleanup; improved texture caching in menus to save RAM
|
2007-06-15 12:32:44 +00:00 |
|