Permalink
Browse files

* Added exentions.xml and fixed small bug (Thanks to Florian)

  • Loading branch information...
1 parent 51cd51f commit dea643e0971ab978bdd906c999d44c46cf53e20c xaphier committed Sep 7, 2007
Showing with 386 additions and 2 deletions.
  1. +384 −0 extentions.xml
  2. +1 −1 make.defaults
  3. +1 −1 sendvideoinfo.cpp
View
384 extentions.xml
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE extentions SYSTEM "extentions.dtd">
+<extentions>
+ <extention>
+ <name>GL_ARB_multitexture</name>
+ <value>0</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_transpose_matrix</name>
+ <value>1</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_multisample</name>
+ <value>2</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_env_add</name>
+ <value>3</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_cube_map</name>
+ <value>4</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_compression</name>
+ <value>5</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_border_clamp</name>
+ <value>6</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_point_parameters</name>
+ <value>7</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_vertex_blend</name>
+ <value>8</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_env_combine</name>
+ <value>9</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_env_crossbar</name>
+ <value>10</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_env_dot3</name>
+ <value>11</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_mirrored_repeat</name>
+ <value>12</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_depth_texture</name>
+ <value>13</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_shadow</name>
+ <value>14</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_shadow_ambient</name>
+ <value>15</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_window_pos</name>
+ <value>16</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_vertex_program</name>
+ <value>17</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_fragment_program</name>
+ <value>18</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_vertex_buffer_object</name>
+ <value>19</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_occlusion_query</name>
+ <value>20</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_shader_objects</name>
+ <value>21</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_vertex_shader</name>
+ <value>22</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_fragment_shader</name>
+ <value>23</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_shading_language_100</name>
+ <value>24</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_non_power_of_two</name>
+ <value>25</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_point_sprite</name>
+ <value>26</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_fragment_program_shadow</name>
+ <value>27</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_draw_buffers</name>
+ <value>28</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_rectangle</name>
+ <value>29</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_color_buffer_float</name>
+ <value>30</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_half_float_pixel</name>
+ <value>31</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_texture_float</name>
+ <value>32</value>
+ </extention>
+ <extention>
+ <name>GL_ARB_pixel_buffer_object</name>
+ <value>33</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_abgr</name>
+ <value>34</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_blend_color</name>
+ <value>35</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture3D</name>
+ <value>36</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_object</name>
+ <value>37</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_packed_pixels</name>
+ <value>38</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_clip_volume_hint</name>
+ <value>39</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_rescale_normal</name>
+ <value>40</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_vertex_array</name>
+ <value>41</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_blend_minmax</name>
+ <value>42</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_blend_subtract</name>
+ <value>43</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_point_parameters</name>
+ <value>44</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_clip_volume_hint</name>
+ <value>45</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_compiled_vertex_array</name>
+ <value>46</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_draw_range_elements</name>
+ <value>47</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_bgra</name>
+ <value>48</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_separate_specular_color</name>
+ <value>49</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_secondary_color</name>
+ <value>50</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_multi_draw_arrays</name>
+ <value>51</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_fog_coord</name>
+ <value>52</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_env_combine</name>
+ <value>53</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_blend_func_separate</name>
+ <value>54</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_stencil_wrap</name>
+ <value>55</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_env_add</name>
+ <value>56</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_lod_bias</name>
+ <value>57</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_filter_anisotropic</name>
+ <value>58</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_compression_s3tc</name>
+ <value>59</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_env_dot3</name>
+ <value>60</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_shadow_funcs</name>
+ <value>61</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_stencil_two_side</name>
+ <value>62</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_depth_bounds_test</name>
+ <value>63</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_mirror_clamp</name>
+ <value>64</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_pixel_buffer_object</name>
+ <value>65</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_framebuffer_object</name>
+ <value>66</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_packed_depth_stencil</name>
+ <value>67</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_stencil_clear_tag</name>
+ <value>68</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_sRGB</name>
+ <value>69</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_framebuffer_blit</name>
+ <value>70</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_framebuffer_multisample</name>
+ <value>71</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_timer_query</name>
+ <value>72</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_gpu_program_parameters</name>
+ <value>73</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_geometry_shader4</name>
+ <value>74</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_gpu_shader4</name>
+ <value>75</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_draw_instanced</name>
+ <value>76</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_packed_float</name>
+ <value>77</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_array</name>
+ <value>78</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_buffer_object</name>
+ <value>79</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_compression_latc</name>
+ <value>80</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_compression_rgtc</name>
+ <value>81</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_shared_exponent</name>
+ <value>82</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_framebuffer_sRGB</name>
+ <value>83</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_draw_buffers2</name>
+ <value>84</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_bindable_uniform</name>
+ <value>85</value>
+ </extention>
+ <extention>
+ <name>GL_EXT_texture_integer</name>
+ <value>86</value>
+ </extention>
+ <extention>
+ <name>GL_ATI_texture_env_combine3</name>
+ <value>87</value>
+ </extention>
+ <extention>
+ <name>GL_ATI_texture_compression_3dc</name>
+ <value>88</value>
+ </extention>
+ <extention>
+ <name>GL_ATI_fragment_shader</name>
+ <value>89</value>
+ </extention>
+ <extention>
+ <name>GL_NV_texture_env_combine4</name>
+ <value>90</value>
+ </extention>
+ <extention>
+ <name>GL_NV_texture_shader</name>
+ <value>91</value>
+ </extention>
+ <extention>
+ <name>GL_NV_texture_shader2</name>
+ <value>92</value>
+ </extention>
+ <extention>
+ <name>GL_NV_texture_shader3</name>
+ <value>93</value>
+ </extention>
+ <extention>
+ <name>GL_SGIS_generate_mipmap</name>
+ <value>94</value>
+ </extention>
+</extentions>
View
2 make.defaults
@@ -65,7 +65,7 @@ FEATURES += USE_INLINE # enable some optimizations to use i
FEATURES += ZLIB # Enables being able to read gzip compressed files, requires -lzlib/-lz
#FEATURES += ZLIBW # Enables being able to write gzip compressed files, requires -lzlib/-lz needed for map_editor
FEATURES += CXX_MISC # Extended exception, xml c++ helper etc. NEW_FILE_IO and USE_SEND_VIDEO_INFO needs this. The new shader system will also need them
-FEATURES += USE_SEND_VIDEO_INFO # Sends video information to the server (OpenGL version, supported OpenGL extentions etc.). Needs CXX_MISC
+FEATURES += USE_SEND_VIDEO_INFO # Sends video information to the server (OpenGL version, supported OpenGL extentions etc.). This is done only once, so if you don't want it, set video_info_sent to one in el.ini. Needs CXX_MISC and the file extentions.xml in datadir
# Handle feature dependencies:
# if CUSTOM_UPDATE is set, but AUTO_UPDATE isn't, remove CUSTOM_UPDATE
View
2 sendvideoinfo.cpp
@@ -140,7 +140,7 @@ extern "C" void send_video_info()
bit_set_96 caps;
xmlNode *root_element;
xmlDoc *document;
- int i;
+ GLint i;
if (video_info_sent == 0)
{

0 comments on commit dea643e

Please sign in to comment.