Changeset 1286


Ignore:
Timestamp:
Apr 24, 2012, 1:07:39 AM (11 years ago)
Author:
sam
Message:

orbital: first try at a particle system.

Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/Makefile.am

    r1245 r1286  
    33
    44orbital_SOURCES = \
    5     orbital.cpp orbital.h mesh.h
     5    orbital.cpp orbital.h mesh.h particlesystem.h
    66orbital_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
    77orbital_LDADD =
  • trunk/orbital/mesh.h

    r1284 r1286  
    873873    int m_vert_cursor, m_quadidx_cursor, m_triidx_cursor;
    874874
     875    /* FIXME: put this in a separate class so that we can copy meshes. */
    875876    struct
    876877    {
  • trunk/orbital/orbital.cpp

    r1283 r1286  
    2525#include "orbital.h"
    2626#include "mesh.h"
     27#include "particlesystem.h"
    2728
    2829Orbital::Orbital()
     
    3940    m.SendCommand("sc0.1,0.1,0,1,ab6,6,15,ty-2,sc1,1,1,1,afcb4,5,16,0.4,tx4,mx,fl,sc0.2,0.7,0,1,afcb8,7,10,0.4,tz-4,fl");
    4041
    41     m.SendCommand("scb1,.5,.5,1,acg11,8,12,18,2,2,0,0");
    42     m.SendCommand("t-40,0,30,fl");
     42    new ParticleSystem();
    4343
    4444    m_angle = 0;
  • trunk/orbital/orbital.h

    r1260 r1286  
    33
    44#include "mesh.h"
     5#include "particlesystem.h"
    56
    67class Orbital : public WorldEntity
  • trunk/win32/orbital.vcxproj

    r1245 r1286  
    3030    <ClInclude Include="..\orbital\mesh.h" />
    3131    <ClInclude Include="..\orbital\orbital.h" />
     32    <ClInclude Include="..\orbital\particlesystem.h" />
    3233  </ItemGroup>
    3334  <ItemGroup>
  • trunk/win32/orbital.vcxproj.filters

    r1245 r1286  
    88  </ItemGroup>
    99  <ItemGroup>
     10    <ClInclude Include="..\orbital\particlesystem.h" />
     11  </ItemGroup>
     12  <ItemGroup>
    1013    <ClCompile Include="..\orbital\orbital.cpp" />
    1114  </ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.